Messaging user interface for capture and transfer of media and location content
Through a simplified messaging user interface and touch-sensitive surface gesture detection, the problem of inefficient media and location information sharing in electronic devices is solved, enabling fast, low-energy information sharing.
Patent Information
- Application Number
- CN202110744381.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2014-09-30
- Filing Date
- 2015-05-22
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2035-05-22
AI Technical Summary
When the existing technology uses electronic devices to share media and location information, the user interface is complex and inefficient, resulting in a waste of user time and device energy.
By developing a simplified messaging user interface on electronic devices that utilizes touch-sensitive surfaces and displays to detect gestures and contact locations, media and location information can be quickly captured and sent with fewer user input steps.
It improves the efficiency of media and location information sharing, reduces user cognitive load and device power consumption, and simplifies the operation process.
Smart Images

Figure CN113485551B_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with international application number PCT / US2015 / 032309, international application date May 22, 2015, date of entry into the Chinese national phase November 30, 2016, and national application number 201580029071.7.
[0002] CROSS-REFERENCE TO RELATED APPLICATIONS
[0003] This patent application claims priority to U.S. Provisional Patent Application Serial No. 62 / 006,071, filed on May 31, 2014, entitled “MESSAGE USER INTERFACES FOR CAPTURE AND TRANSMITTAL OF MEDIA AND LOCATION CONTENT,” U.S. Provisional Patent Application Serial No. 62 / 047,622, filed on September 8, 2014, entitled “MESSAGE USER INTERFACES FOR CAPTURE AND TRANSMITTAL OF MEDIA AND LOCATION CONTENT,” U.S. Provisional Patent Application Serial No. 14 / 503,376, filed on September 30, 2014, entitled “MESSAGE USER INTERFACES FOR CAPTURE AND TRANSMITTAL OF MEDIA AND LOCATION CONTENT,” and U.S. Provisional Patent Application Serial No. 14 / 503,376, filed on September 30, 2014, entitled “MESSAGE USER INTERFACES FOR CAPTURE AND TRANSMITTAL OF MEDIA AND LOCATION CONTENT.” No. 14 / 503,386, filed on September 30, 2014, entitled “MESSAGE USER INTERFACES FOR CAPTURE AND TRANSMITTAL OF MEDIA AND LOCATION CONTENT”. The contents of these patent applications are hereby incorporated by reference in their entirety for all purposes.
[0004] This patent application is related to: U.S. Patent Application No. 13 / 153,374, filed on June 3, 2011, entitled “MOTION PATTERN CLASSIFICATION AND GESTURE RECOGNITION”; and U.S. Patent Application Serial No. 13 / 153,335, filed on June 3, 2011, entitled “MOTION-BASED DEVICE OPERATIONS”. The contents of these patent applications are hereby incorporated by reference in their entirety for all purposes. Technical Field
[0005] Examples disclosed herein generally relate to user interfaces for electronic devices. Background Art
[0006] Messages may include various media, such as audio, video, or images. Some systems may require the user to launch a media application external to the message application in order to capture, transfer, and view the media. In addition, including media in a message may require the user to perform multiple steps to capture content, including the captured content in the message, and send the message to the recipient. The recipient may then need to perform multiple steps or explicitly launch a separate media application to play back or view the content. Summary of the invention
[0007] In addition to sharing media, users may also wish to easily share their location information with one or more other users from within a messaging application, or initiate an audio operation for communicating. It would be desirable to have a messaging user interface that supports quickly capturing media and location information and sending the media and location information to one or more recipients in a message, or initiating an audio operation.
[0008] However, some techniques for sharing media and location information using electronic devices are often cumbersome and inefficient. For example, to the extent that sharing media and / or location information is supported, the prior art uses complex and time-consuming user interfaces that may include multiple keystrokes or keystrokes. The prior art requires more time than necessary, thereby wasting user time and device energy. This latter consideration is particularly important in battery-powered devices.
[0009] In some embodiments, a method for capturing and sending media from within a messaging application includes: at an electronic device having a touch-sensitive surface and a display: displaying a media enable representation and a message area on the display for displaying messages to be sent between participants in a messaging session; detecting a gesture on the touch-sensitive surface, including detecting contact at a location on the touch-sensitive surface corresponding to a location of the media enable representation on the display; in response to detecting the contact: displaying a send enable representation on the display; detecting a continuation of the gesture, including detecting movement of the contact across the touch-sensitive surface followed by detecting lifting of the contact from the touch-sensitive surface; determining whether the contact moves to a location on the touch-sensitive surface corresponding to the location of the send enable representation on the display; and based on determining that the contact moves to a location on the touch-sensitive surface corresponding to the location of the send enable representation and in response to detecting the lift-off, sending media captured in response to at least a portion of the gesture to the participants in the messaging session.
[0010] In some embodiments, a method for capturing and sending video from within a messaging application includes: at an electronic device having a touch-sensitive surface and a display: displaying on the display a media enable representation and a message area for displaying messages sent between participants in a messaging session; detecting a first input on the touch-sensitive surface, wherein the first input corresponds to a location of the media enable representation on the display; in response to detecting the first input, displaying a record enable representation and a send enable representation; detecting a second input on the touch-sensitive surface, wherein the second input corresponds to a location of the record enable representation on the display; in response to detecting the second input, starting recording video; detecting a third input on the touch-sensitive surface, wherein the third input corresponds to a location of the send enable representation on the display; and in response to detecting the third input: sending the recorded video to the participants and removing the send enable representation and the record enable representation from the display.
[0011] In some embodiments, a method for capturing, sending, and playing an audio message from within a messaging application includes: at an electronic device having a touch-sensitive surface and a display: displaying a representation of a first audio message received from a first participant in a messaging conversation; detecting a request to play the first audio message; in response to detecting the request, playing the first audio message; after playing the first audio message, detecting lift of the device; in response to detecting lift of the device, recording a second audio message; and after recording the second audio message, sending a second audio message to the first participant.
[0012] In some embodiments, a method for grouping messages for display in a conversation includes: at an electronic device including a touch-sensitive surface and a display: receiving multiple messages from a first participant within a time interval; determining whether the multiple messages meet message grouping criteria; based on determining that the multiple messages do not meet the message grouping criteria, displaying multiple independent defined message areas for representing the multiple messages; and based on determining that the multiple messages meet the message grouping criteria, displaying a single group of defined message areas for representing the multiple messages.
[0013] In some embodiments, a method for deleting a cutoff message from a messaging conversation includes: at an electronic device including a touch-sensitive surface and a display: receiving a first message; displaying a representation of the first message on the display, wherein the first message is scheduled to be deleted when a cutoff criterion is met; displaying an enable representation for retaining the first message; retaining the first message based on determining that the enable representation is selected before the cutoff criterion is met; and ceasing to display the representation of the first message on the display based on determining that the cutoff criterion is met without detecting a selection of the enable representation.
[0014] In some embodiments, a method for sharing location information includes: at an electronic device including a touch-sensitive surface and a display: displaying a message area on the display for displaying messages sent between a first participant and a second participant in a messaging conversation; displaying a shared location enable indication for sharing the location of a first participant with a second participant when the location changes over at least a predetermined time period; detecting a selection of the shared location enable indication; and in response to detecting the selection of the shared location enable indication: providing information to the second participant so that the second participant can determine the current location of the first participant during at least the predetermined time period.
[0015] In some embodiments, a method for adding media to a conversation includes: at an electronic device having a camera sensor, a touch-sensitive surface, and a display: displaying a message area on the display for displaying a messaging conversation; receiving a request for adding media to the messaging conversation; in response to receiving the request, simultaneously displaying a media selection interface with at least a portion of the messaging conversation, wherein the media selection interface includes a plurality of enable representations for selecting media to be added to the messaging conversation, at least a subset of the plurality of enable representations including thumbnail representations of media to be added to the messaging conversation; detecting a selection of a corresponding enable representation from the plurality of enable representations; and in response to detecting the selection of the corresponding enable representation, selecting the corresponding media to be added to the messaging conversation.
[0016] In some embodiments, a method for initiating an audio operation includes: at an electronic device including a microphone: detecting a change in a device context based on movement of the electronic device and one or more proximity sensor readings; in response to detecting the change in the device context: determining whether the device satisfies an audio operation standard, wherein the audio operation standard includes a standard that is satisfied when movement of the electronic device satisfies a movement standard and one or more proximity sensor readings satisfy a proximity standard; and initiating an audio operation based on determining that the change in the device context satisfies the audio operation standard; and abandoning initiating the audio operation based on determining that the change in the device context does not satisfy the audio operation standard.
[0017] In some embodiments, a method for sending an audio message includes: at an electronic device including at least one microphone: detecting one or more conditions that are interpreted as a request to record an audio message for a designated contact; in response to detecting the one or more conditions, generating an audio recording using the at least one microphone; determining whether the audio recording satisfies rejection criteria; based on determining that the rejection criteria is not met, sending the audio recording to the designated contact; and based on determining that the rejection criteria is met, abandoning sending the audio recording to the designated contact.
[0018] In some embodiments, a method for capturing and sending media includes: at an electronic device having a touch-sensitive surface and a display: displaying a media affordance, a message composition field, and a messaging session between participants on the display, wherein the messaging session is displayed in a messaging area; detecting contact at a location on the touch-sensitive surface corresponding to a location of the media affordance on the display; in response to detecting the contact, displaying a live media preview in the messaging session field; detecting lifting of the contact from the touch-sensitive surface; in response to detecting the lift-off, capturing a new image based on the live media preview; and sending the captured image to the participants in the messaging session. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1A is a block diagram showing a portable multifunction device with a touch-sensitive display according to some embodiments.
[0020] Figure 1B is a block diagram illustrating example components for event processing according to some embodiments.
[0021] Figure 2 A portable multifunction device with a touch screen according to some embodiments is shown.
[0022] Figure 3 is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface according to some embodiments.
[0023] Figure 4AAn exemplary user interface for an application menu on a portable multifunction device according to some embodiments is shown.
[0024] Figure 4B An exemplary user interface is shown for a multifunction device having a touch-sensitive surface separate from the display according to some embodiments.
[0025] Figure 5A A personal electronic device according to some embodiments is shown.
[0026] Figure 5B is a block diagram illustrating a personal electronic device according to some embodiments.
[0027] Figure 6A-6B An exemplary messaging user interface is shown according to some embodiments.
[0028] Figure 6C-6D An exemplary messaging user interface is shown according to some embodiments.
[0029] Figure 7A-7B An exemplary messaging user interface is shown according to some embodiments.
[0030] Figure 7C-D An exemplary messaging user interface is shown according to some embodiments.
[0031] Figure 8 An exemplary messaging user interface is shown according to some embodiments.
[0032] Figure 9A-9B An exemplary messaging user interface is shown according to some embodiments.
[0033] Figure 10A-10B An exemplary messaging user interface is shown according to some embodiments.
[0034] Figure 11A-11B An exemplary messaging user interface is shown according to some embodiments.
[0035] Figure 11C-11E An exemplary messaging user interface is shown according to some embodiments.
[0036] Figure 11F-11G An exemplary messaging user interface is shown according to some embodiments.
[0037] Figure 12A-12B An exemplary messaging user interface is shown according to some embodiments.
[0038] Figure 13A-13C An exemplary messaging user interface is shown according to some embodiments.
[0039] Fig.14 An exemplary messaging user interface is shown according to some embodiments.
[0040] Figure 15A-15B An exemplary messaging user interface is shown according to some embodiments.
[0041] Figure 16A-16B An exemplary messaging user interface is shown according to some embodiments.
[0042] Figure 17A-Figure 17C An exemplary messaging user interface is shown according to some embodiments.
[0043] Figures 18A-18C An exemplary messaging user interface is shown according to some embodiments.
[0044] Figure 19A-19B An exemplary messaging user interface is shown according to some embodiments.
[0045] Figure 19C-Figure 19D An exemplary messaging user interface is shown according to some embodiments.
[0046] Fig. 20 An exemplary messaging user interface is shown according to some embodiments.
[0047] Figure 21A-21B An exemplary messaging user interface is shown according to some embodiments.
[0048] Figure 22A-22C An exemplary messaging user interface is shown according to some embodiments.
[0049] Fig.22D An exemplary messaging user interface is shown according to some embodiments.
[0050] Figure 23A-23C An exemplary messaging user interface is shown according to some embodiments.
[0051] Figure 24A-Figure 24C An exemplary messaging user interface is shown according to some embodiments.
[0052] Figure 25A-25B An exemplary messaging user interface is shown according to some embodiments.
[0053] Figure 25C-Figure 25E An exemplary messaging user interface is shown according to some embodiments.
[0054] Fig.26 An exemplary messaging user interface is shown according to some embodiments.
[0055] Figure 27A-27CAn exemplary messaging user interface is shown according to some embodiments.
[0056] Figure 28A-28C An exemplary messaging user interface is shown according to some embodiments.
[0057] Figure 29A-29C An exemplary messaging user interface is shown according to some embodiments.
[0058] Fig.30 An exemplary messaging user interface is shown according to some embodiments.
[0059] Fig.31 An exemplary messaging user interface is shown according to some embodiments.
[0060] Figure 32A-Figure 32C An exemplary messaging user interface is shown according to some embodiments.
[0061] Fig.33 is a flow chart illustrating a process for capturing and sending media according to some embodiments.
[0062] Fig.34 is a flow chart illustrating a process for capturing and sending media according to some embodiments.
[0063] Fig.35 is a flow chart illustrating a process for capturing and sending media according to some embodiments.
[0064] Fig.36 is a flowchart illustrating a process for grouping messages according to some embodiments.
[0065] Fig.37 is a flowchart illustrating a process for managing messages based on cutoff criteria according to some embodiments.
[0066] Fig.38 is a flowchart illustrating a process for sharing location information according to some embodiments.
[0067] Fig.39 is a flowchart illustrating a process for adding media to a session according to some embodiments.
[0068] Fig.40 is a flowchart showing a process for initiating audio operations according to some embodiments.
[0069] Figure 41A-41B is a flowchart showing a process for initiating audio operations according to some embodiments.
[0070] Figure 42A-42Bis a flowchart showing a process for initiating audio operations according to some embodiments.
[0071] Figure 43A-43C is a flowchart showing a process for initiating audio operations according to some embodiments.
[0072] Figure 44A-Figure 44B is a flowchart showing a process for initiating audio operations according to some embodiments.
[0073] Fig.44C is a flowchart showing a process for initiating audio operations according to some embodiments.
[0074] Figure 45A-Figure 45B is a flowchart showing a process for initiating audio operations according to some embodiments.
[0075] Fig.45C is a flowchart showing a process for initiating audio operations according to some embodiments.
[0076] Fig.46 is a flowchart illustrating a process for sending an audio recording according to some embodiments.
[0077] Figure 47A-47B is a flowchart illustrating a process for sending an audio recording according to some embodiments.
[0078] Figure 47C-Figure 47D is a flowchart illustrating a process for sending an audio recording according to some embodiments.
[0079] Figure 48A-48B is a flowchart illustrating a process for sending an audio recording according to some embodiments.
[0080] Fig.49 is a flow chart illustrating a process for capturing and sending media according to some embodiments.
[0081] Fig.50 A functional block diagram of an electronic device according to some embodiments is shown.
[0082] Fig.51 A functional block diagram of an electronic device according to some embodiments is shown.
[0083] Fig.52 A functional block diagram of an electronic device according to some embodiments is shown.
[0084] Fig.53 A functional block diagram of an electronic device according to some embodiments is shown.
[0085] Fig.54A functional block diagram of an electronic device according to some embodiments is shown.
[0086] Fig.55 A functional block diagram of an electronic device according to some embodiments is shown.
[0087] Fig.56 A functional block diagram of an electronic device according to some embodiments is shown.
[0088] Fig.57 A functional block diagram of an electronic device according to some embodiments is shown.
[0089] Fig.58 A functional block diagram of an electronic device according to some embodiments is shown.
[0090] Fig.59 A functional block diagram of an electronic device according to some embodiments is shown. DETAILED DESCRIPTION
[0091] The following description sets forth exemplary methods, parameters, etc. However, it should be appreciated that such description is not intended to limit the scope of the present disclosure, but is provided as a description of exemplary embodiments.
[0092] Electronic devices need to have faster, more efficient methods and interfaces for capturing, sending, and playing media content or location data on portable electronic devices. For example, a user interface that enables a user to capture and send media content from within a messaging application can reduce the number of inputs required to share such content and reduce the cognitive burden on users participating in a messaging session, thereby increasing productivity. In addition, such techniques can reduce processor power and battery power that would otherwise be wasted on redundant user input.
[0093] under, Figure 1A-1B , Figure 2 , Figure 3 , Figure 4A-4B , Figure 5A-Figure 5B and Figure 50-Figure 59 A description of exemplary devices for performing techniques for capturing, transmitting, and playing or viewing media objects or location content is provided. Figure 6A-Figure 32C An exemplary user messaging user interface for capturing, sending, playing or viewing media objects or location content and sending recorded audio messages is shown. Figure 33-Figure 49 is a flow chart illustrating a method of capturing, sending and playing or viewing media and location content, grouping messages for display, removing cutoff messages from a conversation, initiating audio operations, and sending recorded messages.
[0094] Although the following description uses the terms "first", "second", etc. to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another element. For example, a first touch can be named a second touch and similarly a second touch can be named a first touch without departing from the scope of the various described embodiments. Both the first touch and the second touch are touches, but they are not the same touch.
[0095] The terms used in the description of various embodiments described herein are only for the purpose of describing specific embodiments, and are not intended to be limiting. As used in the description of various embodiments described and in the appended claims, the singular forms "a", "an" and "the" are intended to also include plural forms, unless the context clearly indicates otherwise. It will also be understood that the term "and / or" used herein refers to and encompasses any and all possible combinations of one or more items in the items listed in association. It will also be understood that the term "includes", "including", "comprises" and / or "comprising" when used in this specification specifies the presence of stated features, integers, steps, operations, elements and / or parts, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or their grouping.
[0096] Depending on the context, the term "if" may be interpreted to mean "when" or "upon" or "in response to determining" or "in response to detecting." Similarly, the phrases "if it is determined that ..." or "if [a stated condition or event] is detected" may be interpreted to mean "upon determining that ..." or "in response to determining that ..." or "upon detecting [a stated condition or event]" or "in response to detecting [a stated condition or event]," depending on the context.
[0097] Embodiments of electronic devices, user interfaces for such devices, and associated processes for using such devices are described herein. In some embodiments, the device is a portable communication device such as a mobile phone that also includes other functions such as a PDA and / or a music player function. Exemplary embodiments of portable multifunction devices include, but are not limited to, the Apple Watch from Apple Inc. (Cupertino, California). Devices, iPod Equipment and Device. Other portable electronic devices such as laptops or tablets with touch-sensitive surfaces (e.g., touch screen displays and / or touch pads) are optionally used. It should also be understood that in some embodiments, the device is not a portable communication device, but a desktop computer with a touch-sensitive surface (e.g., touch screen displays and / or touch pads).
[0098] In the following discussion, an electronic device including a display and a touch-sensitive surface is described. However, it should be understood that the electronic device optionally includes one or more other physical user interface devices, such as a physical keyboard, a mouse, and / or a joystick. The device can support a variety of applications, such as one or more of the following applications: a drawing application, a presentation application, a word processing application, a website creation application, a disk editing application, a spreadsheet application, a game application, a telephone application, a video conferencing application, an email application, an instant messaging application, a fitness support application, a photo management application, a digital camera application, a digital video camera application, a web browsing application, a digital music player application, and / or a digital video player application.
[0099] Various applications executing on the device optionally use at least one common physical user interface device such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the device are optionally adjusted and / or varied from one application to the next and / or within a respective application. In this way, a common physical architecture of the device (such as a touch-sensitive surface) optionally supports a variety of applications with a user interface that is intuitive and clear to the user.
[0100] Attention is now directed to embodiments of portable devices having touch-sensitive displays. Figure 1Ais a block diagram showing a portable multifunction device 100 with a touch-sensitive display system 112 according to some embodiments. The touch-sensitive display 112 is sometimes referred to as a "touch screen" for convenience, and may sometimes be referred to as or referred to as a "touch-sensitive display system." The device 100 includes a memory 102 (which optionally includes one or more computer-readable storage media), a memory controller 122, one or more processing units (CPUs) 120, a peripheral device interface 118, an RF circuit 108, an audio circuit 110, a speaker 111, a microphone 113, an input / output (I / O) subsystem 106, other input control devices 116, and an external port 124. The device 100 optionally includes one or more optical sensors 164. The device 100 optionally includes one or more contact force sensors 165 for detecting the intensity of contact on the device 100 (e.g., a touch-sensitive surface, such as the touch-sensitive display system 112 of the device 100). Device 100 optionally includes one or more tactile output generators 167 for generating tactile output on device 100 (e.g., generating tactile output on a touch-sensitive surface such as touch-sensitive display system 112 of device 100 or touch pad 355 of device 300). These components optionally communicate via one or more communication buses or signal lines 103.
[0101] As used in this specification and claims, the term "intensity" of a contact on a touch-sensitive surface refers to the force or pressure (force per unit area) of a contact (e.g., a finger contact) on the touch-sensitive surface, or to a surrogate (surrogate) of the force or pressure of a contact on the touch-sensitive surface. The intensity of a contact has a range of values that includes at least four different values and more typically includes hundreds of different values (e.g., at least 256). The intensity of a contact is optionally determined (or measured) using various methods and various sensors or combinations of sensors. For example, one or more force sensors below or adjacent to the touch-sensitive surface are optionally used to measure the force at different points on the touch-sensitive surface. In some implementations, force measurements from multiple force sensors are combined (e.g., a weighted average) to determine an estimated contact force. Similarly, the pressure-sensitive tip of a stylus is optionally used to determine the pressure of the stylus on the touch-sensitive surface. Alternatively, the size of the contact area detected on the touch-sensitive surface and / or its change, the capacitance of the touch-sensitive surface adjacent to the contact and / or its change, and / or the resistance of the touch-sensitive surface adjacent to the contact and / or its change are optionally used as a substitute for the force or pressure of the contact on the touch-sensitive surface. In some embodiments, the substitute measurement of the contact force or pressure is used directly to determine whether an intensity threshold has been exceeded (e.g., the intensity threshold is described in units corresponding to the substitute measurement). In some embodiments, the substitute measurement of the contact force or pressure is converted into an estimated force or pressure, and the estimated force or pressure is used to determine whether an intensity threshold has been exceeded (e.g., the intensity threshold is a pressure threshold measured in units of pressure). Using the intensity of the contact as an attribute of the user input allows the user to access additional device functions that would otherwise be inaccessible to the user on a smaller device with limited real estate, which is used to display an enable indication (e.g., on a touch-sensitive display) and / or receive user input (e.g., via a touch-sensitive display, touch-sensitive surface, or physical / mechanical controls, such as knobs or buttons).
[0102] As used in this specification and claims, the term "tactile output" refers to a physical displacement of a device relative to a previous position of the device, a physical displacement of a component of the device (e.g., a touch-sensitive surface) relative to another component of the device (e.g., a housing), or a displacement of a component relative to the center of mass of the device, which will be detected by a user using the user's sense of touch. For example, in the case where a device or a component of the device is in contact with a user's touch-sensitive surface (e.g., a finger, palm, or other part of the user's hand), the tactile output generated by the physical displacement will be interpreted by the user as a tactile sensation corresponding to a perceived change in a physical characteristic of the device or component of the device. For example, movement of a touch-sensitive surface (e.g., a touch-sensitive display or trackpad) is optionally interpreted by the user as a "press click" or "release click" to a physical actuation button. In some cases, the user will feel a tactile sensation such as a "press click" or "release click" even when the physical actuation button associated with the touch-sensitive surface that is physically pressed (e.g., displaced) by the user's movement does not move. As another example, movement of a touch-sensitive surface is, optionally, interpreted or sensed by a user as "roughness" of the touch-sensitive surface, even when there is no change in the smoothness of the touch-sensitive surface. While such interpretation of touch by a user will be limited by the user's individualized sensory perceptions, there are many sensory perceptions of touch that are common to most users. Thus, when a tactile output is described as corresponding to a particular sensory perception of a user (e.g., "press click," "release click," "roughness"), unless otherwise stated, the tactile output generated corresponds to a physical displacement of the device or a component thereof that would generate a sensory perception of a typical (or average) user.
[0103] It should be understood that device 100 is only one example of a portable multifunction device, and that device 100 optionally has more or fewer components than shown, optionally combines two or more components, or optionally has a different configuration or arrangement of the components. Figure 1A The various components shown in the EMBODIMENTS 2000 are implemented in hardware, software, or a combination of hardware and software, including one or more signal processing circuits and / or application specific integrated circuits.
[0104] The memory 102 may include one or more computer-readable storage media. The computer-readable storage media may be tangible and non-transitory. The memory 102 may include high-speed random access memory, and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state memory devices. The memory controller 122 may control other components of the device 100 to access the memory 102.
[0105] The peripheral device interface 118 can be used to couple the input peripheral devices and output peripheral devices of the device to the CPU 120 and the memory 102. The one or more processors 120 run or execute various software programs and / or instruction sets stored in the memory 102 to perform various functions of the device 100 and process data. In some embodiments, the peripheral device interface 118, the CPU 120, and the memory controller 122 can be implemented on a single chip such as the chip 104. In some other embodiments, they can be implemented on separate chips.
[0106] RF (radio frequency) circuit 108 receives and transmits RF signals, also called electromagnetic signals. RF circuit 108 converts electrical signals into / converts electromagnetic signals into electrical signals, and communicates with communication networks and other communication devices via electromagnetic signals. RF circuit 108 optionally includes well-known circuits for performing these functions, including but not limited to antenna systems, RF transceivers, one or more amplifiers, tuners, one or more oscillators, digital signal processors, codec chipsets, user identity modules (SIM) cards, memory, etc. RF circuit 108 optionally communicates with networks and other devices through wireless communications, such as the Internet (also known as the World Wide Web (WWW)), intranets, and / or wireless networks (such as cellular telephone networks, wireless local area networks (LANs), and / or metropolitan area networks (MANs)). RF circuit 108 optionally includes well-known circuits for detecting near field communication (NFC) fields, such as by detecting through a short-range communication radio component. The wireless communication optionally uses any of a variety of communication standards, protocols and technologies, including, but not limited to, Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), High Speed Downlink Packet Access (HSDPA), High Speed Uplink Packet Access (HSUPA), Evolution, Data-Only (EV-DO), HSPA, HSPA+, Dual Cell HSPA (DC-HSPDA), Long Term Evolution (LTE), Near Field Communication (NFC), Wideband Code Division Multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Bluetooth, Bluetooth Low Energy (BTLE), Wireless Fidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, IEEE 802.11d), IEEE 802.11e, IEEE 802.11f, IEEE 802.11g, IEEE 802.11n and / or IEEE 802.11ac), Voice over Internet Protocol (VoIP), Wi-MAX, email protocols (e.g., Internet Message Access Protocol (IMAP) and / or Post Office Protocol (POP)), instant messaging (e.g., Extensible Messaging and Presence Protocol (XMPP), Session Initiation Protocol for Instant Messaging and Presence Utilizing Extensions (SIMPLE), Instant Messaging and Presence Service (IMPS)), and / or Short Message Service (SMS), or any other suitable communication protocol including communication protocols that have not been developed as of the filing date of this document.
[0107] The audio circuit 110, the speaker 111, and the microphone 113 provide an audio interface between the user and the device 100. The audio circuit 110 receives audio data from the peripheral device interface 118, converts the audio data into electrical signals, and transmits the electrical signals to the speaker 111. The speaker 111 converts the electrical signals into sound waves audible to humans. The audio circuit 110 also receives electrical signals converted from sound waves by the microphone 113. The audio circuit 110 converts the electrical signals into audio data and transmits the audio data to the peripheral device interface 118 for processing. The audio data can be retrieved from the memory 102 and / or the RF circuit 108 by the peripheral device interface 118 and / or transmitted to the memory 102 and / or the RF circuit 108. In some embodiments, the audio circuit 110 also includes a headphone jack (e.g., Figure 2 The headset jack provides an interface between the audio circuit 110 and a removable audio input / output peripheral device, such as an output-only headset or a headset with both output (e.g., a single-ear headset or a dual-ear headset) and input (e.g., a microphone).
[0108] The I / O subsystem 106 couples input / output peripherals on the device 100, such as a touch screen 112 and other input control devices 116, to a peripheral device interface 118. The I / O subsystem 106 optionally includes a display controller 156, an optical sensor controller 158, an intensity sensor controller 159, a tactile feedback controller 161, and one or more input controllers 160 for other input or control devices. The one or more input controllers 160 receive / send electrical signals from other input control devices 116. Other input control devices 116 optionally include physical buttons (e.g., push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels, and the like. In some alternative embodiments, one or more input controllers 160 are optionally coupled to any (or none) of the following: a keyboard, an infrared port, a USB port, and a pointer device such as a mouse. One or more buttons (e.g., Figure 2 208) optionally includes an up / down button for volume control of the speaker 111 and / or the microphone 113. The one or more buttons optionally include a push button (e.g., Figure 2 206).
[0109] A quick press of the push button may unlock the touch screen 112 or begin the process of using gestures on the touch screen to unlock the device, as described in U.S. Patent Application 11 / 322,549, entitled "Unlocking a Device by Performing Gestures on an Unlock Image," filed on December 23, 2005, and U.S. Patent Application No. 7,657,849, which are hereby incorporated by reference in their entirety. A longer press of the push button (e.g., 206) may turn the device 100 on or off. The user may customize the functionality of one or more buttons. The touch screen 112 is used to implement virtual or soft buttons and one or more soft keyboards.
[0110] The touch-sensitive display 112 provides an input interface and an output interface between the device and the user. The display controller 156 receives electrical signals from the touch screen 112 and / or sends electrical signals to the touch screen 112. The touch screen 112 displays visual output to the user. The visual output may include graphics, text, icons, videos, and any combination thereof (collectively referred to as "graphics"). In some embodiments, some or all of the visual output may correspond to user interface objects.
[0111] The touch screen 112 has a touch-sensitive surface, sensor, or sensor group that accepts input from a user based on haptic and / or tactile contact. The touch screen 112 and display controller 156 (together with any associated modules and / or instruction sets in memory 102) detect contact (and any movement or interruption of the contact) on the touch screen 112 and convert the detected contact into interaction with a user interface object (e.g., one or more soft keys, icons, web pages, or images) displayed on the touch screen 112. In an exemplary embodiment, the point of contact between the touch screen 112 and the user corresponds to a finger of the user.
[0112] The touch screen 112 may use LCD (liquid crystal display) technology, LPD (light emitting polymer display) technology, or LED (light emitting diode) technology, although other display technologies may be used in other embodiments. The touch screen 112 and display controller 156 may use any of a variety of touch sensing technologies now known or later developed, including but not limited to capacitive technology, resistive technology, infrared technology, and surface acoustic wave technology, as well as other proximity sensor arrays or other elements for determining one or more points of contact with the touch screen 112 to detect contact and any movement or interruption thereof. In an exemplary embodiment, projected mutual capacitance sensing technology is used, such as that available from Apple Inc. (Cupertino, California). and iPod Technology found in.
[0113] The touch-sensitive display in some embodiments of the touch screen 112 can be similar to the multi-touch-sensitive touch pad described in the following U.S. Patents: 6,323,846 (Westerman et al.), 6,570,557 (Westerman et al.), and / or 6,677,932 (Westerman); and / or U.S. Patent Publication 2002 / 0015024A1, each of which is hereby incorporated by reference in its entirety. However, the touch screen 112 displays visual output from the device 100, while the touch-sensitive touch pad does not provide visual output.
[0114] The touch-sensitive display in some embodiments of the touch screen 112 may be described as in the following patent applications: (1) U.S. patent application No. 11 / 381,313, entitled “Multipoint Touch Surface Controller,” filed on May 2, 2006; (2) U.S. patent application No. 10 / 840,862, entitled “Multipoint Touchscreen,” filed on May 6, 2004; (3) U.S. patent application No. 10 / 903,964, entitled “Gestures For Touch Sensitive Input Devices,” filed on July 30, 2004; (4) U.S. patent application No. 11 / 048,264, entitled “Gestures For Touch Sensitive Input Devices,” filed on January 31, 2005; (5) U.S. patent application No. 11 / 086,964, entitled “Mode-Based Graphical User Interfaces For Touch Sensitive Input Devices,” filed on January 18, 2005 and (9) U.S. patent application No. 11 / 367,749, filed on March 3, 2006, entitled “Multi-Functional Hand-Held Device.” All of these patent applications are hereby incorporated by reference in their entirety.
[0115] The touch screen 112 may have a video resolution of more than 100 dpi. In some embodiments, the touch screen has a video resolution of about 160 dpi. The user may use any suitable object or appendage such as a stylus, finger, etc. to contact the touch screen 112. In some embodiments, the user interface is designed to work primarily with finger-based contacts and gestures, which may not be as precise as stylus-based input due to the larger contact area of a finger on the touch screen. In some embodiments, the device translates rough finger-based input into precise pointer / cursor positions or commands for performing the actions desired by the user.
[0116] In some embodiments, in addition to the touch screen, the device 100 may include a touch pad (not shown) for activating or deactivating specific functions. In some embodiments, the touch pad is a touch-sensitive area of the device that, unlike the touch screen, does not display visual output. The touch pad can be a touch-sensitive surface separate from the touch screen 112, or an extension of the touch-sensitive surface formed by the touch screen.
[0117] The device 100 also includes a power system 162 for powering the various components. The power system 162 may include a power management system, one or more power sources (e.g., batteries, alternating current (AC)), a recharging system, a power fault detection circuit, a power converter or inverter, a power status indicator (e.g., a light emitting diode (LED)), and any other components associated with the generation, management, and distribution of power in a portable device.
[0118] Device 100 may also include one or more optical sensors 164 . Figure 1A An optical sensor coupled to an optical sensor controller 158 in the I / O subsystem 106 is shown. The optical sensor 164 may include a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The optical sensor 164 receives light projected through one or more lenses from the environment and converts the light into data representing an image. In conjunction with the imaging module 143 (also referred to as a camera module), the optical sensor 164 can capture static images or videos. In some embodiments, the optical sensor is located on the rear of the device 100 opposite to the touch screen display 112 on the front of the device, so that the touch screen display can be used as a viewfinder for static images and / or video image acquisition. In some embodiments, the optical sensor is located at the front of the device so that the image of the user can be obtained when the user views other video conference participants on the touch screen display for video conferencing. In some embodiments, the position of the optical sensor 164 can be changed by the user (e.g., by rotating the lens and sensor in the device housing) so that a single optical sensor 164 can be used with the touch screen display for both video conferencing and static image and / or video image acquisition.
[0119] Device 100 optionally also includes one or more contact intensity sensors 165 . Figure 1A A contact force sensor is shown coupled to a force sensor controller 159 in the I / O subsystem 106. Contact force sensor 165 optionally includes one or more piezoresistive strain gauges, capacitive force sensors, electrical force sensors, piezoelectric force sensors, optical force sensors, capacitive touch-sensitive surfaces, or other force sensors (e.g., sensors for measuring the force (or pressure) of contact on a touch-sensitive surface). Contact force sensor 165 receives contact force information (e.g., pressure information or a surrogate for pressure information) from the environment. In some embodiments, at least one contact force sensor is juxtaposed or adjacent to a touch-sensitive surface (e.g., touch-sensitive display system 112). In some embodiments, at least one contact force sensor is located on the rear of device 100 opposite to touch screen display 112 located on the front of device 100.
[0120] Device 100 may also include one or more proximity sensors 166 . Figure 1A A proximity sensor 166 is shown coupled to the peripherals interface 118. Alternatively, the proximity sensor 166 can be coupled to the input controller 160 in the I / O subsystem 106. The proximity sensor 166 can be implemented as described in the following U.S. patent applications: 11 / 241,839, entitled "Proximity Detector In Handheld Device"; 11 / 240,788, entitled "Proximity Detector In Handheld Device"; 11 / 620,702, entitled "Using Ambient Light Sensor To Augment Proximity Sensor Output"; 11 / 586,862, entitled "Automated Response To And Sensing Of User Activity In Portable Devices"; and 11 / 638,251, entitled "Methods And Systems For Automatic Configuration Of Peripherals", which are hereby incorporated by reference in their entirety. In some embodiments, when the multifunction device is placed near the user's ear (e.g., when the user is on a phone call), the proximity sensor turns off and disables the touch screen 112.
[0121] Device 100 optionally also includes one or more tactile output generators 167 . Figure 1AA tactile output generator coupled to a tactile feedback controller 161 in the I / O subsystem 106 is shown. The tactile output generator 167 optionally includes one or more electroacoustic devices such as a speaker or other audio component; and / or an electromechanical device for converting energy into linear motion such as a motor, solenoid, electroactive polymer, piezoelectric actuator, electrostatic actuator, or other tactile output generating component (e.g., a component for converting an electrical signal into a tactile output on the device). The contact force sensor 165 receives tactile feedback generation instructions from the tactile feedback module 133 and generates a tactile output on the device 100 that can be sensed by a user of the device 100. In some embodiments, at least one tactile output generator is arranged in parallel or adjacent to a touch-sensitive surface (e.g., a touch-sensitive display system 112) and optionally generates tactile output by moving the touch-sensitive surface vertically (e.g., inward / outward of the surface of the device 100) or laterally (e.g., backward and forward in the same plane as the surface of the device 100). In some embodiments, at least one tactile output generator sensor is located on a rear portion of the device 100 opposite the touch screen display 112 located on the front portion of the device 100.
[0122] Device 100 may also include one or more accelerometers 168 . Figure 1A An accelerometer 168 is shown coupled to the peripheral device interface 118. Alternatively, the accelerometer 168 may be coupled to the input controller 160 in the I / O subsystem 106. The accelerometer 168 may be implemented as described in the following U.S. Patent Publications: 20050190059, entitled "Acceleration-based Theft Detection System for Portable Electronic Devices" and 20060017692, entitled "Methods And Apparatuses For Operating A Portable Device Based On An Accelerometer", both of which are incorporated herein by reference in their entirety. In some embodiments, information is displayed in a portrait view or a landscape view on the touch screen display based on analysis of data received from the one or more accelerometers. The device 100 optionally includes a magnetometer (not shown) and a GPS (or GLONASS or other global navigation system) receiver (not shown) in addition to the one or more accelerometers 168 for obtaining information about the position and orientation (e.g., portrait or landscape) of the device 100.
[0123] In some embodiments, the software components stored in memory 102 include an operating system 126, a communication module (or instruction set) 128, a contact / motion module (or instruction set) 130, a graphics module (or instruction set) 132, a text input module (or instruction set) 134, a global positioning system (GPS) module (or instruction set) 135, and an application (or instruction set) 136. In addition, in some embodiments, memory 102 ( Figure 1A ) or 370( Figure 3 ) storage device / global internal state 157, such as Figure 1A ,and Figure 3 . The device / global internal state 157 includes one or more of the following: an active application state indicating which applications, if any, are currently active; a display state indicating what applications, views, or other information occupy various areas of the touch screen display 112; a sensor state including information obtained from the device's various sensors and input control devices 116; and position information regarding the device's position and / or posture.
[0124] The operating system 126 (e.g., Darwin, RTXC, LINUX, UNIX, OS X, iOS, WINDOWS, or an embedded operating system such as VxWorks) includes various software components and / or drivers for controlling and managing general system tasks (e.g., memory management, storage device control, power management, etc.), and facilitating communication between various hardware components and software components.
[0125] The communication module 128 facilitates communication with other devices through one or more external ports 124 and also includes various software components for processing data received by the RF circuit 108 and / or the external port 124. The external port 124 (e.g., Universal Serial Bus (USB), FireWire, etc.) is suitable for coupling directly to other devices or indirectly through a network (e.g., the Internet, wireless LAN, etc.). In some embodiments, the external port is connected to (trademark of Apple Inc.) devices.
[0126] The contact / motion module 130 optionally detects contact with the touch screen 112 (in conjunction with the display controller 156) and other touch-sensitive devices (e.g., a touchpad or physical click wheel). The contact / motion module 130 includes various software components for performing various operations related to contact detection, such as determining whether contact has occurred (e.g., detecting a finger press event), determining the strength of the contact (e.g., the force or pressure of the contact, or a substitute for the force or pressure of the contact), determining whether there is movement of the contact and tracking the movement on the touch-sensitive surface (e.g., detecting one or more finger drag events), and determining whether the contact has stopped (e.g., detecting a finger lift event or contact disconnection). The contact / motion module 130 receives contact data from the touch-sensitive surface. Determining the movement of a contact point optionally includes determining a rate (magnitude), a velocity (magnitude and direction), and / or an acceleration (change in magnitude and / or direction) of the contact point, the movement of which is represented by a series of contact data. These operations are optionally applied to a single point of contact (e.g., a single finger contact) or multiple points of simultaneous contact (e.g., "multi-touch" / multi-finger contact). In some embodiments, the contact / motion module 130 and display controller 156 detect contact on the touch pad.
[0127] In some embodiments, the contact / motion module 130 uses a set of one or more intensity thresholds to determine whether an operation has been performed by a user (e.g., to determine whether a user has "clicked" an icon). In some embodiments, at least a subset of the intensity thresholds are determined based on software parameters (e.g., the intensity thresholds are not determined by the activation thresholds of specific physical actuators and can be adjusted without changing the physical hardware of the device 100). For example, without changing the touchpad or touchscreen display hardware, the mouse "click" threshold of the touchpad or touchscreen can be set to any one of a large range of predefined thresholds. In addition, in some specific implementations, a software setting is provided to the user of the device for adjusting one or more intensity thresholds in a set of intensity thresholds (e.g., by adjusting individual intensity thresholds and / or by utilizing a system-level click on an "intensity" parameter to adjust multiple intensity thresholds at once).
[0128] The contact / motion module 130 optionally detects gesture input by the user. Different gestures on the touch-sensitive surface have different contact patterns (e.g., different motions, timings, and / or intensities of the detected contacts). Therefore, gestures are optionally detected by detecting specific contact patterns. For example, detecting a finger tap gesture includes detecting a finger press event, and then detecting a finger lift (lift-off) event at the same location (or substantially the same location) as the finger press event (e.g., at the location of an icon). As another example, detecting a finger swipe gesture on the touch-sensitive surface includes detecting a finger press event, then detecting one or more finger drag events, and then detecting a finger lift (lift-off) event.
[0129] The graphics module 132 includes various known software components for rendering and displaying graphics on the touch screen 112 or other display, including components for changing the visual impact (e.g., brightness, transparency, saturation, contrast, or other visual characteristics) of the displayed graphics. As used herein, the term "graphics" includes any object that can be displayed to a user, including but not limited to text, web pages, icons (such as user interface objects including soft keys), digital images, videos, animations, etc.
[0130] In some embodiments, the graphics module 132 stores data to be used to represent graphics. Each graphic is optionally assigned a corresponding code. The graphics module 132 receives one or more codes for specifying the graphics to be displayed from an application program, etc., and also receives coordinate data and other graphic attribute data together if necessary, and then generates screen image data to be output to the display controller 156.
[0131] Haptic feedback module 133 includes various software components for generating instructions used by one or more tactile output generators 167 to generate tactile output at one or more locations on device 100 in response to user interaction with device 100 .
[0132] Text input module 134, which may be a component of graphics module 132, provides a soft keyboard for entering text in a variety of applications (eg, contacts 137, email 140, instant messaging 141, browser 147, and any other application requiring text input).
[0133] The GPS module 135 determines the location of the device and provides such information for use in various applications (e.g., to the phone 138 for location-based dialing; to the camera 143 as picture / video metadata; and to applications that provide location-based services such as weather widgets, local yellow pages widgets, and maps / navigation widgets).
[0134] Application 136 may include the following modules (or instruction sets) or a subset or superset thereof:
[0135] Contacts module 137 (sometimes called an address book or contact list);
[0136] Telephone module 138;
[0137] Video conferencing module 139;
[0138] Email client module 140;
[0139] Instant messaging (IM) module 141;
[0140] Fitness support module 142;
[0141] A camera module 143 for still images and / or video images;
[0142] Image management module 144;
[0143] Video player module;
[0144] Music player module;
[0145] Browser module 147;
[0146] Calendar module 148;
[0147] A widget module 149, which may include one or more of the following: a weather widget 149-1, a stock widget 149-2, a calculator widget 149-3, an alarm widget 149-4, a dictionary widget 149-5, and other widgets acquired by the user and a widget 149-6 created by the user;
[0148] A widget creator module 150 for forming a user-created widget 149-6;
[0149] Search module 151;
[0150] Video and music player module 152, which merges the video player module and the music player module;
[0151] Notepad module 153;
[0152] Map module 154; and / or
[0153] Online video module 155.
[0154] Examples of other applications 136 that may be stored in memory 102 include other word processing applications, other image editing applications, drawing applications, rendering applications, JAVA-enabled applications, encryption, digital rights management, voice recognition, and voice replication.
[0155] In conjunction with the touch screen 112, display controller 156, touch / motion module 130, graphics module 132, and text input module 134, the contact module 137 can be used to manage an address book or contact list (e.g., stored in the application internal state 192 of the contact module 137 in memory 102 or memory 370), including: adding one or more names to the address book; deleting one or more names from the address book; associating one or more telephone numbers, one or more email addresses, one or more physical addresses, or other information with a name; associating an image with a name; categorizing and classifying names; providing a telephone number or email address to initiate and / or facilitate communications via telephone 138, video conferencing module 139, email 140, or IM 141; and the like.
[0156] In conjunction with RF circuit 108, audio circuit 110, speaker 111, microphone 113, touch screen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, phone module 138 may be used to input a character sequence corresponding to a phone number, access one or more phone numbers in contact module 137, modify an inputted phone number, dial a corresponding phone number, conduct a conversation, and disconnect or hang up when the conversation is complete. As described above, wireless communication may use any of a number of communication standards, protocols, and technologies.
[0157] In combination with the RF circuit 108, the audio circuit 110, the speaker 111, the microphone 113, the touch screen 112, the display controller 156, the optical sensor 164, the optical sensor controller 158, the contact / motion module 130, the graphics module 132, the text input module 134, the contact module 137 and the telephone module 138, the video conferencing module 139 includes executable instructions for initiating, conducting and terminating a video conference between a user and one or more other participants in accordance with user instructions.
[0158] In conjunction with RF circuit 108, touch screen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, email client module 140 includes executable instructions for creating, sending, receiving, and managing emails in response to user instructions. In conjunction with image management module 144, email client module 140 makes it very easy to create and send emails with still images or video images captured by camera module 143.
[0159] In conjunction with the RF circuit 108, the touch screen 112, the display controller 156, the contact / motion module 130, the graphics module 132, and the text input module 134, the instant messaging module 141 includes executable instructions for performing the following operations: inputting a character sequence corresponding to an instant message, modifying previously input characters, transmitting a corresponding instant message (e.g., using a short message service (SMS) or multimedia message service (MMS) protocol for telephone-based instant messaging or using XMPP, SIMPLE, or IMPS for Internet-based instant messaging), receiving instant messages, and viewing received instant messages. In some embodiments, the transmitted and / or received instant messages may include graphics, photos, audio files, video files, and / or other attachments supported in MMS and / or enhanced messaging services (EMS). As used herein, "instant messaging" refers to both telephone-based messages (e.g., messages transmitted using SMS or MMS) and Internet-based messages (e.g., messages transmitted using XMPP, SIMPLE, or IMPS).
[0160] In combination with the RF circuit 108, the touch screen 112, the display controller 156, the contact / motion module 130, the graphics module 132, the text input module 134, the GPS module 135, the map module 154, and the music player module, the fitness support module 142 includes executable instructions for performing the following operations: creating a fitness (e.g., with time, distance and / or calorie burn goals); communicating with fitness sensors (sports equipment); receiving fitness sensor data; calibrating sensors for monitoring fitness; selecting fitness music and playing it; and displaying, storing and transmitting fitness data.
[0161] In conjunction with the touch screen 112, display controller 156, one or more optical sensors 164, optical sensor controller 158, touch / motion module 130, graphics module 132, and image management module 144, the camera module 143 includes executable instructions for capturing still images or videos (including video streams) and storing them in memory 102, modifying characteristics of still images or videos, or deleting still images or videos from memory 102.
[0162] In conjunction with touch screen 112, display controller 156, touch / motion module 130, graphics module 132, text input module 134, and camera module 143, image management module 144 includes executable instructions for arranging, modifying (e.g., editing), or otherwise manipulating, labeling, deleting, presenting (e.g., in a digital slideshow or album), and storing still images and / or video images.
[0163] In combination with the RF circuit 108, the touch screen 112, the display controller 156, the touch / motion module 130, the graphics module 132 and the text input module 134, the browser module 147 includes executable instructions for browsing the Internet in accordance with user instructions (including searching, linking to, receiving, and displaying web pages or portions thereof, as well as attachments and other files linked to web pages).
[0164] In combination with the RF circuit system 108, the touch screen 112, the display controller 156, the touch / motion module 130, the graphics module 132, the text input module 134, the email client module 140 and the browser module 147, the calendar module 148 includes executable instructions for creating, displaying, modifying and storing calendars and data associated with the calendar (e.g., calendar entries, to-do items, etc.) in accordance with user instructions.
[0165] In conjunction with the RF circuit system 108, the touch screen 112, the display controller 156, the contact / motion module 130, the graphics module 132, the text input module 134, and the browser module 147, the desktop widget module 149 is a mini-application that can be downloaded and used by the user (e.g., the weather desktop widget 149-1, the stock desktop widget 149-2, the calculator desktop widget 149-3, the alarm desktop widget 149-4, and the dictionary desktop widget 149-5) or a mini-application created by the user (e.g., the user-created desktop widget 149-6). In some embodiments, the desktop widget includes an HTML (Hypertext Markup Language) file, a CSS (Cascading Style Sheets) file, and a JavaScript file. In some embodiments, the desktop widget includes an XML (Extensible Markup Language) file and a JavaScript file (e.g., the Yahoo! desktop widget).
[0166] In combination with the RF circuit 108, the touch screen 112, the display controller 156, the touch / motion module 130, the graphics module 132, the text input module 134 and the browser module 147, the desktop widget creator module 150 can be used by users to create desktop widgets (for example, to transfer a user-specified portion of a web page to a desktop widget).
[0167] In combination with the touch screen 112, display controller 156, contact / motion module 130, graphics module 132 and text input module 134, the search module 151 includes executable instructions for searching the memory 102 for text, music, sound, images, videos and / or other files that match one or more search conditions (e.g., one or more user-specified search terms) in accordance with user instructions.
[0168] In conjunction with touch screen 112, display controller 156, contact / motion module 130, graphics module 132, audio circuitry 110, speaker 111, RF circuitry 108, and browser module 147, video and music player module 152 includes executable instructions that allow a user to download and play back recorded music and other sound files stored in one or more file formats (such as MP3 or AAC files), as well as executable instructions for displaying, presenting, or otherwise playing back video (e.g., on touch screen 112 or on an external display connected via external port 124). In some embodiments, device 100 optionally includes the functionality of an MP3 player such as an iPod (trademark of Apple Inc.).
[0169] In conjunction with the touch screen 112, display controller 156, contact / motion module 130, graphics module 132 and text input module 134, the notepad module 153 includes executable instructions for creating and managing notes, to-do lists, etc. according to user instructions.
[0170] In combination with RF circuitry 108, touch screen 112, display controller 156, touch / motion module 130, graphics module 132, text input module 134, GPS module 135, and browser module 147, map module 154 may be used to receive, display, modify, and store maps and data associated with the maps (e.g., driving directions, data relating to stores and other points of interest at or near a particular location, and other location-based data) in accordance with user instructions.
[0171] In conjunction with touch screen 112, display controller 156, contact / motion module 130, graphics module 132, audio circuit 110, speaker 111, RF circuit 108, text input module 134, email client module 140, and browser module 147, online video module 155 includes instructions that allow a user to access, browse, receive (e.g., by streaming and / or downloading), play back (e.g., on the touch screen or on an external display connected via external port 124), send an email with a link to a specific online video, and otherwise manage online videos in one or more file formats such as H.264. In some embodiments, instant messaging module 141 is used instead of email client module 140 to send a link to a specific online video. Additional description of the online video application can be found in U.S. Provisional Patent Application No. 60 / 936,562, filed on June 20, 2007, entitled “Portable Multifunction Device, Method, and Graphical User Interface for Playing Online Videos,” and U.S. Patent Application No. 11 / 968,067, filed on December 31, 2007, entitled “Portable Multifunction Device, Method, and Graphical User Interface for Playing Online Videos,” the contents of which are hereby incorporated by reference in their entirety.
[0172] Each of the modules and applications described above corresponds to an executable instruction set for performing one or more of the functions described above and the methods described in this patent application (e.g., the computer-implemented methods and other information processing methods described herein). These modules (e.g., instruction sets) do not have to be implemented as separate software programs, processes, or modules, and therefore various subsets of these modules may be combined or otherwise rearranged in various embodiments. For example, a video player module may be combined with a music player module into a single module (e.g., Figure 1A In some embodiments, memory 102 may store a subset of the modules and data structures identified above. In addition, memory 102 may store additional modules and data structures not described above.
[0173] In some embodiments, the device 100 is a device that performs operations of a predefined set of functions on the device solely through a touch screen and / or a touch pad. By using a touch screen and / or a touch pad as the primary input control device for the operation of the device 100, the number of physical input control devices (such as push buttons, dials, etc.) on the device 100 can be reduced.
[0174] The predefined set of functions performed exclusively through the touch screen and / or touchpad optionally includes navigating between user interfaces. In some embodiments, the touchpad, when touched by the user, navigates the device 100 from any user interface displayed on the device 100 to a main menu, a home menu, or a root menu. In such embodiments, a touchpad is used to implement a "menu button." In some other embodiments, the menu button is a physical push button or other physical input control device, rather than a touchpad.
[0175] Figure 1B is a block diagram illustrating exemplary components for event processing according to some embodiments. In some embodiments, memory 102 ( Figure 1A ) or memory 370( Figure 3 ) includes an event classifier 170 (e.g., in an operating system 126) and a corresponding application 136-1 (e.g., any of the aforementioned applications 137-151, 155, 380-390). The event classifier 170 receives event information and determines the application 136-1 and the application view 191 of the application 136-1 to which the event information is to be delivered. The event classifier 170 includes an event monitor 171 and an event distributor module 174. In some embodiments, the application 136-1 includes an application internal state 192, which indicates one or more current application views displayed on the touch-sensitive display 112 when the application is active or executing. In some embodiments, the device / global internal state 157 is used by the event classifier 170 to determine which application(s) is currently active, and the application internal state 192 is used by the event classifier 170 to determine the application view 191 to which the event information is to be delivered.
[0176] In some embodiments, the application internal state 192 includes additional information, such as one or more of the following: resumption information to be used when the application 136-1 resumes execution, user interface state information indicating information being displayed by the application 136-1 or information ready to be displayed by the application 136-1, a state queue for enabling a user to return to a previous state or view of the application 136-1, and a repeat / undo queue of previous actions taken by the user.
[0177] Event monitor 171 receives event information from peripherals interface 118. Event information includes information about sub-events (e.g., a user touch on touch-sensitive display 112 as part of a multi-touch gesture). Peripherals interface 118 transmits information it receives from I / O subsystem 106 or sensors (such as proximity sensor 166), one or more accelerometers 168, and / or microphone 113 (through audio circuit 110). The information that peripherals interface 118 receives from I / O subsystem 106 includes information from touch-sensitive display 112 or a touch-sensitive surface.
[0178] In some embodiments, event monitor 171 sends requests to peripheral device interface 118 at predetermined intervals. In response, peripheral device interface 118 transmits event information. In other embodiments, peripheral device interface 118 transmits event information only when there is a significant event (e.g., receiving an input above a predetermined noise threshold and / or receiving an input exceeding a predetermined duration). In some embodiments, event classifier 170 also includes hit view determination module 172 and / or activity event identifier determination module 173.
[0179] When the touch-sensitive display 112 displays more than one view, the hit view determination module 172 provides software procedures for determining where within one or more views a sub-event has occurred. A view consists of controls and other elements that a user can see on the display.
[0180] Another aspect of the user interface associated with an application is a set of views, sometimes also referred to herein as application views or user interface windows, in which information is displayed and touch-based gestures occur. The application views (of the respective application) in which a touch is detected may correspond to a programmatic level within a programmatic or view hierarchy of the application. For example, the lowest level view in which a touch is detected is optionally called a hit view, and the set of events recognized as correct input is determined at least in part based on the hit view of the initial touch that initiated the touch-based gesture.
[0181] Hit view determination module 172 receives information related to sub-events of touch-based gestures. When an application has multiple views organized in a hierarchy, hit view determination module 172 identifies the hit view as the lowest view in the hierarchy where the sub-events should be processed. In most cases, the hit view is the lowest level view in which the initiating sub-event (e.g., the first sub-event in a sequence of sub-events that form an event or potential event) occurs. Once a hit view is identified by hit view determination module 172, the hit view typically receives all sub-events related to the same touch or input source for which it was identified as the hit view.
[0182] Active event recognizer determination module 173 determines which view or views within the view hierarchy should receive a particular sequence of sub-events. In some embodiments, active event recognizer determination module 173 determines that only the hit view should receive a particular sequence of sub-events. In other embodiments, active event recognizer determination module 173 determines that all views that include the physical location of the sub-event are actively participating views, and therefore determines that all actively participating views should receive a particular sequence of sub-events. In other embodiments, even if a touch sub-event is completely confined to an area associated with one particular view, views higher in the hierarchy will still remain actively participating views.
[0183] Event distributor module 174 distributes event information to event recognizers (e.g., event recognizers 180). In embodiments including active event recognizer determination module 173, event distributor module 174 delivers the event information to the event recognizers determined by active event recognizer determination module 173. In some embodiments, event distributor module 174 stores the event information in an event queue, which is retrieved by corresponding event receivers 182.
[0184] In some embodiments, operating system 126 includes event classifier 170. Alternatively, application 136-1 includes event classifier 170. In another embodiment, event classifier 170 is a standalone module or a part of another module (such as contact / motion module 130) stored in memory 102.
[0185] In some embodiments, application 136-1 includes multiple event handlers 190 and one or more application views 191, each of which includes instructions for handling touch events occurring within a corresponding view of the user interface of the application. Each application view 191 of application 136-1 includes one or more event recognizers 180. Typically, the corresponding application view 191 includes multiple event recognizers 180. In other embodiments, one or more application views in event recognizer 180 are part of an independent module, such as a user interface toolkit (not shown) or a higher level object from which application 136-1 inherits methods and other properties. In some embodiments, the corresponding event handler 190 includes one or more of the following: data updater 176, object updater 177, GUI updater 178, and / or event data 179 received from event classifier 170. Event handler 190 can utilize or call data updater 176, object updater 177, or GUI updater 178 to update application internal state 192. Alternatively, one or more of the application views in application view 191 include one or more corresponding event handlers 190. Additionally, in some embodiments, one or more of data updater 176, object updater 177, and GUI updater 178 are included in the corresponding application view 191.
[0186] The corresponding event identifier 180 receives event information (e.g., event data 179) from the event classifier 170 and identifies the event from the event information. The event identifier 180 includes an event receiver 182 and an event comparator 184. In some embodiments, the event identifier 180 also includes at least a subset of the following: metadata 183, and event delivery instructions 188 (which may include sub-event delivery instructions).
[0187] Event receiver 182 receives event information from event classifier 170. Event information includes information about sub-events such as touches or touch movements. Depending on the sub-event, the event information also includes additional information, such as the location of the sub-event. When the sub-event involves the movement of a touch, the event information may also include the rate and direction of the sub-event. In some embodiments, the event includes the device rotating from one orientation to another (e.g., from a portrait orientation to a landscape orientation, or vice versa), and the event information includes corresponding information about the current orientation of the device (also referred to as the device posture).
[0188] Event comparator 184 compares event information with predefined event or sub-event definitions, and determines an event or sub-event based on the comparison, or determines or updates the state of an event or sub-event. In some embodiments, event comparator 184 includes event definition 186. Event definition 186 includes the definition of an event (e.g., a predefined sequence of sub-events), such as event 1 (187-1), event 2 (187-2), and other events. In some embodiments, sub-events in event 187 include, for example, touch start, touch end, touch move, touch cancel, and multi-touch. In one example, the definition of event 1 (187-1) is a double-click on a displayed object. For example, a double-click includes a first touch (touch start) of a predetermined duration on a displayed object, a first lift (touch end) of a predetermined duration, a second touch (touch start) of a predetermined duration on a displayed object, and a second lift (touch end) of a predetermined duration. In another example, the definition of event 2 (187-2) is a drag on a displayed object. For example, dragging includes a touch (or contact) of a predetermined duration on a displayed object, movement of the touch on the touch-sensitive display 112, and lifting of the touch (end of touch). In some embodiments, the event also includes information for one or more associated event handlers 190.
[0189] In some embodiments, event definition 187 includes definitions of events for corresponding user interface objects. In some embodiments, event comparator 184 performs a hit test to determine which user interface object is associated with a sub-event. For example, in an application view displaying three user interface objects on touch display 112, when a touch is detected on touch-sensitive display 112, event comparator 184 performs a hit test to determine which of the three user interface objects is associated with the touch (sub-event). If each displayed object is associated with a corresponding event handler 190, the event comparator uses the result of the hit test to determine which event handler 190 should be activated. For example, event comparator 184 selects an event handler associated with the sub-event and the object that triggered the hit test.
[0190] In some examples, the definition of the corresponding event (187) also includes a delay action that delays delivery of the event information until it has been determined whether the sequence of sub-events does or does not correspond to the event type of the event identifier.
[0191] When a corresponding event recognizer 180 determines that a sequence of sub-events does not match any event in event definition 186, the corresponding event recognizer 180 enters an event not possible, event failed, or event ended state, after which subsequent sub-events of the touch-based gesture are ignored. In this case, other event recognizers (if any) that remain active for the hit view continue to track and process sub-events of the ongoing touch-based gesture.
[0192] In some embodiments, the corresponding event identifier 180 includes metadata 183 with configurable properties, flags, and / or lists for indicating how the event delivery system should perform sub-event delivery to actively participating event identifiers. In some embodiments, metadata 183 includes configurable properties, flags, and / or lists for indicating how event identifiers interact or can interact with each other. In some embodiments, metadata 183 includes configurable properties, flags, and / or lists for indicating whether sub-events are delivered to different levels in a view or programmatic hierarchy.
[0193] In some embodiments, when one or more specific sub-events of an event are identified, the corresponding event recognizer 180 activates an event handler 190 associated with the event. In some embodiments, the corresponding event recognizer 180 delivers event information associated with the event to the event handler 190. Activating the event handler 190 is different from sending (and deferred sending) the sub-events to the corresponding hit view. In some embodiments, the event recognizer 180 throws a tag associated with the identified event, and the event handler 190 associated with the tag obtains the tag and performs a predefined process.
[0194] In some embodiments, event delivery instructions 188 include sub-event delivery instructions that deliver event information about a sub-event without activating an event handler. Instead, the sub-event delivery instructions deliver the event information to an event handler associated with a sub-event string or to an actively participating view. An event handler associated with a sub-event sequence or with an actively participating view receives the event information and executes a predetermined process.
[0195] In some embodiments, data updater 176 creates and updates data used in application 136-1. For example, data updater 176 updates phone numbers used in contact module 137 or stores video files used in video player module. In some embodiments, object updater 177 creates and updates objects used in application 136-1. For example, object updater 177 creates new user interface objects or updates the position of user interface objects. GUI updater 178 updates the GUI. For example, GUI updater 178 prepares display information and sends it to graphics module 132 for display on a touch-sensitive display.
[0196] In some embodiments, one or more event handlers 190 include or have access to data updater 176, object updater 177, and GUI updater 178. In some embodiments, data updater 176, object updater 177, and GUI updater 178 are included in a single module of the corresponding application 136-1 or application view 191. In other embodiments, they are included in two or more software modules.
[0197] It should be understood that the above discussion of event processing for user touches on a touch-sensitive display also applies to other forms of user input that utilize input devices to operate the multifunction device 100, not all of which are initiated on the touch screen. For example, mouse movement and mouse button presses, optionally combined with single or multiple keyboard presses or holds; contact movement on a touch pad, such as taps, drags, scrolls, etc.; stylus input; movement of the device; verbal commands; detected eye movement; biometric input; and / or any combination thereof as input corresponding to a sub-event to define an event to be recognized.
[0198] Figure 2A portable multifunction device 100 with a touch screen 112 according to some embodiments is shown. The touch screen optionally displays one or more graphics within a user interface (UI) 200. In this embodiment and in other embodiments described below, a user is enabled to select one or more of the graphics by, for example, making gestures on the graphics using one or more fingers 202 (not drawn to scale in the accompanying drawings) or using one or more styluses 203 (not drawn to scale in the accompanying drawings). In some embodiments, selection of one or more graphics will occur when the user interrupts contact with the one or more graphics. In some embodiments, gestures optionally include one or more taps, one or more swipes (from left to right, from right to left, up and / or down) and / or rolling of fingers that have been in contact with the device 100 (from right to left, from left to right, up and / or down). In some specific implementations or in some cases, inadvertent contact with a graphic will not select the graphic. For example, when the gesture corresponding to the selection is a tap, a swipe gesture that sweeps over an application icon optionally does not select the corresponding application.
[0199] The device 100 may also include one or more physical buttons, such as a "home" button or menu button 204. As previously described, the menu button 204 may be used to navigate to any application 136 in a set of applications executable on the device 100. Alternatively, in some embodiments, the menu button is implemented as a soft key in a GUI displayed on the touch screen 112.
[0200] In some embodiments, the device 100 includes a touch screen 112, a menu button 204, a push button 206 for powering the device on / off and for locking the device, one or more volume adjustment buttons 208, a user identity module (SIM) card slot 210, an earphone jack 212, and a docking / charging external port 124. The push button 206 is optionally used to: power on / off the device by pressing the button and keeping the button in a pressed state for a predetermined time interval; lock the device by pressing the button and releasing the button before a predetermined time interval passes; and / or unlock the device or initiate an unlocking process. In an alternative embodiment, the device 100 also accepts voice input for activating or deactivating certain functions through a microphone 113. The device 100 also optionally includes one or more contact strength sensors 165 for detecting the strength of contact on the touch screen 112, and / or one or more tactile output generators 167 for generating tactile output for a user of the device 100.
[0201] Figure 3300 is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface according to some embodiments. Device 300 does not have to be portable. In some embodiments, device 300 is a laptop, a desktop computer, a tablet computer, a multimedia player device, a navigation device, an educational device (such as a children's learning toy), a game system, or a control device (e.g., a home controller or an industrial controller). Device 300 typically includes one or more processing units (CPUs) 310, one or more network or other communication interfaces 360, a memory 370, and one or more communication buses 320 for interconnecting these components. The communication bus 320 optionally includes a circuit system (sometimes called a chipset) that interconnects system components and controls communication between system components. Device 300 includes an input / output (I / O) interface 330 with a display 340, which is typically a touch screen display. The I / O interface 330 also optionally includes a keyboard and / or a mouse (or other pointing device) 350 and a touchpad 355, a tactile output generator 357 for generating tactile output on the device 300 (e.g., similar to the above reference). Figure 1A The one or more tactile output generators 167 described above), sensors 359 (e.g., optical sensors, acceleration sensors, proximity sensors, touch sensors, and / or sensors similar to those described above) Figure 1A Memory 370 optionally includes one or more storage devices located remotely from one or more CPUs 310. In some embodiments, memory 370 stores information related to portable multifunction device 100 ( Figure 1A ) or a subset thereof. In addition, memory 370 optionally stores additional programs, modules, and data structures not present in memory 102 of portable multifunction device 100. For example, memory 370 of device 300 optionally stores a drawing module 380, a presentation module 382, a word processing module 384, a website creation module 386, a disk editing module 388, and / or a spreadsheet module 390, while portable multifunction device 100 ( Figure 1A )'s memory 102 optionally does not store these modules.
[0202] Figure 3Each of the above-mentioned elements in can be stored in one or more aforementioned memory devices. Each module in the above-mentioned modules corresponds to an instruction set for performing the above-mentioned functions. The modules or programs (e.g., instruction sets) identified above need not be implemented as separate software programs, processes or modules, and therefore various subsets of these modules can be combined or otherwise rearranged in various embodiments. In some embodiments, memory 370 can store a subset of the modules and data structures identified above. In addition, memory 370 can store additional modules and data structures not described above.
[0203] Attention is now turned to embodiments of a user interface that may be implemented on, for example, portable multifunction device 100 .
[0204] Figure 4A An exemplary user interface of an application menu on portable multifunction device 100 is shown according to some embodiments. A similar user interface can be implemented on device 300. In some embodiments, user interface 400 includes the following elements, or a subset or superset thereof:
[0205] One or more signal strength indicators 402 of one or more wireless communications, such as cellular signals and Wi-Fi signals;
[0206] Time 404;
[0207] Bluetooth indicator 405;
[0208] Battery status indicator 406;
[0209] A tray 408 with icons for commonly used applications, such as:
[0210] o An icon 416 of the phone module 138 labeled "Phone," the icon 416 optionally including an indicator 414 of the number of missed calls or voice messages;
[0211] o an icon 418 of the email client module 140 labeled “Mail”, the icon 418 optionally including an indicator 410 of the number of unread emails;
[0212] o An icon 420 labeled "Browser" of the browser module 147; and
[0213] o An icon 422 labeled “iPod” of a video and music player module 152 (also referred to as an iPod (trademark of Apple Inc.) module 152); and
[0214] Icons of other applications, such as:
[0215] o Icon 424 labeled "Message" of IM module 141;
[0216] o An icon 426 labeled “Calendar” of the calendar module 148;
[0217] o Icon 428 labeled “Photos” of the image management module 144;
[0218] o An icon 430 labeled “Camera” of the camera module 143;
[0219] ○ Icon 432 labeled “Online Video” of the online video module 155;
[0220] ○ Icon 434 labeled “Stock Market” of the Stock Market Desktop Applet 149-2;
[0221] o An icon 436 labeled “Map” of the map module 154;
[0222] ○ Icon 438 labeled “Weather” of the Weather widget 149-1;
[0223] ○ Icon 440 labeled as “Clock” of the alarm clock desktop applet 149-4;
[0224] o An icon 442 labeled “Fitness Support” of the fitness support module 142;
[0225] o An icon 444 of the Notepad module 153 labeled "Notepad"; and
[0226] ○ An icon 446 labeled “Settings” for a settings application or module that provides access to settings for the device 100 and its various applications 136 .
[0227] It should be pointed out that Figure 4A The icon labels shown in are exemplary only. For example, icon 422 of video and music player module 152 may optionally be labeled "Music" or "Music Player". Other labels are optionally used for various application icons. In some embodiments, the label of a respective application icon includes the name of the application corresponding to the respective application icon. In some embodiments, the label of a particular application icon is different from the name of the application corresponding to the particular application icon.
[0228] Figure 4B A touch-sensitive surface 451 (eg, touch screen display 112) is shown having a touch-sensitive surface 451 (eg, Figure 3 tablet computer or touch pad 355) device (e.g., Figure 3Device 300 also optionally includes one or more contact intensity sensors (e.g., one or more of sensors 357) for detecting intensity of contacts on touch-sensitive surface 451, and / or one or more tactile output generators 359 for generating tactile output for a user of device 300.
[0229] Although some of the examples that follow will be given with reference to input on a touch screen display 112 (where a touch-sensitive surface and a display are combined), in some embodiments, the device detects input on a touch-sensitive surface that is separate from the display, such as Figure 4B In some embodiments, the touch-sensitive surface (e.g., Figure 4B 451) has a main axis (e.g., Figure 4B 453) corresponding to the principal axis (for example, Figure 4B According to these embodiments, the device detects a position corresponding to a corresponding position on the display (e.g., Figure 4B 460 corresponds to 468 and 462 corresponds to 470) in contact with touch-sensitive surface 451 (e.g., Figure 4B 460 and 462 in FIG. 4 ). Thus, on a touch-sensitive surface (eg, Figure 4B 451) and the display of a multi-function device ( Figure 4B When the user input detected by the device on the touch-sensitive surface (e.g., contacts 460 and 462 and their movement) is separated, the device is used to manipulate the user interface on the display. It should be understood that similar methods are optionally used for other user interfaces described herein.
[0230] In addition, although the following examples are primarily given with reference to finger inputs (e.g., finger contacts, single-finger tap gestures, finger swipe gestures), it should be understood that in some embodiments, one or more of these finger inputs are replaced by input from another input device (e.g., mouse-based input or stylus input). For example, a swipe gesture is optionally replaced by a mouse click (e.g., instead of contact), followed by movement of the cursor along the path of the swipe (e.g., instead of movement of the contact). As another example, a tap gesture is optionally replaced by a mouse click when the cursor is over the location of the tap gesture (e.g., instead of detection of contact, followed by termination of detecting contact). Similarly, when multiple user inputs are detected simultaneously, it should be understood that multiple computer mice are optionally used simultaneously, or one mouse and multiple finger contacts are optionally used simultaneously.
[0231] Figure 5AAn exemplary personal electronic device 500 is shown. Device 500 includes a body 502. In some embodiments, device 500 may include a device 502 for devices 100 and 300 (e.g., Figure 1A-Figure 4B ) or some or all of the features described in the foregoing. In some embodiments, device 500 has a touch-sensitive display screen 504, referred to hereinafter as touch screen 504. As an alternative or in addition to touch screen 504, device 500 has a display and a touch-sensitive surface. As with devices 100 and 300, in some embodiments, touch screen 504 (or touch-sensitive surface) may have one or more intensity sensors for detecting the intensity of an applied contact (e.g., a touch). One or more intensity sensors of touch screen 504 (or touch-sensitive surface) may provide output data representing the intensity of a touch. The user interface of device 500 may respond to a touch based on the intensity of the touch, which means that touches of different intensities may invoke different user interface operations on device 500.
[0232] For example, technology for detecting and processing touch intensity can be found in the following related patent applications: International Patent Application Serial No. PCT / US2013 / 040061, filed on May 8, 2013, entitled “Device, Method, and Graphical User Interface for Displaying User Interface Objects Corresponding to an Application,” and International Patent Application Serial No. PCT / US2013 / 069483, filed on November 11, 2013, entitled “Device, Method, and Graphical User Interface for Transitioning Between Touch Input to Display Output Relationships,” each of which is hereby incorporated by reference in its entirety.
[0233] In some embodiments, the device 500 has one or more input mechanisms 506 and 508. The input mechanisms 506 and 508, if included, can be physical. Examples of physical input mechanisms include push buttons and rotatable mechanisms. In some embodiments, the device 500 has one or more attachment mechanisms. Such attachment mechanisms, if included, can allow the device 500 to be attached to, for example, hats, glasses, earrings, necklaces, shirts, jackets, bracelets, watchbands, bracelets, pants, belts, shoes, wallets, backpacks, etc. These attachment mechanisms can allow the user to wear the device 500.
[0234] Figure 5BAn exemplary personal electronic device 500 is shown. In some embodiments, the device 500 may include a reference Figure 1A , Figure 1B and Figure 3 Some or all of the components described. Device 500 has a bus 512 that operatively couples an I / O portion 514 to one or more computer processors 516 and a memory 518. I / O portion 514 may be connected to a display 504, which may have a touch-sensitive component 522 and optionally also a touch-intensity sensitive component 524. In addition, I / O portion 514 may be connected to a communication unit 530 for receiving application and operating system data using Wi-Fi, Bluetooth, near field communication (NFC), cellular and / or other wireless communication technologies. Device 500 may include input mechanisms 506 and / or 508. For example, input mechanism 506 may be a rotatable input device or a depressible input device and a rotatable input device. In some examples, input mechanism 508 may be a button.
[0235] In some examples, input mechanism 508 may be a microphone. Personal electronic device 500 may include various sensors, such as GPS sensor 532, accelerometer 534, orientation sensor 540 (e.g., compass), gyroscope 536, motion sensor 538, and / or combinations thereof, all of which may be operatively connected to I / O portion 514.
[0236] The memory 518 of the personal electronic device 500 may be a non-transitory computer-readable storage medium for storing computer-executable instructions that, when executed by one or more computer processors 516, may cause the computer processors to perform the above-described techniques, including processes 3300, 3400, 3500, 3600, 3700, 3800, 3900, 4000, 4600, and 4900 ( Figure 33-Figure 49 ). These computer-executable instructions may also be stored and / or transmitted in any non-transitory computer-readable storage medium for use or in conjunction with an instruction execution system, apparatus, or device, such as a computer-based system, a system containing a processor, or other system that can obtain instructions from an instruction execution system, apparatus, or device and execute the instructions. For the purposes of this document, a "non-transitory computer-readable storage medium" may be any medium that can tangibly contain or store computer-executable instructions for use or in conjunction with an instruction execution system, apparatus, and device. Non-transitory computer-readable storage media may include, but are not limited to, magnetic storage devices, optical storage devices, and / or semiconductor storage devices. Examples of such storage devices include magnetic disks, optical-disk-based CD, DVD, or Blu-ray technology, as well as persistent solid-state memory such as flash memory and solid-state drives, and the like. The personal electronic device 500 is not limited to Figure 5Bcomponents and configurations, but may include other components or additional components in a variety of configurations.
[0237] As used herein, the term "affordance" refers to a user-interactive graphical user interface object that can be displayed on a display screen of device 100, 300, and / or 500 (FIGS. 1, 3, and 5). For example, an image (e.g., an icon), a button, and text (e.g., a hyperlink) can each constitute an affordance.
[0238] As used herein, the term "focus selector" refers to an input element used to indicate the current portion of a user interface with which a user is interacting. In some implementations that include a cursor or other position marker, the cursor acts as a "focus selector" such that when the cursor is over a particular user interface element (e.g., a button, window, slider, or other user interface element), a focus selector is displayed on a touch-sensitive surface (e.g., Figure 3 Touchpad 355 or Figure 4B In the event that an input (e.g., a press input) is detected on the touch-sensitive surface 451 in the display, the particular user interface element is adjusted according to the detected input. In the case that a touch-screen display (e.g., Figure 1A A touch-sensitive display system 112 or Figure 4A In some implementations of the touch screen 112 in FIG. 1 , a detected contact on the touch screen acts as a “focus selector” such that when an input (e.g., a press input by the contact) is detected at the location of a particular user interface element (e.g., a button, window, slider, or other user interface element) on the touch screen display, the particular user interface element is adjusted in accordance with the detected input. In some implementations, the focus moves from one area of the user interface to another area of the user interface without corresponding movement of a cursor or movement of a contact on the touch screen display (e.g., by using a tab key or arrow keys to move the focus from one button to another); in these implementations, the focus selector moves in accordance with the movement of focus between different areas of the user interface. Regardless of the specific form the focus selector takes, the focus selector is typically a user interface element (or contact on the touch screen display) that is controlled by the user to deliver the user's intended interaction with the user interface (e.g., by indicating to the device the element of the user interface with which the user desires to interact). For example, when a press input is detected on a touch-sensitive surface (e.g., a touchpad or touchscreen), the position of a focus selector (e.g., a cursor, contact, or selection box) over a corresponding button will indicate that the user intends to activate the corresponding button (rather than other user interface elements shown on the device display).
[0239] As used in the specification and claims, the term "characteristic intensity" of a contact refers to a characteristic of a contact based on one or more intensities of the contact. In some embodiments, the characteristic intensity is based on multiple intensity samples. The characteristic intensity is optionally based on a predefined number of intensity samples or a set of intensity samples collected during a predetermined time period (e.g., 0.05 seconds, 0.1 seconds, 0.2 seconds, 0.5 seconds, 1 second, 2 seconds, 5 seconds, 10 seconds) relative to a predefined event (e.g., after contact is detected, before contact is detected to be lifted, before or after contact begins to move, before contact ends, before or after contact intensity increases and / or before or after contact intensity decreases). The characteristic intensity of a contact is optionally based on one or more of the following: the maximum value of contact intensity, the mean value of contact intensity, the average value of contact intensity, the value at the top 10% of contact intensity, the half-maximum value of contact intensity, the 90% maximum value of contact intensity, etc. In some embodiments, the duration of the contact is used when determining the characteristic intensity (e.g., when the characteristic intensity is the average value of the intensity of the contact over time). In some embodiments, the characteristic strength is compared to a set of one or more strength thresholds to determine whether the user has performed an operation. For example, the set of one or more strength thresholds may include a first strength threshold and a second strength threshold. In this example, a contact whose characteristic strength does not exceed the first threshold results in a first operation, a contact whose characteristic strength exceeds the first strength threshold but does not exceed the second strength threshold results in a second operation, and a contact whose characteristic strength exceeds the second threshold results in a third operation. In some embodiments, a comparison between the characteristic strength and one or more thresholds is used to determine whether to perform one or more operations (e.g., whether to perform the corresponding operation or give up performing the corresponding operation), rather than to determine whether to perform the first operation or the second operation.
[0240] In some embodiments, a portion of a gesture is identified for determining a characteristic intensity. For example, a touch-sensitive surface may receive a continuous swipe contact that transitions from a starting position and reaches an end position, where the intensity of the contact increases. In this example, the characteristic intensity of the contact at the end position may be based only on a portion of the continuous swipe contact, rather than the entire swipe contact (e.g., only a portion of the swipe contact at the end position). In some embodiments, a smoothing algorithm may be applied to the intensity of the swipe gesture before determining the characteristic intensity of the contact. For example, the smoothing algorithm optionally includes one or more of the following: an unweighted sliding average smoothing algorithm, a triangular smoothing algorithm, a median filter smoothing algorithm, and / or an exponential smoothing algorithm. In some cases, these smoothing algorithms eliminate narrow peaks or dips in the intensity of the swipe contact to achieve the purpose of determining the characteristic intensity.
[0241] The intensity of a contact on a touch-sensitive surface may be characterized relative to one or more intensity thresholds, such as a contact detection intensity threshold, a light press intensity threshold, a deep press intensity threshold, and / or one or more other intensity thresholds. In some embodiments, the light press intensity threshold corresponds to an intensity at which the device will perform an operation typically associated with clicking a button of a physical mouse or trackpad. In some embodiments, the deep press intensity threshold corresponds to an intensity at which the device will perform an operation different from an operation typically associated with clicking a button of a physical mouse or trackpad. In some embodiments, when a contact having a characteristic intensity below a light press intensity threshold (e.g., and above a nominal contact detection intensity threshold, contacts below which are no longer detected) is detected, the device will move the focus selector in accordance with the movement of the contact on the touch-sensitive surface without performing an operation associated with the light press intensity threshold or the deep press intensity threshold. Generally speaking, unless otherwise stated, these intensity thresholds are consistent between different groups of user interface illustrations.
[0242] An increase in contact characteristic intensity from an intensity below a light press intensity threshold to an intensity between the light press intensity threshold and the deep press intensity threshold is sometimes referred to as a "light press" input. An increase in contact characteristic intensity from an intensity below a deep press intensity threshold to an intensity above the deep press intensity threshold is sometimes referred to as a "deep press" input. An increase in contact characteristic intensity from an intensity below a contact detection intensity threshold to an intensity between the contact detection intensity threshold and the light press intensity threshold is sometimes referred to as detecting contact on the touch surface. A decrease in contact characteristic intensity from an intensity above the contact detection intensity threshold to an intensity below the contact detection intensity threshold is sometimes referred to as detecting contact lifted from the touch surface. In some embodiments, the contact detection intensity threshold is zero. In some embodiments, the contact detection intensity threshold is greater than zero.
[0243] In some embodiments described herein, one or more operations are performed in response to detecting a gesture that includes a corresponding press input or in response to detecting a corresponding press input performed using a corresponding contact (or multiple contacts), wherein the corresponding press input is detected at least in part based on detecting that the strength of the contact (or multiple contacts) increases to above a press input strength threshold. In some embodiments, the corresponding operation is performed in response to detecting that the strength of the corresponding contact increases to above the press input strength threshold (e.g., a "down stroke" of the corresponding press input). In some embodiments, the press input includes an increase in the strength of the corresponding contact to above the press input strength threshold and the strength of the contact subsequently decreases to below the press input strength threshold, and the corresponding operation is performed in response to detecting that the strength of the corresponding contact subsequently decreases to below the press input threshold (e.g., an "up stroke" of the corresponding press input).
[0244] In some embodiments, the device employs intensity hysteresis to avoid unexpected input, sometimes referred to as "jitter," where the device defines or selects a hysteresis intensity threshold that has a predefined relationship to a press input intensity threshold (e.g., the hysteresis intensity threshold is X intensity units lower than the press input intensity threshold, or the hysteresis intensity threshold is 75%, 90%, or some reasonable proportion of the press input intensity threshold). Thus, in some embodiments, a press input includes an increase in the intensity of the corresponding contact to above the press input intensity threshold and a subsequent decrease in the intensity of the contact to below a hysteresis intensity threshold corresponding to the press input intensity threshold, and a corresponding operation is performed in response to detecting that the intensity of the corresponding contact subsequently decreases to below the hysteresis intensity threshold (e.g., an "up stroke" of the corresponding press input). Similarly, in some embodiments, a press input is detected only when the device detects that the strength of the contact increases from an strength equal to or below a hysteresis strength threshold to an strength equal to or above a press input strength threshold and, optionally, the strength of the contact subsequently decreases to an strength equal to or below the hysteresis strength, and a corresponding operation is performed in response to detecting the press input (for example, depending on the circumstances, the strength of the contact increases or the strength of the contact decreases).
[0245] For ease of explanation, optionally, a description of an operation performed in response to a press input associated with a press input intensity threshold or in response to a gesture including a press input is triggered in response to detecting any of the following: the intensity of the contact increases above the press input intensity threshold, the intensity of the contact increases from an intensity below a hysteresis intensity threshold to an intensity above the press input intensity threshold, the intensity of the contact decreases below the press input intensity threshold, and / or the intensity of the contact decreases below a hysteresis intensity threshold corresponding to the press input intensity threshold. Additionally, in examples where an operation is described as being performed in response to detecting that the intensity of the contact decreases below the press input intensity threshold, the operation is optionally performed in response to detecting that the intensity of the contact decreases below a hysteresis intensity threshold that corresponds to and is less than the press input intensity threshold.
[0246] As used herein, an "installed application" refers to a software application that has been downloaded to an electronic device (e.g., device 100, 300, and / or 500) and is ready to be launched (e.g., become open) on the device. In some embodiments, a downloaded application becomes an installed application using an installer program that extracts program portions from the downloaded software package and integrates the extracted portions with the operating system of the computer system.
[0247] As used herein, the term "open application" or "executing application" refers to a software application that has maintained state information (e.g., as part of device / global internal state 157 and / or application internal state 192). An open or executing application is any of the following types of applications:
[0248] The active application currently displayed on the display of the device on which the application is used;
[0249] Background applications (or background processes) that are not currently displayed but for which one or more processes for the application are being processed by one or more processors; and
[0250] - Suspended or dormant applications that are not running but store state information in memory (volatile and non-volatile respectively) that can be used to resume execution of the application.
[0251] As used herein, the term "closed application" refers to a software application that does not have retained state information (e.g., the state information of a closed application is not stored in the memory of a device). Thus, closing an application includes stopping and / or removing the application process of the application, as well as removing the state information of the application from the memory of the device. Generally speaking, opening a second application while in a first application does not close the first application. When the second application is displayed and the display of the first application stops, the first application becomes a background application.
[0252] Attention is now directed to an embodiment of a messaging user interface for capturing, sending, and viewing or playing media and location data.
[0253] Figure 6A-Figure 32C An exemplary user interface for messages according to some embodiments is shown. The user interfaces in these figures are used to illustrate the processes described below, including Figure 33-Figure 49 process.
[0254] Fig. 6A An exemplary messaging user interface is shown that is optionally displayed by device 100. The messaging user interface includes a messaging area 602 for displaying messages sent between participants in a messaging conversation and a message composition field 604 for composing messages. Messages exchanged by the participants are displayed within a defined messaging area 606. In some embodiments, the defined messaging area is a continuous area that is visually distinguishable from the background of the application background.
[0255] In this embodiment, the message user interface includes two media affordances 608, 610 for capturing and sending media streams: an audio capture affordance 608 for capturing and sending audio messages, and a visual media capture affordance 610 for capturing and sending images or videos. In this embodiment, the visual media capture affordance and the audio data capture affordance are displayed on either side of the message composition field. The message user interface also includes a virtual keyboard 612 for entering text in the message composition field 604. In some embodiments, such as Figure 6B As shown, in response to detecting user input in message composition field 604, device 100 replaces display of audio capture enable indication 608 with display of a send button 614 for sending the message.
[0256] As described in more detail below, device 100 can capture and send various media—such as audio, video, and messages—from within a messaging application.
[0257] In some embodiments, device 100 records and sends an audio message from within a messaging application. Figure 6C-6D As shown, in response to detecting contact on audio capture affordance 608, device 100 displays a visually distinguished area 616 containing multiple affordances 618, 620, 622, and begins recording an audio message using a microphone of device 100. The audio message may be, for example, a user speaking or singing, or some other type of audio message that may be captured by device 100.
[0258] exist Fig.6D , visually distinguished area 616 includes a send enable indication 618 for sending the captured audio message to the participants in the messaging session, a cancel enable indication 620 for stopping recording the audio message and abandoning sending the audio message to the participants, and a record enable indication 622 for recording the audio message. In some embodiments, the send enable indication is displayed adjacent to the media enable indication on the display.
[0259] In this embodiment, visually distinguished area 616 is displayed on the same side of the display as audio capture enable representation 608 and is centered in the vertical direction at the location corresponding to audio capture enable representation 608. Therefore, the user makes contact with audio capture enable representation 608, and visually distinguished area 616 appears near the location of the audio capture enable representation, with recording enable representation 622 replacing audio capture enable representation 608.
[0260] like Fig.6D, exemplary visually distinguished region 616 is bounded by edge 626 of the display and semicircle 624 that begins and ends at edge 626 of the display and surrounds send affordance 618, cancel affordance 620, and record affordance 622 relative to the edge of the display. Visually distinguished region 616 can provide a visual indication to the user that device 100 has entered media capture mode.
[0261] In some embodiments, device 100 continues to record the audio message as long as the contact remains at the location on the display corresponding to the record enable indication. Figure 7A-7B , in response to detecting a swipe gesture on the display to send affordance 618, device 100 stops recording an audio message and immediately sends the recorded audio message to the participants in the message conversation. The swipe gesture may correspond to movement of a contact on the display to send affordance 618, followed by a lift of the contact corresponding to send affordance 618. In some embodiments, movement of the contact is detected after the send affordance is displayed.
[0262] In some embodiments, in conjunction with sending media (e.g., an audio message) to a participant in a messaging session, a representation of the media is displayed in the messaging area. Figure 7B , in some embodiments, the device 100 displays a representation of a sent audio message in a defined message area 708 inserted into a message conversation. In this embodiment, the representation of the audio message includes a waveform image 702 representing the audio message, a playback affordance 704 for playing the audio message, and a time period 706 of the audio message. In some embodiments, the waveform is generated based on the recorded audio message and depicts specific characteristics of the audio content of the message. In some embodiments, the waveform is an icon. In some embodiments, the length of the waveform may correspond to the length of the audio recording.
[0263] In some embodiments, when recording an audio message, the device 100 displays a representation of the audio message in the message composition field. The representation can be a waveform as described above, and can dynamically change shape when the user records the audio message to indicate the changing audio content being recorded.
[0264] In some embodiments, in response to detecting a contact on playback-enabled representation 704, device 100 displays the audio message. In some embodiments, the color of the playback-enabled representation may change after the audio message is played to provide a visual indication to the user that the audio message has been played. In some embodiments, a portion of the playback-enabled representation changes appearance while a corresponding portion of the audio message is played, thereby providing a visual indication of the elapsed playback time.
[0265] In some embodiments, the device 100 displays a waveform 702 representing the audio message in an initial color, and changes the waveform color as the audio message is played to provide a visual indication to the user that the audio message has been played. In some embodiments, the device 100 changes the color of a portion of the waveform 702 as the corresponding portion of the audio message is played, thereby providing a visual representation of the elapsed play time. The above-described audio message representation and color change can be used to represent any audio message exchanged from within a messaging application, where it is represented in a messaging session, a message composition field, or elsewhere.
[0266] In some embodiments, device 100 stops recording an audio message in response to detecting contact moving toward a send enable indication or in another direction away from an audio capture enable indication. In some embodiments, device 100 sends the recorded audio message in response to detecting a lift-off at a location corresponding to send enable indication 618 after the contact moves. The initial contact on the audio capture enable indication and the subsequent movement of the contact to the send enable indication can be performed by the user as a single continuous contact on the display.
[0267] like Figure 7C-D As shown in , in some embodiments, if device 100 detects a swipe gesture on the display to cancel enable indication 620, device 100 stops recording the audio message, removes visually distinguished area 616 from the display, redisplays audio capture enable indication 608, and abandons sending the audio message to the participant. In some embodiments, as described above with respect to the sending enable indication, the swipe gesture may correspond to a single continuous movement of contact: starting from initial contact on audio capture enable indication 608, across the display to cancel enable indication 620, and then lifting at cancel enable indication 620.
[0268] In some embodiments, such as Figure 8 As shown in , in response to detecting that a contact on the display moves away from a recorded enable representation, the device 100 expands a visually distinguished area 616. In some embodiments, the visually distinguished area expands according to the movement of the contact (e.g., the expansion of the visually distinguished area is proportional to the movement of the contact when the visually distinguished area is expanded). In some embodiments, the send enable representation 618 and the cancel enable representation 620 displayed inside the visually distinguished area 616 move outward according to the expansion of the visually distinguished area 616. Expanding the visually distinguished area can provide the user with an indication that the device 100 has detected movement away from the location of the recorded enable representation, and can also provide the user with a larger display area for performing a swipe gesture and may make it easier for the user to control the trajectory or destination of the swipe gesture.
[0269] In some embodiments, such as Fig.9AAs shown in , if device 100 detects lifting of the contact from the display without detecting previous movement of the contact to the send enable indication or the cancel enable indication, device 100 stops recording the audio message, displays a representation of the audio message in the message composition field 604, and replaces the audio capture enable indication with a send button 906 for sending the recorded audio message to the participants in the messaging conversation.
[0270] As previously described in some embodiments with respect to Fig. 7A As described, the representation of the recorded audio message displayed in the message writing field includes an image of a waveform 702 representing the recorded audio message, a duration 706 of the recorded audio message, and a playback enable indication 704 for playing the recorded audio message.
[0271] In some embodiments, such as Fig. 9B As shown in , in response to detecting contact on send button 906, device 100 sends the recorded audio message to the participants in the messaging session and replaces send button 906 with audio capture affordance 608. Fig. 9B As shown in , in some embodiments, after sending an audio message in response to contact on a send button, the device 100 displays a representation of the sent audio message in a defined message area 908 inserted into the message conversation.
[0272] Therefore, as mentioned above with respect to Figures 6A-9B As described, in some embodiments, device 100 displays a message user interface in a message application, enabling a user to record and send an audio message from within the message application without the user having to launch a separate application. In addition, in some embodiments, a user can record and send an audio message using a single continuous gesture on the display, the gesture comprising an initial contact on the audio capture enable representation, followed by movement to the send enable representation and lifting. This approach improves the efficiency of the user interface and reduces the cognitive burden on the user.
[0273] In some embodiments, device 100 can also capture and send camera images from within a messaging application. Figure 10A-10B As shown, in response to detecting a contact on visual media capture enable representation 610, device 100 displays a camera user interface. The camera user interface includes a live media preview 1010 from a 40,000 camera sensor on device 100 and a visually distinguished area 1002, which includes an image enable representation 1004 for capturing an image using the camera sensor and a record enable representation 1006. Visual media capture enable representation 610 is replaced with a cancel enable representation 1008. In some embodiments, the live media preview replaces the display of the message area.
[0274] In this embodiment, visually distinguished area 1002 appears on the same side of the display as visual media capture affordance 610 and is vertically centered at a location corresponding to visual media capture affordance 610. Thus, when a user makes contact with visual media capture affordance 610, visually distinguished area 1002 appears near the location of the visual media capture affordance and the visual media capture affordance is replaced by the cancel affordance.
[0275] like Figure 11A-11B As shown, in some embodiments, in response to detecting a swipe gesture on the display to image affordance 1004, device 100 captures the image shown in the preview and sends the image as a message to the participant. The swipe gesture may correspond to movement of a contact across the display to image affordance 1004, followed by a lift at image affordance 1004. In some embodiments, device 100 captures the image in response to detecting the movement and sends the image in response to the lift.
[0276] like Fig. 11B As shown, in some embodiments, after sending the image as a message, the device 100 stops displaying the preview and redisplays the message area, the message composition field, and the media affordance. In some embodiments, the device 100 displays a thumbnail 1104 representing the captured image in the defined message area 1106 inserted into the displayed message conversation.
[0277] Figure 11C-11E Another technique that device 100 can optionally use to quickly capture and send an image from within a messaging application is shown. Figure 11C-11E As shown in Figure 10A-10B The live media preview is displayed in the message area, and in response to detecting contact on the visual media enable representation, the device 100 expands the message composition field 604 and displays the live media preview in the message composition field 604. In some embodiments, the device 100 replaces the display of the audio capture enable representation with the display of the send button 614. In some embodiments, in response to detecting that the contact is lifted from the visual media capture enable representation 610, the device 100 captures a new image. In some embodiments, in response to detecting that the visual media enable representation is lifted or in response to detecting contact on the send button 614, the captured image is sent as a message to the participant. In some embodiments, as Fig. 11CAs shown in , after sending the image, device 100 displays a thumbnail representing the image in a defined message area inserted into the displayed message conversation. In some embodiments, after sending the image, device 100 redisplays the audio capture enabling representation instead of the send button.
[0278] like Fig.11F As shown, in some embodiments, after detecting lifting and capturing a new image, the device 100 displays a representation 1108 of the captured image in the message composition field 604. In some embodiments, while displaying the representation of the captured image in the message composition field, the device 100 detects that the user enters additional content 1110 in the message composition field; for example, the additional content can be entered adjacent to the representation of the captured image. For example, such additional content can be as follows Fig.11F The text content shown may be a graphical object such as an emoticon or icon. In some embodiments, in response to detecting contact on a send button, the additional content and the captured image are sent to the participant.
[0279] In some embodiments, such as Fig.11G As shown in , after sending the image and additional content to the participant, the device 100 displays a thumbnail 1114 representing the captured image, and the additional content 1110 in the defined message area 1112 inserted into the conversation. In some embodiments, after sending the image and additional content, the device 100 redisplays the audio capture enable representation instead of the send button.
[0280] In some embodiments, device 100 can also capture and send video from within a messaging application. Fig. 10A As described, in some embodiments, in response to detecting contact on the visual media capture enable indication 610, the device 100 displays a camera preview and a visually distinguished area having an image enable indication for capturing an image, a record enable indication for capturing a video, and a cancel enable indication for canceling media capture.
[0281] In some embodiments, such as Figure 12A-12BAs shown, in response to detecting contact on record enable indication 1006, device 100 begins recording video, replaces the record enable indication with stop enable indication 1212 for stopping recording video, and replaces image enable indication 1004 with send enable indication 1210 for sending video to participants. In some embodiments, device 100 begins recording video in response to detecting movement of contact on record enable indication 1006 or in response to a touch or tap on record enable indication 1006. In some embodiments, while device 100 is recording video, device 100 displays an indication of elapsed recording time 1208.
[0282] like Figure 13A-13C As shown in , in some embodiments, if device 100 detects that a contact has been lifted from the display while device 100 is recording a video, without detecting a contact on send enable indication 1210, device 100 continues to record the video and replaces display of record enable indication 1006 with display of stop enable indication 1212. In some embodiments, while device 100 is recording a video, in response to detecting a contact on stop enable indication 1212, device 100 stops recording the video and replaces stop enable indication 1212 with playback enable indication 1314 for viewing the recorded video data before sending it to a recipient.
[0283] In some embodiments, in response to detecting contact on send affordance 1210, device 100 stops recording video (if recording has not already stopped) and sends the recorded video to the participants in the messaging session. Fig.14 , device 100 inserts a thumbnail 1402 of a video into a message conversation between participants, and removes the display of a visually distinguished area including a record affordance and a send affordance. In some embodiments, inserting a thumbnail includes displaying thumbnail 1402 and playback affordance 1414 in a defined message area 1406 in the message area. In some embodiments, in response to detecting a contact on playback affordance 1414 in defined message area 1406, device 100 plays the video within the boundaries of defined message area 1406. In some embodiments, in response to detecting a contact on playback affordance 1414, device 100 plays the video in full screen mode.
[0284] Return to Fig. 12A In some embodiments, device 100 stops recording video in response to detecting a lift from record enable indication 1006 while device 100 is recording video. In some embodiments, after detecting a lift from record enable indication 1006 and stopping recording video, Fig. 13CAs shown, before sending to the recipient, device 100 replaces display of recording enable indication 1006 with display of playback enable indication 1314 for viewing the video.
[0285] Thus, in some embodiments, when displayed in visually distinct areas, swiping up to the Image enable indicates that an image will be captured and sent, while swiping up to the Record enable indicates that swiping up to the Send enable indicates that a video will be captured and sent.
[0286] In some embodiments, Fig. 10A The visual media capture affordance 610 shown in can be used to select one or more existing images or videos to add to the message conversation. These images may have been captured using an application other than the message application; for example, such images or videos may have been captured using a camera application executed on device 100 or on a remote device, or may have been captured by another user using a different application on device 100 or on a remote device. Such existing images or videos may be stored in the memory of device 100 or accessed from a remote storage location.
[0287] Fig.15A An exemplary media selector interface is shown that the device 100 may optionally display in response to detecting a request to add media to a conversation, such as a contact on a visual media capture affordance 610. In some embodiments, the media selector interface enables a user to select one or more existing image files, video files, or audio files to add to a message conversation. In some embodiments, when a message conversation is displayed, the media selector interface is displayed below the message area. The media selector interface includes a slide 1502 having several thumbnails 1504 representing existing images or videos. In some embodiments, thumbnails 1504 represent image files, video files, or audio files that were recently captured or accessed. In some embodiments, in response to detecting a swipe gesture at a location associated with slide 1502, the device 100 scrolls the slide according to the swipe gesture.
[0288] In some embodiments, in response to detecting contact on a particular thumbnail 1504, the device 100 sends an image file, video file, or audio file associated with the thumbnail to the participants in the message conversation and inserts a representation 1506 of the image file, video file, or audio file into the conversation, such as Fig. 15B as shown in the example.
[0289] In some embodiments, in response to detecting a contact on a particular thumbnail 1504 in slide 1502, device 100 displays the image or video represented by the thumbnail. In some embodiments, the image or video can be displayed in a larger version of the image represented by the thumbnail, such as in a full-screen view.
[0290] In some embodiments, one of the thumbnails in slide 1502 represents a camera preview. In some embodiments, in response to detecting a selection of the thumbnail representing the preview, device 100 uses a camera on device 100 to capture a new image and send the new image to the participants in the session.
[0291] Figure 16A-16B Another embodiment of a media selector interface for adding media to a conversation is shown. In this embodiment, a slideshow 1602 is displayed below a message composition field 604. In response to detecting selection of a thumbnail 1604 in the slideshow, in some embodiments, the device 100 displays a representation 1608 of the selected thumbnail in the message composition field 604 and replaces the display of the audio capture affordance with the display of a send button 614 for sending the image to the participants in the message conversation. In some embodiments, in response to detecting contact on the send button 1610, the device 100 sends the image to the participants and inserts a representation of the sent image into the conversation, as previously described with respect to Fig. 11B As shown and described.
[0292] In some embodiments, in response to device 100 detecting a selection of two or more thumbnails 1604 in a slide show and then detecting a selection of a send button 1610, device 100 sends two or more images or videos corresponding to the selected thumbnails to the participants in the messaging session.
[0293] Figure 17A-Figure 17C Another embodiment of a media selector interface for adding media to a session is shown. Fig.17A , in some embodiments, device 100 displays a slideshow 1702 with thumbnails 1704 and a photo library button 1706 for selecting an image or video from a library, a take picture button 1710 for capturing a new photo or video, and a cancel button 1708 for canceling and exiting display of the media selector interface. In some embodiments, thumbnails 1704 in the slideshow represent images or videos that were recently captured or accessed.
[0294] In some embodiments, in response to detecting a selection of the photo library button 1706, the device 100 displays a list of photo libraries 1712, 1714. In some embodiments, in response to detecting a selection of a photo library in the list, the device 100 displays another slideshow 1716 with thumbnails 1718 of images or videos from the selected photo library. In some embodiments, in response to detecting a selection of a particular thumbnail 1718, the device 100 displays the image or video represented by the thumbnail, or sends the corresponding image or video to a participant in the session, as described above with respect to Fig.15A described.
[0295] Go to Figures 18A-18C ,like Fig.18B As shown in , in some embodiments, in response to detecting a selection of a take photo button 1710 for taking a new photo or video, the device 100 displays a user interface for capturing a new image or video. In some embodiments, the user interface includes a live camera preview 1802 and a capture button 1804 for taking an image. Fig. 18C As shown in , in some embodiments, in response to detecting selection of the capture button 1804, the device 100 captures the image shown in the preview and displays the captured image on the display with a retake button 1806 for retaking the image (e.g., for capturing another image) and a use button 1808 for sending the captured image to the participant. In some embodiments, in response to detecting contact on the use button 1808, the device 100 immediately sends the captured image to the participant and returns to displaying the message conversation. In some embodiments, the device 100 inserts a representation of the sent image into the conversation, as described above with respect to Fig. 11B described.
[0296] In some implementations, a visual media capture affordance can be used both for adding existing media to a session and for capturing new media to add to a session. Fig. 10A In some embodiments, in response to detecting a contact at a location on the display corresponding to the visual media capture enable representation 610, the device 100 may determine the duration of the contact. If the duration is greater than a threshold duration—for example, if the contact is a touch and hold on the visual media capture enable representation, the device 100 may respond as described above with respect to Figures 10-13 and display a user interface for capturing and sending images or videos from within the messaging application. However, if the duration of the contact does not exceed the threshold duration—for example, if the contact is a short tap on the visual media capture enable representation 610—the device 100 may display a media selector interface for selecting one or more existing images or videos to add to the messaging session. The threshold duration may be in the range of, for example, 5 seconds to 10 seconds.
[0297] Figure 6A-6B The user interface shown in shows a media affordance and a message composition field displayed horizontally on a middle portion of a display on device 100, with each media affordance (visual media capture affordance and audio capture affordance) displayed on either side of the message composition field along opposite edges of the display. Such a location may be appropriate when a virtual keyboard for entering a message to a recipient is displayed on the display, e.g. Fig. 6A However, the media affordances and message composition fields need not be shown in Figure 6A-6B in the position or orientation shown in . Figure 19A-19B Exemplary alternative locations are shown where device 100 may display audio capture affordance 608, visual media capture affordance 610, and message composition field 604. Such alternative locations may be appropriate when a virtual keyboard is not displayed on the display and may provide a larger message area for displaying a message conversation.
[0298] like Fig.19A As shown in , in some embodiments, device 100 displays an audio capture enable indication 608 in a corner of the display. Fig. 20 As shown in , in some embodiments, in response to detecting contact on the audio capture affordance in the corner, device 100 displays a visually distinguished area 2002 defined by an arc 2004 that begins and ends at two different edges 2006, 2008 of the touch-sensitive display, rather than, for example, displaying an area 2002 as shown earlier with respect to the audio capture affordance. Fig.6D The semicircle starts and ends at the same edge of the display. Figure 8 As described, in response to detecting that the contact on the display moves away from the position of the audio capture enable representation 608, in some embodiments, the device 100 expands the visually distinguished area 2002. In some embodiments, the position of the enable representation displayed within the visually distinguished area moves outward according to the expansion of the visually distinguished area.
[0299] In some embodiments, a hit area on the display is assigned to a media affordance such that a contact anywhere on the hit area is interpreted by device 100 as a contact on the media affordance. In some embodiments, the hit area is larger than the displayed media affordance. Figure 19C-Figure 19D As shown in , in some embodiments, when the virtual keyboard is not displayed, such as Fig.19C In the example, the hit area 1902 for media affordance is larger than when the virtual keyboard is displayed. Fig.19D For example, when the virtual keyboard is displayed, the hit area for the media affordance is slightly larger than the media affordance (e.g., 5%, 10%, 15%, or 20% larger than the media affordance), and when the virtual keyboard is not displayed, the hit area for the media affordance may encompass up to half of the bottom quadrant of the display. This approach allows the user to more easily invoke detection of contacts on the media affordance when there is sufficiently large space on the display to allow for a larger hit area.
[0300] In some embodiments, the device 100 may also play the received audio message. Figure 21A-21BAs shown, in response to receiving an audio message from a first participant, device 100 displays a representation 2108 of the audio message in a message session. In this embodiment, the representation includes an image showing a waveform 2102 representing the audio message, a playback-enabled representation 2104 for playing the audio message, and the duration of the audio message 2106. In some embodiments, the representation is displayed within a defined message area. In some embodiments, in response to detecting a contact on the playback-enabled representation 2104, device 100 displays the audio message.
[0301] In some embodiments, after displaying the representation 2108 of the audio message, the device 100 plays the audio message in response to detecting that the device is raised. In some embodiments, the device 100 detects that the user has raised the device 100 by using one or more device motion or orientation sensors to detect motion of the device 100 and / or using a proximity sensor or ambient light sensor to detect that the device 100 is adjacent to the user's ear. Return Fig.21A In some embodiments, device 100 prompts the user to play the audio message by displaying instructions 2110 instructing the user to raise device 100 to hear the message.
[0302] like Figure 22A-22C As shown in , in some embodiments, device 100 records a second audio message in response to detecting the elevation of device 100. For example, if device 100 has played the received audio message (such as Fig.22A , which may be indicated by displaying a waveform or playback enable representation in a different color) and device 100 detects the raising of device 100, device 100 starts recording a second audio message. In some embodiments, if device 100 has played the received audio message in response to detecting the raising of the device (rather than, for example, in response to detecting contact on the playback enable representation), device 100 records the second audio message only after detecting that device 100 is lowered and before detecting the second raising of device 100. In other words, in some embodiments, the user can raise device 100 to listen to the audio message, lower device 100, and then raise device 100 again to record a new audio message. In some embodiments, device 100 prompts the user to raise device 100 to record the message by displaying instructions for instructing the user to raise device 100 to record the audio message.
[0303] In some embodiments, if the device 100 detects that the device 100 is lowered while recording the second audio message, the device 100 stops recording the second audio message and sends the second audio message to the first participant. For example, the lowering of the device can be detected using one or more device motion / orientation sensors to detect the movement of the device and / or using a proximity sensor or ambient light sensor to detect the last moment when the device was adjacent to the user's ear. Figure 22A-22B As described above, after receiving and listening to an audio message from a participant in a messaging session, in some embodiments, the user can respond by raising the device 100 to record a second audio message and then lowering the device 100 to automatically send the second audio message to the participant. Fig. 22C As shown in , device 100 inserts a representation of the sent second audio message into the conversation. In some embodiments, device 100 determines that the recorded message should not be sent based on characteristics of the message (e.g., no human voice was detected or the message duration was too long, thus indicating an unexpected message sending and thus wasting computing resources). This aspect is Fig.22D As shown in the figure, in some embodiments, device 100 displays a message enable representation 2214 for indicating that the message has been recorded but not automatically sent when the device is lowered. Instead, device 100 displays an enable representation 2216, which, when selected, sends a message to a specified contact.
[0304] like Fig.23A As shown in , in some embodiments, device 100 displays an affordance 2302 for indicating a received message when device 100 operates in a locked state. The locked state may be a state in which device 100 restricts user interaction with device 100.
[0305] In some embodiments, such as Fig. 23B As shown in , in response to detecting a swipe gesture in a first direction on affordance 2302, device 100 displays a reply affordance 2304 for replying to the message. Fig.23C As shown in , in response to detecting contact on reply enable indication 2304, device 100 optionally displays instructions 2306 for instructing the user to raise the electronic device to record an audio message to be sent in a response message. In some embodiments, in response to detecting the raising of device 100, device 100 begins to move relative to the previous Figure 22A-22B The audio message is recorded as described above, and similarly in response to the subsequent lowering of the device, the device 100 is as described above with respect to Fig. 22C Send an audio message as described.
[0306] Return to Fig.23AIn response to detecting a swipe gesture in the opposite direction on enable indication 2302, device 100 optionally prompts the user to unlock device 100, and in some embodiments, after device 100 is unlocked, device 100 displays the received message as part of a displayed message conversation.
[0307] In some embodiments, such as Fig.24A As shown in , device 100 displays a notification 2402 of the received audio message in a notification area 2404 of the display. Fig. 24B As shown in , in response to detecting a contact such as a downward drag or tap on notification 2402 or notification area 2404, in some embodiments, device 100 displays a user interface having a play enable indication 2406 for playing an audio message, an audio capture enable indication 608 for recording a reply audio message, and a cancel enable indication 2408 for exiting the user interface. In some embodiments, as Fig.24C As shown in FIG. 1 , in response to detecting contact on audio capture enable representation 608, device 100 displays a visually distinguished area 2410 having multiple enable representations for recording and sending audio messages, such as with respect to FIG. Fig.6D and Fig. 20 As shown and described.
[0308] Similar to the process described above for recording audio messages, in some embodiments, device 100 can play, record, and send messages in response to detecting the raising and lowering of device 100. In such embodiments, device 100 can use facial recognition technology to determine whether device 100 is raised to a suitable position for playback or recording a video message.
[0309] In some embodiments, the media captured by the device 100 using the above-described user interface includes metadata. Such metadata may include, for example, an indication of the location of the device 100. In some embodiments, the device 100 provides an option to allow the user to specify whether to block the sending of metadata with the media.
[0310] As previously described, the device 100 can send and receive messages containing media (e.g., audio, video, or images), text, or both. In some embodiments, if the device 100 receives multiple messages within a time interval, and the received messages meet the message grouping criteria, the device 100 presents the messages in a single grouped defined message area, rather than in multiple defined message areas. The time interval can be, for example, in the range of 10 seconds to ten minutes.
[0311] Grouping the representations of messages in this manner can reduce the amount of area required in the message area for displaying the messages and can reduce the clutter associated with receiving multiple messages. Grouping can be particularly useful for audio messages so that they can be compressed into a smaller representation for display.
[0312] In some embodiments, the message grouping criteria include a criterion that is met when the number of messages exceeds a numerical threshold. For example, if the device 100 receives a certain number of consecutive messages within the time interval and the number exceeds the numerical threshold, the device 100 may optionally determine that the message meets the message grouping criteria and display a representation of the message within the message area defined by the single group. For example, the numerical threshold may be 3, 5, 7, or 10 messages received within the time interval.
[0313] In some embodiments, the message grouping criteria include criteria that are met when the received messages are separated from each other by less than a threshold amount of time. For example, consecutive messages separated from each other by less than 30, 20, 10, or 5 seconds may meet the message grouping criteria. For example, if the device 100 receives a text message and then receives an audio message less than 30 seconds later, the device 100 may optionally determine that the message meets the message grouping criteria and display a grouped representation of the messages in the conversation.
[0314] In some embodiments, the message grouping criteria are based on the type of message received. For example, if the device 100 receives multiple consecutive audio messages within the time interval, the device 100 may optionally determine that the message meets the message grouping criteria. However, if the device 100 receives an intermediate message that is not an audio message, the device 100 may optionally determine that the received message does not meet the message grouping criteria and display a representation of the received message in the independently defined message area.
[0315] In some embodiments, the message grouping criteria are based on the sender of the message. For example, consecutive messages received from a single participant in a message conversation may meet the message grouping criteria, but consecutive messages received from different participants may not meet the message grouping criteria.
[0316] In some embodiments, the message grouping criteria are based on whether the messages all have the same read status. In some embodiments, the read status corresponds to whether the message has been read, played, or viewed. For example, all unread (e.g., unplayed) continuous audio messages may meet the message grouping criteria, but continuous audio messages with different read statuses, i.e., some of the continuous audio messages have been played and some of the continuous audio messages have not yet been played, may not meet the message grouping criteria.
[0317] Fig.25AAn example of displaying representations of multiple audio messages that meet the message grouping criteria in a grouped defined message area 2502 is shown. In some embodiments, in addition to or instead of displaying a playback enable representation 2506 for each individual audio message, device 100 displays a full play enable representation 2504 for playing all grouped audio messages. In some embodiments, device 100 plays back all grouped audio messages in response to detecting a lift of device 100. In some embodiments, device 100 displays instructions for instructing the user to lift device 100 to play all multiple grouped audio messages.
[0318] exist Fig.25A In the embodiment shown in , each of the audio messages is represented by a separate waveform image. However, in some embodiments, the device 100 plays a single composite waveform that represents multiple grouped audio messages.
[0319] Fig.25B An example of displaying multiple audio messages that do not meet the message grouping criteria in multiple defined message areas 2508 is shown.
[0320] In some embodiments, in response to detecting a contact on the defined message area 2502 of the group, e.g. Fig.25A As shown, the device 100 displays the audio message represented by the grouped defined message areas 2502 in the independent defined message area 2508, for example, as shown in FIG. Fig.25B shown.
[0321] Fig.25C An example of displaying thumbnail representations of multiple image messages 2510 that meet message grouping criteria in a grouped defined message area 2512 is shown. Fig.25D An example of a representation of multiple image messages that do not meet the message grouping criteria are displayed in multiple defined message areas 2514.
[0322] In some embodiments, in response to detecting a contact on the defined message area 2512 of the group, e.g. Fig.25C As shown, the device 100 displays a representation of the image message in a separate defined message area 2514, such as Fig.25D shown.
[0323] like Fig.25EAs shown in , in some embodiments, in response to detecting a contact representing multiple image or video messages on a grouped defined message area 2512, the device 100 displays thumbnails 2518 representing the images or videos in a slideshow 2516 on the display. In some embodiments, the thumbnails 2518 displayed in the slideshow 2516 are larger than the thumbnails displayed in the defined message area and are optionally scrollable.
[0324] Because the above-mentioned user interface makes it easy for participants to exchange media in a message session, in some cases, participants can exchange a lot of media messages in a session. For example, participants can exchange multiple short audio messages during a message session. In some cases, such exchanged messages can be used as fast notification communications that do not need to be maintained, and may cause the participant's message session display to be confusing. Therefore, in some embodiments, the device 100 schedules the message to stop being displayed in the session based on meeting a certain cutoff standard. In some embodiments, stopping displaying the message includes deleting the message from the device 100. The purpose of automatic deletion is not privacy, but to avoid using instant messages to confuse the session.
[0325] In some embodiments, the cut-off criteria are based on whether the message contains any media content, or based on what kind of media content the message contains. For example, an audio message may have a different cut-off criteria than a video message. In some embodiments, text messages do not have any cut-off criteria, and therefore are never automatically deleted.
[0326] In some embodiments, the cutoff criteria is based on a time interval. In some embodiments, the time interval can be measured from the time the media was captured (e.g., for a session participant that captured the media) or from the time the media was played (e.g., for a session participant that received the media). In some embodiments, the cutoff criteria for the message is different for a first participant than for a second participant. In some embodiments, the time interval can be, for example, 1 minute, 2 minutes, 3 minutes, 4 minutes, 5 minutes, or 10 minutes.
[0327] In some embodiments, the cutoff criteria are based on whether the media object is used, for example, as described above with respect to Figure 6A-Figure 14 The message user interface is captured using a different application such as a camera application. In some embodiments, the message user interface is captured using a different application such as a camera application. Figure 6A-Figure 14 The fast media capture method described above captures and adds media to a conversation that can be used for informal instant communication and can be used in different ways such as relative to Figures 15A-18C The media selector interface is added to the session's media with different cutoff criteria.
[0328] Those skilled in the art will appreciate that the exemplary cut-off criteria described above may be combined or modified in many ways.
[0329] In some embodiments, such as Fig.26 As shown in , device 100 provides an indication of the cutoff criteria 2602 in a representation of the message. Fig.26 In the illustrated embodiment, the indication of the cut-off criteria 2602 includes a time interval after which the messages will cease to be displayed in the message conversation.
[0330] like Fig.26 As shown in , in some embodiments, device 100 displays a hold enable indication 2604 for holding a message that should have been deleted after the cutoff criteria were met. In some embodiments, in response to detecting a selection of hold enable indication 2604, device 100 ignores the cutoff criteria and continues to display the message in the conversation. In some embodiments, in response to detecting a contact on hold enable indication 2604, device 100 stops displaying an indication of the cutoff criteria and / or stops displaying the hold enable indication.
[0331] In some embodiments, using Figure 6A-Figure 14 Media messages used for informal instant communication are not added to a media library (such as the camera roll or audio library) when sent or received, but are used Figures 15A-18C The media message added to the session by the interface described in is added to the media library. In some embodiments, keeping the media message (e.g., by selecting to keep the affordance) adds the media to the media library.
[0332] In some embodiments, a message sent from a first participant to a second participant in a messaging conversation having an associated cutoff criterion may or may not be retained by the first participant, the second participant, or both.
[0333] like Fig.27A As shown in , after sending an audio message from a first participant to a second participant in a messaging session, the device 100 optionally provides an indication 2702 to the first participant that the audio message has been delivered to the second participant. Fig.27B As shown in , in response to detecting that the second participant has played at least a portion of the audio message, the device 100 optionally provides an indication 2704 to the first participant indicating that the audio message has been played. Fig.27C , in response to detecting that the second participant has selected the hold affordance associated with the audio message, device 100 optionally provides an indication 2706 to the first participant that the second participant has held the message. In some embodiments, the indicator of the held message replaces the indicator that the message has been delivered or played / viewed / read.
[0334] In some embodiments, device 100 may also send static location information or share dynamic location information between two or more participants in a message conversation, and display the location information of the two or more participants on a map.
[0335] In some embodiments, such as Fig.28A As shown in , when displaying a message conversation, device 100 displays a detail affordance 2702 for displaying additional details about the message conversation. Fig.28B As shown in , in some embodiments, in response to detecting contact on a detail enable representation, device 100 displays a representation 2704 (e.g., a thumbnail or waveform) of media exchanged during the session, a send location enable representation 2706 for sending current location information of device 100 to one or more participants in the session, and a share location enable representation 2708 for sharing location information of device 100 with one or more participants for a predetermined time.
[0336] In some embodiments, in response to detecting a selection to send location affordance 2706, device 100 provides current location information of device 100 to participants in the messaging conversation. Fig.28C As shown, in some embodiments, device 100 inserts a map 2710 into the session for depicting current location information. In some embodiments, the location information sent in response to detecting contact on send location affordance 2706 is static and is not subsequently updated based on changes in the location of device 100.
[0337] like Figure 29A-29B As shown in , in some embodiments, in response to detecting a selection of share location affordance 2708, device 100 displays user interface 2902 for selecting a predetermined time period during which location information will be shared. In response to detecting the selection of one of the predetermined time periods, device 100 provides information to participants in the messaging session, thereby enabling the participants to determine the location of device 100 during the selected time period. In some embodiments, providing the information causes a remote electronic device used by the participant to receive the information to prompt the participant to share his or her location with the user of device 100. In some embodiments, after the selected time period has elapsed, device 100 may stop sharing location information with the participant.
[0338] In some embodiments, enabling a participant to determine the location of device 100 includes enabling the participant to request information about the location of device 100 from a location server to which device 100 sends location information.
[0339] like Fig.29CAs shown in , in some embodiments, when sharing location information, device 100 displays a stop sharing enable indication 2904 for stopping sharing the location information with the participants before the time period has passed.
[0340] In some embodiments, device 100 may receive location information from another participant in the message conversation. In some embodiments, in response to receiving the location information, such as Fig.30 As shown in , device 100 prompts the user of device 100 to share its location information with other participants. In some embodiments, in response to detecting that the user has chosen to share its location information, device 100 provides information to other participants so that the participants can determine the location of device 100. Fig.29B As mentioned, device 100 may optionally allow a user to select a predetermined time period during which location information will be shared.
[0341] As described above, in some embodiments, device 100 receives shared location information from participants in a message session. In some embodiments, the location information includes the location of the external device. In some embodiments, in response to receiving the location information, device 100 displays a map that depicts the location of the electronic device and the location of the external device.
[0342] like Fig.31 As shown in , in some embodiments, device 100 may receive shared location information from multiple participants in a message conversation and, in response, display a map 3102, depicting the locations 3104 of the multiple participants and the location 3106 of device 100 (on the same map). In some embodiments, device 100 displays information 3108 about each of the participants whose locations are displayed on the map.
[0343] In some embodiments, any of the multiple participants in the conversation may add or remove one or more other participants to or from the conversation, or may change the name of the messaging conversation.
[0344] like Fig.32A As shown in , in some embodiments, in response to detecting a contact on map 3202 in the messaging session, device 100 displays a larger version of map 3204. In some embodiments, in response to detecting a contact on larger map 3204, device 100 displays a satellite image 3206 of location information shared by participants in the messaging session, a map image 3208 of the location information, and affordances for displaying directions 3210 to the location information or directions 3212 from the location information.
[0345] As before relative to Figure 28A-28C and Figure 29A-29CAs described, in some embodiments, device 100 provides a message user interface that allows participants to easily send their current locations to each other or share their locations with each other within a predetermined time period.
[0346] In some embodiments, after a predetermined period of time has passed, device 100 changes the displayed map (e.g., Fig.28C In some embodiments, in response to detecting contact on the map after a predetermined period of time has passed, device 100 displays an affordance indicating that location information is no longer shared.
[0347] Fig.33 3300 is a flowchart showing a process for quickly capturing and sending media. The process may be performed on an electronic device having a display and a touch-sensitive surface, such as device 100 ( Figure 2 ) performs process 3300. At box 3302, the device displays a media enable representation and a message area for displaying messages sent between participants in the messaging session on its touch-sensitive display. At box 3304, the device detects a gesture on the touch-sensitive surface, including detecting a contact at a location on the touch-sensitive surface corresponding to the location of the media enable representation on the display. At box 3306, in response to detecting the contact, the device displays a send enable representation on its touch-sensitive display. At box 3308, the device detects a continuation of the gesture, including detecting movement of the contact on the touch-sensitive surface, followed by detecting that the contact is lifted from the touch-sensitive surface. At box 3310, the device determines whether the contact moves to a location on the touch-sensitive surface corresponding to the location of the send enable representation on the display. At box 3312, based on determining that the contact moves to a location on the touch-sensitive surface corresponding to the location of the send enable representation and in response to detecting the lift, the device sends media captured in response to at least a portion of the gesture to the participants in the messaging session. Optionally, in some embodiments, in response to detecting the contact shown in box 3304, the device may display a cancel enable indication on the display, determine whether the contact moves to a position on the touch-sensitive surface corresponding to the position of the cancel enable indication on the display, and based on determining that the contact moves to a position on the touch-sensitive surface corresponding to the position of the cancel enable indication and then detecting a lift, the device may abandon sending the captured media to the participant. In some embodiments, based on determining that the contact has not moved to a position on the touch-sensitive surface corresponding to the position of the send enable indication nor to a position on the touch-sensitive surface corresponding to the position of the cancel enable indication and in response to detecting a lift, the device may display a message in the message writing field with a message indicating the captured media (represented by Fig.33In some embodiments, the device may stop capturing media (represented by B in FIG. 1 ) based on determining that the contact has not moved to a position on the touch-sensitive surface that corresponds to a position for sending an indication and has not moved to a position on the touch-sensitive surface that corresponds to a position for canceling an indication and in response to detecting movement. Fig.33 B' in the figure indicates that
[0348] It should be noted that the above process relative to process 3300 (eg Fig.33 and Figure 6A-Figure 14 ) also apply in a similar manner to the other processes described herein. For example, processes 3400, 3500, 3600, 3700, 3800, 3900, 4000, 4600, and 4900 may include one or more features of the various processes described above with reference to process 3300. For the sake of brevity, these details are not repeated in the descriptions of the other processes. The various methods and techniques described above with reference to process (method) 3300 may optionally be implemented as one or more units, such as with reference to Fig.50 Those described.
[0349] Fig.34 3400 is a flowchart illustrating a process for fast video capture. The process may be performed on an electronic device having a display and a touch-sensitive surface, such as device 100 ( Figure 2 ) performs process 3400. At box 3402, the device displays a media enable representation and a message area on a display for displaying messages sent between participants in a message conversation. At box 3404, the device detects a first input corresponding to the position of the media enable representation on the display on the touch-sensitive surface. At box 3406, in response to detecting the first input, the device displays a record enable representation and a send enable representation. At box 3408, the device detects a second input corresponding to the position of the record enable representation on the display on the touch-sensitive surface. At box 3434, in response to detecting the second input, the device starts recording a video. At box 3412, the device detects a third input corresponding to the position of the send enable representation on the display on the touch-sensitive surface. At box 3414, in response to detecting the third input, the device sends the recorded video to the participant and removes the send enable representation and the record enable representation from the display. Optionally, at box 3414, the device may insert a thumbnail representation of the recorded video into the displayed message conversation in response to detecting the third input.
[0350] It should be noted that the above process relative to process 3400 (eg Fig.34 , Figure 10A-10B and Figure 12A-Figure 14) also apply in a similar manner to the other processes described herein. For example, processes 3300, 3500, 3600, 3700, 3800, 3900, 4000, 4600, and 4900 may include one or more features of the various processes described above with reference to process 3400. For the sake of brevity, these details are not repeated in the descriptions of the other processes. The various methods and techniques described above with reference to process (method) 3400 may optionally be implemented as one or more units, such as with reference to Fig.51 Those described.
[0351] Fig.35 3500 is a flow chart showing a process 3500 of responding to an audio message by raising an electronic device. The process 3500 may be performed on an electronic device having a display and a touch-sensitive surface, such as device 100 ( Figure 2 ) performs process 3500. At box 3502, the device displays a representation of a first audio message received from a first participant in a message conversation. At box 3504, the device detects a request to play the first audio message. Optionally, at box 3504, in some embodiments, the device detects a request to play the first audio message by detecting independently raising the device while displaying the representation of the first audio message. Optionally, at box 3504, in some embodiments, the device detects a request to play the first audio message by detecting a contact at a position on the touch-sensitive surface corresponding to the position of the displayed representation of the first audio message. At box 3506, in response to detecting the request, the device plays the first audio message. At box 3508, after playing the first audio message, the device detects the raising of the device. At box 3510, in response to detecting the raising of the device, the device records a second audio message. Optionally, at box 3510, while recording the second audio message, the device may detect the lowering of the device, and in response to detecting the lowering of the device, the device may stop recording the second audio message. At block 3512, after recording the second audio message, the device sends the second audio message to the first participant. Optionally, at block 3512, in response to detecting lowering of the device, after stopping recording the second audio message, the device may send the second audio message to the first participant.
[0352] It should be noted that the above process relative to process 3500 (eg Fig.35 and Figure 21A-Figure 24C) also apply in a similar manner to the other processes described herein. For example, processes 3300, 3400, 3600, 3700, 3800, 3900, 4000, 4600, and 4900 may include one or more features of the various processes described above with reference to process 3500. For the sake of brevity, these details are not repeated in the descriptions of the other processes. The various methods and techniques described above with reference to process (method) 3500 may optionally be implemented as one or more units, such as with reference to Fig.52 Those described.
[0353] Fig.36 3600 is a flowchart illustrating a process for message grouping. The process may be performed on an electronic device having a display and a touch-sensitive surface, such as device 100 ( Figure 2 ) performs process 3600. At box 3602, the device receives multiple messages from the first participant within a certain time interval. At box 3604, the device determines whether the multiple messages meet the message grouping criteria. In some embodiments, the message grouping criteria may include a criterion that is met when the number of messages in the multiple messages exceeds a numerical threshold. In some embodiments, the message grouping criteria may include a criterion that is met when the multiple messages are separated from each other by less than a threshold time amount. In some embodiments, the message grouping criteria may include a criterion that is met when the multiple messages are consecutively adjacent messages. In some embodiments, consecutively adjacent messages may include messages with the same reading state without any intervening received messages with different reading states. At box 3606, based on determining that the multiple messages meet the message grouping criteria, the device displays a single group of defined message areas for representing the multiple messages. Optionally, at box 3606, in some embodiments where the grouped defined message area represents at least two audio messages, the device may receive a request for playing at least two audio messages in succession, and in response to receiving the request, play at least two audio messages in succession. At box 3608, based on determining that the multiple messages do not meet the message grouping criteria, the device displays multiple independent defined message areas for representing the multiple messages.
[0354] It should be noted that the above process relative to process 3600 (eg Fig.36 and Figure 25A-Figure 25E ) also apply in a similar manner to other processes described herein. For example, processes 3300, 3400, 3500, 3700, 3800, 3900, 4000, 4600, and 4900 may include one or more features of the various processes described above with reference to process 3600. For the sake of brevity, these details are not repeated in the descriptions of other processes. The various methods and techniques described above with reference to process (method) 3600 may optionally be implemented as one or more units, such as with reference to Fig.53 Those described.
[0355] Fig.37 3700 is a flowchart illustrating a process for managing message display based on cutoff criteria. The process may be performed on an electronic device having a display and a touch-sensitive surface, such as device 100 ( Figure 2 ) to perform process 3700. At block 3702, the device receives a first message. At block 3704, the device displays a representation of a first message on a display, the first message being scheduled to be deleted when a cutoff criterion is met. In some embodiments, the cutoff criterion may be based on a time interval. In some embodiments, the cutoff criterion may be based on whether the first message contains media. In some embodiments, the cutoff criterion may be based on whether the media is captured using a fast media capture method (such as relative to Figure 6A-Figure 14 At box 3706, the device displays an affordance for retaining the first message. At box 3708, based on determining that the affordance was selected before the cutoff criteria were met, the device retains the first message. Optionally, at box 3708, if the first message includes media, based on determining that the affordance was selected before the cutoff criteria were met, the device may save the media in a media library. In some embodiments, device 100 only saves media captured using a fast media capture method (such as relative to Figure 6A-Figure 14 In some embodiments, if the first message includes media and the cutoff is based on a time interval, the time interval may be measured from a time after the media is played. In some embodiments, if the first message includes media and the cutoff is based on a time interval, the time interval may be measured from a time when the media was created. At box 3710, based on determining that the cutoff criteria are met and no selection-enabling indication is detected, the device stops displaying a representation of the first message on the display. Optionally, at box 3710, the device may receive a second message that is not deleted based on the cutoff criteria.
[0356] It should be noted that the above process relative to process 3700 (eg Fig.37 and Figure 26-27C ) also apply in a similar manner to other processes described herein. For example, processes 3300, 3400, 3500, 3600, 3800, 3900, 4000, 4600, and 4900 may include one or more features of the various processes described above with reference to process 3700. For the sake of brevity, these details are not repeated in the descriptions of other processes. The various methods and techniques described above with reference to process (method) 3700 may optionally be implemented as one or more units, such as with reference to Fig.54 Those described.
[0357] Fig.383800 is a flowchart showing a process for location sharing. The process may be performed on an electronic device having a display and a touch-sensitive surface, such as device 100 ( Figure 2 ) at a touch-sensitive display. At box 3802, the device displays a message area on a display for displaying messages sent between a first participant and a second participant in a messaging session. At box 3804, the device displays a shared location indicator for sharing a location between the first participant and the second participant when the location changes over at least a predetermined time period. At box 3806, the device detects contact at a location on the touch-sensitive display corresponding to the location of the shared location indicator on the display. At box 3808, in response to detecting contact at a location on the touch-sensitive display corresponding to the location of the shared location indicator, the device provides information to the second participant, thereby enabling the second participant to determine the current location of the first participant during at least a predetermined time period. In some embodiments, the device may allow a user to select a time interval. Optionally, at box 3808, in response to detecting a contact at a location corresponding to a shared location affordance, the device may display at least two affordances corresponding to at least two predetermined time periods, detect a contact at a location on the touch-sensitive surface corresponding to a location of one of the at least two affordances on the display, and in response to detecting a contact at a location on the touch-sensitive surface corresponding to a location of one of the at least two affordances on the display, provide information to a second participant, thereby enabling the second participant to determine a current location of the first participant during the predetermined time period corresponding to one of the at least two affordances. Optionally, at box 3808, the device may receive location information from the second participant to dynamically indicate a location of the first external device, and display on the display the location of the electronic device on a map and the location of the first external device on the map. Optionally, at box 3808, the device may add a third participant to the message conversation, receive location information from the third participant to indicate a location of the second external device, and display on the display the location of the second external device on the map. Optionally, at box 3808, the device may display a detail indicator on the display along with the messaging conversation, detect contact at a location on the touch-sensitive surface that corresponds to the location of the detail indicator on the display, and in response to detecting contact at a location on the touch-sensitive surface that corresponds to the location of the detail indicator on the display, display a map showing the locations of two or more participants in the messaging conversation who have shared their locations.
[0358] It should be noted that the above process relative to process 3800 (eg Fig.38 and Figures 28A-32C) also apply in a similar manner to the processes described herein. For example, processes 3300, 3400, 3500, 3600, 3700, 3900, 4000, 4600, and 4900 may include one or more features of the various processes described above with reference to process 3800. For the sake of brevity, these details are not repeated in the descriptions of other processes. The various methods and techniques described above with reference to process (method) 3800 may optionally be implemented as one or more units, such as reference Fig.55 Those described.
[0359] Fig.39 3900 is a flowchart illustrating a process 3900 for adding media to a message conversation. Process 3900 may be performed on an electronic device having a display, a touch-sensitive surface, and a camera sensor. At box 3902, the device displays a message area on the display for displaying a message conversation. At box 3904, the device receives a request for adding media to the message conversation. At box 3906, in response to receiving the request, the device simultaneously displays a media selection interface with at least a portion of the message conversation, the media selection interface including multiple affordances for selecting media to be added to the message conversation, at least a subset of the multiple affordances including thumbnail representations of media that can be added to the message conversation. At box 3908, the device detects a selection of a corresponding affordance from the multiple affordances. At box 3910, in response to detecting a selection of the corresponding affordance, the device selects the corresponding media for adding to the message conversation. Optionally, at box 3910, in response to detecting a selection of the corresponding affordance, the device may add the media to the message conversation. Optionally, at box 3910, if the multiple enabled representations include a live preview enabled representation, the device may detect contact at a location on the touch-sensitive display that corresponds to the location of the live preview enabled representation on the display, and in response to detecting contact at a location on the touch-sensitive display surface that corresponds to the location of the live preview, capture a new image based on the live camera preview and select the new image for addition to the messaging conversation.
[0360] It should be noted that the above process relative to process 3900 (eg Fig.39 and Figures 15A-18C ) also apply in a similar manner to the processes described herein. For example, processes 3300, 3400, 3500, 3600, 3700, 3800, 4000, 4600, and 4900 may include one or more features of the various processes described above with reference to process 3900. For the sake of brevity, these details are not repeated in the descriptions of other processes. The various methods and techniques described above with reference to process (method) 3900 may optionally be implemented as one or more units, such as with reference to Fig.56 Those described.
[0361] Fig.40 4000 is a flowchart illustrating a process 4000 for initiating an audio operation. The process 4000 is performed at an electronic device (e.g., device 100) having a display (e.g., display 112 of device 100) and a microphone (e.g., microphone 113 of device 100). At block 4002, the device initiates a sound based on the motion of the electronic device and one or more proximity sensor readings (e.g., via Fig. 21B ) to detect a change in device context. At box 4004, the device determines whether the device meets the audio operation standard in response to detecting a change in device context. For example, the audio operation standard includes a standard that is met when the movement of the electronic device meets the movement standard and one or more proximity sensor readings meet the proximity standard. At box 4006, the device initiates an audio operation based on determining that the change in device context meets the audio operation standard. At box 4008, the device abandons initiating an audio operation based on determining that the change in device context does not meet the audio operation standard.
[0362] Advantageously, process 4000 enables a user to initiate an audio operation using a simple gesture (e.g., by raising the phone to the user's ear). Process 4000 reduces the need for a user to check a device and select an affordance thereon in order to initiate an audio operation such as sending an audio message. In addition, the mobility criteria and proximity criteria are combined to beneficially reduce the amount of erroneous audio operations. Both the increased efficiency of the user interface and the reduced occurrence and duration of erroneous audio operations reduce energy usage of the device, which is particularly important for battery-powered devices, where reduced energy usage extends battery life.
[0363] In some embodiments, the device takes Figure 21A-Figure 22C In some embodiments, using device 100 ( Figure 1A ) and optional sensors on the display to track the movement of the device. In some embodiments, the movement criterion is met when the device is in an orientation different from one or more predetermined orientations (e.g., met when the device is upside down). In some embodiments, the movement criterion is met when the device takes a generally upward trajectory or an upward trajectory in which the device rotates from having its display nearly parallel to the earth's surface (e.g., when a user is viewing an indication of a communication on the display) to having its display nearly perpendicular to the earth's surface (e.g., when a user raises the device to place it next to the user's ear to listen to or record an audio message).
[0364] In some embodiments, when the phone is in front of the user's face, Fig. 21BIn some embodiments, the proximity sensor reading is provided by the proximity sensor 166 of the device 100, and the proximity criterion is met when the sensor indicates a very nearby (e.g., within a few inches) object (which may be the user's face).
[0365] Fig.41A and Fig.41B 4000. Fig.40 ) flow chart. In some embodiments, at block 4002 ( Fig.40 ) Fig.41A At block 4102, the device receives a communication, such as an audio message, a text message, a voicemail, a phone call. At block 4104, in response to receiving the communication and before detecting a change in the device context (e.g., Fig.40 4004 of process 4000), the device provides an indication that a communication has been received. Possible indications include a visual notification (e.g., a message reception banner or an application-specific display, such as a message bubble), a tactile notification (e.g., a vibration), or an audio notification (e.g., a beep or ringtone). Possible indications include those displayed in a user interface locked state and those displayed in a user interface unlocked state. In some embodiments, displaying an indication that a communication has been received involves launching a messaging application. A messaging application is a messaging application that is configured to handle short messages via services such as SMS and MMS and / or, for example, via services such as provided by Apple, Inc. (Cupertino, California). An application that handles text messages.
[0366] At block 4106, the device plays the audio component of the received communication before detecting the change in the context of the device. For example, if the communication includes a message having an audio component that is not played by the device, such as a new audio message, the audio operation includes playing the audio component of the message. As another example, if the communication includes a voicemail message, the voicemail message is played.
[0367] Go to Fig.41B In some embodiments, at block 4002 ( Fig.40) at the optional process 4108 and 4110. At box 4108, before detecting the change in the context of the device, the device detects that it is in the audio message context. For example, when the device receives an incoming message with an audio component (optionally in a recent window), it is determined that it is in the message context. As another example, when the message application is active, the device determines that it is in the message context. At box 4110, the device detects the change of the device only when the electronic device is in the audio message context (for example, when the communication application is opened or the communication is recently received). The advantageous effect of processes 4108 and 4110 is that the accelerometer and / or proximity sensor required for detecting the rise and speech movement can be turned off (or at least monitored to be inactive) when the device leaves the audio context, thereby reducing power usage (for example, reducing the resources used to monitor the change in the context of the device and reducing the resources used to record and process the audio from the false positive detection), thereby saving power and extending the battery life of the device.
[0368] In some embodiments, as described above, at box 4110, the device monitors changes in the device context only when the electronic device is in the audio message context. In some embodiments, even when the multimedia messaging application is open, the device does not monitor changes in the device context that meet the audio operation criteria unless the currently selected conversation in the multimedia messaging application includes at least one message with an audio component (e.g., an audio component recorded and sent by a user or one of the other participants in the conversation). As described above, reducing the situation in which the device monitors changes in the device context reduces the power usage of the device, thereby saving power and extending the battery life of battery-operated devices. In addition, reducing the situation in which the device monitors changes in the device context reduces the possibility of false positive initiation of audio operations (e.g., starting to record audio when the user picks up the device and placing it on a dresser when in a news application), thereby improving the overall quality of the user experience.
[0369] Figure 42A-43C 4000. Fig.40 ) flow chart. Go to Fig.42A In some embodiments, at block 4004 ( Fig.40 ) to perform optional process 4202. At block 4202, the device determines whether a message was received within a predefined time interval before detecting a change in the device context, and playing the audio component of the message includes playing the audio component of the message if the message was received within the predefined time interval. If the message was not received within the time interval, block 4202 (and thus block 4004) provides a "no" result, and the process proceeds to block 4008 ( Fig.40), where the device forgoes the opportunity to initiate an audio operation such as recording a new audio message. If a message is received within the time interval, block 4202 provides a "yes" result, and if the other requirements in block 4004 are also met, the process proceeds to block 4006 ( Fig.40 ), wherein the device can initiate an audio operation such as recording a new audio message. For example, the newly recorded audio message is a response to the received communication.
[0370] Go to Fig.42B In some embodiments, at block 4004 ( Fig.40 ) to perform optional process 4204. Recall that in some embodiments, the device has played the audio component of the received communication before reaching process 4204. In these cases, the device may perform optional block 4204 to determine whether the detected change in device context occurred within a predetermined time period for playing the audio message. If the change in device context occurred outside of the time interval, block 4204 (and thus block 4004) provides a "no" result, and the process proceeds to block 4008 ( Fig.40 ), where the device forgoes the opportunity to initiate an audio operation such as recording a new audio message. If a change in context is detected within a predetermined time period from the time the audio component is played, block 4204 provides a "yes" result, and if the other requirements within block 4004 are also met, the process proceeds to block 4006, where the device may initiate an audio operation such as recording a new message.
[0371] Go to Fig.43A In some embodiments, at block 4004 ( Fig.40 ) at the optional process 4302. At block 4302, the device determines the end of the movement and the orientation of the electronic device at the end of the movement. For example, determining the end of the movement includes determining that the movement exceeds a predefined threshold speed (e.g., 0.75 ft s -1 , 1ft s -1 , 1.5ft s -1 , 2ft s -1 ), the device has moved above a threshold amount (e.g., a noise filter value determined by one of ordinary skill in the art taking into account the precise accelerometer used) within no more than a time period (e.g., .5s, .75s, 1s, 1.25s, 1.5s) after the device has moved above a threshold amount (e.g., a noise filter value determined by one of ordinary skill in the art taking into account the precise accelerometer used). For example, determining the orientation of the device includes determining whether the device is in a predetermined orientation (e.g., facing down or facing up, microphone down or microphone up). In some embodiments, the movement criterion is met when the electronic device is not in a predetermined orientation (e.g., facing down) at the end of the movement.
[0372] Advantageously, the effect of this feature is to reduce instances of erroneous audio operations. Because some device orientations are improperly associated with audio operations, preventing audio operations when the device is in those orientations reduces instances of erroneous audio operations. Both the improved user interface efficiency and the reduced occurrence and duration of erroneous audio operations reduce the energy usage of the device, which is particularly important for battery-powered devices, where reduced energy usage extends battery life.
[0373] In some embodiments, the electronic device includes a speaker located on a surface of the device and in a predetermined orientation (e.g., Figure 2 In some embodiments, the electronic device includes a speaker and the microphone is located above the earphone in the predetermined orientation (e.g., relative to gravity). If the orientation of the device at the end of the movement does not meet the movement criteria, block 4302 (and thus block 4004) provides a "no" result and the process proceeds to block 4008 ( Fig.40 ), where the device forgoes the opportunity to initiate an audio operation such as recording a new audio message. If the device orientation meets the movement criteria at the end of the move, block 4302 provides a "yes" result, and if the other requirements in block 4004 are also met, the process proceeds to block 4006, where the device may initiate an audio operation such as recording a new message.
[0374] Go to Fig.43B In some embodiments, at block 4004 ( Fig.40 ) to perform optional process 4304. At block 4304, the device determines whether the proximity sensor reading indicates that an object proximate to the electronic device is detected within a predetermined time period after movement is detected that satisfies the movement criteria. The proximate object is optionally within, for example, 0.01, 0.02, 0.05, 1, 2, or 5 inches of the device, or within another reasonable threshold. The predetermined time period includes, for example, 0.5, 0.75, 1, 1.25, or 1.5 seconds. If a proximity sensor reading is detected outside of this time period, block 4304 (and thus block 4004) provides a "no" result, and the process proceeds to block 4008 ( Fig.40 ), where the device forgoes the opportunity to initiate an audio operation such as recording a new audio message. If a proximity sensor reading is detected within the time period, block 4304 provides a "yes" result, and if the other requirements within block 4004 are also met, the process proceeds to block 4006, where the device may initiate an audio operation such as recording a new message.
[0375] Go to Fig.43C In some embodiments, at block 4004 ( Fig.40) to perform optional process 4306. At block 4306, the device determines whether the electronic device is in a predetermined orientation within a predetermined time period (e.g., 3 seconds) to determine that the movement satisfies the movement criteria and the one or more proximity sensor readings satisfy the proximity criteria. If the device is in the predetermined orientation within the predetermined time period, then the device does not meet the audio operation criteria, in which case block 4306 (and thus block 4004) provides a "no" result and the process proceeds to block 4008 ( Fig.40 ), where the device forgoes the opportunity to initiate an operation such as recording a new audio message. If the device is not in a predetermined orientation within the time period, block 4304 provides a "yes" result, and if the other requirements within block 4004 are also met, the process proceeds to block 4006, where the device may initiate an audio operation such as recording a new message.
[0376] Figure 44A-Figure 45C is an optional sub-process within block 4006 of process 4000 ( Fig.40 ). In some embodiments, block 4006 includes Fig.44A Optional processes 4402-4406 shown in FIG. In block 4402 ( Fig.44A ), after initiating the audio operation, the device determines whether the electronic device is in a predetermined orientation. If so, the process proceeds to box 4404, where, based on determining that the electronic device is in a predetermined orientation, the device ends the audio operation. Ending the audio operation optionally includes stopping playback of the audio and / or stopping recording the audio; optionally, deleting any recorded audio; optionally, storing the recorded audio and prompting the user to deliver the recorded audio. If not, the process proceeds to box 4406, where, based on determining that the electronic device is not in a predetermined orientation, the device abandons ending the audio operation.
[0377] In some embodiments, the electronic device includes a speaker (e.g., speaker 111 of device 100) located on a surface of the device and in a predetermined orientation, the surface facing downward (e.g., relative to gravity). In some embodiments, the electronic device includes headphones, and in the predetermined orientation, the microphone is located above the headphones (e.g., relative to gravity).
[0378] Go to Fig.44B In some embodiments, at block 4006 ( Fig.40) performs optional processes 4408-4410. At box 4408, after initiating the audio operation, the device detects whether the characteristic movement of the electronic device is above a predetermined threshold. The characteristic movement may be based on the output (average), peak output, output duration, or repetition rate of the accelerometer over time. An exemplary characteristic movement of an inappropriate audio message situation is swiping the phone on the sleeve. At box 4410, in response to detecting that the characteristic movement of the electronic device is above a predetermined threshold, the device ends the audio operation. Ending the audio operation optionally includes stopping playback of audio and / or stopping recording audio; optionally, deleting any recorded audio; optionally, storing the recorded audio and prompting the user to deliver the recorded audio.
[0379] These features relate to the ability to terminate an audio operation after the audio operation has begun, which has the following beneficial effect: reducing the impact on the user experience due to erroneous audio operations. It is beneficial to quickly initiate an audio operation, thereby improving responsiveness and enhancing the user experience. In such cases, many situations appear to be that the user wants to initiate an audio operation. For example, raising the phone and placing it in a pocket can trigger movement criteria and proximity sensor criteria. The above characteristic movement and predetermined orientation are unlikely to be associated with audio. Terminating the audio operation when those movements and / or orientations are detected advantageously reduces the amount of erroneous audio operations without affecting the user's perception of the device's responsiveness. Both the improved user interface efficiency and the reduced occurrence and duration of erroneous audio operations reduce the energy use of the device, which is particularly important for battery-powered devices, where reducing energy use extends battery life.
[0380] Return to Fig.44C In some embodiments, block 4006 ( Fig.40 ) includes optional processes 4412-4416. As described above, recall that the device may initiate the recording of a new message due to upstream processing. At box 4412, the device determines whether the message includes speech. To detect speech, the device optionally compares the detected signal with known characteristics of the speech waveform: if the recorded data includes one or more known characteristics of the speech waveform, the device determines that the message includes speech; if there is no one or more such characteristics in the data, the device determines that the message does not include speech. At box 4414, the device ends recording the message based on determining that the message does not include speech. Ending the audio operation optionally includes stopping playback of audio and / or stopping recording audio; optionally, deleting any recorded audio; optionally, storing the recorded audio and prompting the user to deliver the recorded audio. At box 4416, the device abandons ending the recording of the message based on determining that the message does include speech.
[0381] Go to Fig.45AIn some embodiments, at block 4006 ( Fig.40 ) performs optional processes 4502-4504 at. After playing the voicemail message, the device detects a pumping motion of the electronic device at block 4502. The pumping motion optionally includes a downward motion followed by an upward motion (e.g., a motion that meets audio operation criteria). Figure 22A-22C An exemplary pumping motion is shown.At block 4504, the device initiates a telephone call to a telephone number associated with the voicemail message in response to detecting the pumping motion (eg, the device calls the phone back).
[0382] Go to Fig.45B In some embodiments, at block 4006 ( Fig.40 ) place performs optional process 4506-4510.At box 4506, the device determines that the audio playback standard has been met.At box 4508, the device plays the audio corresponding to the received communication according to determining that the audio playback standard has been met.In some embodiments, the audio playback standard is included in the standard that meets when the communication includes the audio component that was not previously played on the device.In some embodiments, the audio playback standard is included in the standard that meets when receiving the communication within a predetermined time period when the change of the device context is detected.In some embodiments, the audio playback standard is included in the standard that meets when the communication corresponds to the communication prompt displayed on the device display when the change of the device context is detected (for example, the pop-up notification on the user interface lock screen, the pop-up notification covered on another user interface displayed on the display or the message in the conversation).At box 4508, the device abandons playback according to determining that the audio playback standard is not met.
[0383] Go to Fig.45C In some embodiments, at block 4006 ( Fig.40 ) performs optional processes 4512-4516. At box 4512, the device determines that the audio recording criteria have been met. At box 4514, the device determines to record the audio for responding to the received communication based on the audio recording criteria having been met. In some embodiments, the audio recording criteria include the criteria that are met when the user interface for the communication application is displayed on the display (e.g., a telephone dial pad application, a session of a multimedia messaging application that has sent or received at least one audio message). In some embodiments, the audio recording criteria include the criteria that are met when the audio component of the message is played within a predetermined time period when a change in the device context is detected. At box 4516, the device abandons the recording based on determining that the audio recording criteria have not been met.
[0384] It should be noted that the above process relative to process 4000 (eg Fig.40- Figure 45, Figure 21 and Figure 22) also apply in a similar manner to the processes described herein. For example, processes 3300, 3400, 3500, 3600, 3700, 3800, 3900, 4600 and 4900 may include one or more features of the various processes described above with reference to process 4000. For the sake of brevity, these details are not repeated in the description of other processes. The various methods and techniques described above with reference to process (method) 4000 can optionally be implemented as one or more units, such as reference Fig.57 Those described.
[0385] Fig.46 4600 is a flowchart showing a process for sending a message. In some embodiments, process 4600 is performed at an electronic device (e.g., device 100) having a display (e.g., display 112 of device 100) and at least one microphone (e.g., microphone 113 of device 100). At box 4602, the device detects one or more conditions interpreted as a request for recording an audio message for a specified contact. The specified contact optionally includes a person in a contact, an email, and a phone number associated with the received message or voicemail. However, in the absence of more content, an application that responds to voice input should not be considered a "contact". The specified contact is a contact identified (e.g., specified) by a user or device 100. At box 4604, the device generates an audio recording using at least one microphone in response to detecting one or more conditions. At box 4606, the device determines whether the audio recording meets the rejection criteria. At box 4608, the device sends the audio recording to the specified contact based on determining that the rejection criteria are not met. At box 4610, the device forgoes sending the audio recording to the specified contact based on determining that the rejection criteria are met.
[0386] Advantageously, process 4600 can reduce the sending of error messages. By monitoring the in-progress audio recording for rejection criteria, the device advantageously determines that the user has accidentally activated the audio recording or has changed his mind during the recording. This has the effect of improving customer satisfaction with the messaging system. Both the increased efficiency of the user interface and the reduced occurrence and duration of erroneous audio operations reduce the energy usage of the device, which is particularly important for battery-powered devices, where reduced energy usage extends battery life.
[0387] Optionally, one or more conditions in block 4602 include a change in device context or user input, such as described above with reference to process 4000 ( Fig.40 ) or other input in a messaging context such as having a multimedia messaging application displayed on a display.
[0388] In some embodiments, the rejection criteria in block 4606 is met when the duration of the audio recording exceeds a predetermined duration (e.g., 15 seconds). This feature advantageously prevents the audio recording from being sent when the user is distracted.
[0389] Figure 47A-47D is an optional sub-process within block 4606 of process 4600 ( Fig.46 ) flow chart. Go to Fig.47A In some embodiments, at block 4606 ( Fig.46 ) performs optional process 4702. At box 4702, the device detects whether there is speech in the audio recording. The rejection criteria are met when it is determined that the audio recording does not include more than a threshold amount. The threshold amount is optionally an absolute amount or a relative amount, such as a percentage. In some embodiments, the threshold amount is an energy threshold, such as short-time energy and zero-crossing rate. In some embodiments, the threshold amount is based on a speech model. In some embodiments, the rejection criteria are met when no sound is detected (above a noise filter threshold).
[0390] Now focus on the rejection criteria based on the device location. In some embodiments, the rejection criteria is met when the electronic device is within a distance threshold from the sound source. Optionally, the device determines whether the electronic device is within the distance threshold by determining whether a proximity sensor of the device (e.g., proximity sensor 166 of device 100) detects an object within the device distance threshold.
[0391] Go to Fig.47B In some embodiments, at block 4606 ( Fig.46 ) performs optional process 4704. At box 4704, the device determines whether the electronic device is within the sound source distance threshold by analyzing the waveform generated by combining the signals captured by the first microphone and the second microphone (e.g., evaluating the basic attenuation in the formed beam via waveform analysis, where the evaluation is optionally based on the equalization of the near-field beam). If the device is not within the distance threshold, box 4704 (and thus box 4606) produces a "no" output, and the process proceeds to box 4610, where the device ends the ongoing recording. If the device is within the distance threshold, box 4704 provides a "yes" result, and if other requirements in box 4604 are also met, the process proceeds to box 4608, where the device optionally continues to record and sends the recorded message.
[0392] Go to Fig.47C In some embodiments, at block 4606 ( Fig.46) performs optional process 4706. At box 4706, the device determines whether the electronic device is within the distance threshold by determining whether the sound pressure level of at least one microphone exceeds the sound pressure level threshold. In some embodiments, the sound pressure level threshold is based on a function of the sound pressure level previously detected by the electronic device (e.g., a time average, a reference level for whispering, speaking loudly, speaking softly, normal intonation, etc.). If the device is not within the distance threshold, box 4706 (and thus box 4606) produces a "no" output, and the process proceeds to box 4610, where the device ends the ongoing recording. If the device is within the distance threshold, box 4704 provides a "yes" result, and if the other requirements in box 4604 are also met, the process proceeds to box 4608, where the device can continue to record and send the recorded message.
[0393] Go to Fig.47D In some embodiments, at block 4606 ( Fig.46 ) to perform optional process 4708. At block 4708, the device determines whether the electronic device is within a distance threshold by comparing (e.g., calculating a ratio of direct speech energy to reverberation energy and comparing the ratio to a threshold) the sound pressure level to the reverberation level detected by at least one microphone. If the ratio indicates far-field sound, the process proceeds to block 4610, where the device ends the ongoing recording. If the ratio indicates near-field sound, and if the other requirements in block 4604 are also met, the process proceeds to block 4608, where the device can continue recording and send the recorded message.
[0394] Although the description herein is primarily provided with respect to audio operations, it should be understood that the system and method can be extended to other operations. For example, determining the location of a phone can be utilized in other applications and can be presented as a platform service to provide information about whether the phone is proximate to or far from the user. For example, such information can be used to set the volume of a ringtone.
[0395] In some embodiments, the rejection criteria is based on the orientation of the electronic device. In some embodiments, the electronic device includes a speaker located on a surface of the device (e.g., speaker 111 of device 100) that meets the rejection criteria when the surface faces downward (e.g., relative to gravity). In some embodiments, the electronic device includes headphones and the rejection criteria is met when the microphone is located above the headphones (e.g., relative to gravity).
[0396] In some embodiments, the rejection criteria is met when a characteristic movement of the electronic device exceeds a threshold. The characteristic movement optionally includes the output of a gyroscope and / or accelerometer over time (average), peak movement, duration of movement, or repetition of movement (e.g., swiping a phone on a sleeve).
[0397] In some embodiments, determining whether the audio recording meets the rejection criteria is performed in response to detecting one or more conditions that are interpreted as a request to send the audio recording to the specified contact. In some embodiments, the determination is made after the audio is recorded (e.g., after a brief segment of the audio is recorded). In some embodiments, the determination is made while the audio is being recorded (e.g., so as to terminate recording of a long audio segment if the user does not wish to record the audio).
[0398] Figure 48A-48B is an optional sub-process within block 4610 of process 4600 in some embodiments ( Fig.46 ) flow chart. Go to Fig.48A , may be performed at block 4610 ( Fig.46 ) performs optional process 4802. At box 4802, when the audio recording meets the rejection criteria, the device simultaneously displays a representation of the draft message including the audio recording and the send affordance. (At Fig.22D This aspect is shown on device 100 in FIG. 1 ). Upon detecting a user selection of a send affordance, the device sends the draft message to the designated contact.
[0399] Go to Fig.48B In some embodiments, at block 4610 ( Fig.46 ) performs optional processes 4804-4808. At block 4804 ( Fig.48B ), when the audio recording meets the rejection criteria, the device determines whether the time elapsed between detecting one or more conditions (e.g., receiving user input or starting to record audio) and determining that the audio recording meets the rejection criteria exceeds a time threshold. At block 4806, the device displays the audio recording (e.g., Fig.22D 4808, the device deletes the audio recording without displaying the draft message according to determining that the time in the past does not exceed the time threshold. For example, if it is determined that the recording of the audio message is wrong soon after the start of recording audio or soon after the completion of recording audio, the audio message is deleted, and the user will not be disturbed by displaying the draft audio message. In this case, it is very likely that the recording was initiated by mistake, and this embodiment eliminates the need to disturb the user with a record that may not be desired. However, if it is determined that the recording of the audio message is wrong after recording audio or after starting to record audio, the audio message is saved as a draft that can be sent by the user to avoid confusing or frustrating the user.
[0400] It should be noted that the above process relative to process 4600 (eg Fig.46- Figure 48, Figure 21 and Figure 22) also apply in a similar manner to the processes described herein. For example, processes 3300, 3400, 3500, 3600, 3700, 3800, 3900, 4000 and 4900 may include one or more features of the various processes described above with reference to process 4600. For the sake of brevity, these details are not repeated in the description of other processes. The various methods and techniques described above with reference to process (method) 4600 can optionally be implemented as one or more units, such as reference Fig.58 Those described.
[0401] Fig.49 4900 is a flowchart illustrating a process for capturing and sending media. The process may be performed on an electronic device having a display and a touch-sensitive surface, such as device 100 ( Figure 2 ) performs process 4900. At box 4902, the device displays a media affordance, a message composition field, and a message conversation between participants on a display, wherein the conversation is displayed in a message area. At box 4904, the device detects a contact on the touch-sensitive surface at a location corresponding to the location of the media affordance on the display. At box 4906, in response to detecting the contact, the device displays a live media preview in the message composition field. At box 4908, the device detects a lift of the contact. At box 4910, in response to detecting the lift, the device captures a new image based on the live media preview and sends the captured image to the participants in the message conversation. Optionally, in response to detecting the lift, the captured image is sent to the participant. Optionally, the device displays a send button for sending a message. In response to detecting the contact at a location corresponding to the send button, the captured media is sent to the participant. Optionally, in response to detecting the lift, a representation of the captured image is displayed in the message composition field. The device detects that the user enters additional content in the message composition field. In response to detecting the contact, the additional content and the captured image are sent to the participant. Optionally, a thumbnail of the captured image and the additional content are displayed in a defined message area inserted into the displayed message conversation.
[0402] Note that the above process relative to process 4900 (eg Fig.49 and Figure 11C-11G ) also apply in a similar manner to the processes described herein. For example, processes 3300, 3400, 3500, 3600, 3700, 3800, 3900, 4000, and 4600 may include one or more features of the various processes described above with reference to process 4900. For the sake of brevity, these details are not repeated in the descriptions of other processes. The various methods and techniques described above with reference to process (method) 4900 may optionally be implemented as one or more units, such as with reference to Fig.59 Those described.
[0403] like Fig.50 As shown in , the electronic device 5000 includes: a display unit 5002 configured to display a user interface; a touch-sensitive surface unit 5004 configured to receive contact; and a processing unit 5006 coupled to the display unit 5002 and the touch-sensitive surface unit 5004. In some embodiments, the processing unit 5006 includes a display enabling unit 5008, a detection unit 5010, a determination unit 5012, a sending unit 5014, a media capturing unit 5016, an allocation unit 5018, and a receiving unit 5020.
[0404] The processing unit 5006 is configured to enable display of a media affordance and a message area for displaying messages sent between participants in a messaging session (e.g., using the display enabling unit 5008); detect a gesture on the touch-sensitive surface unit 5004 (e.g., using the detection unit 5010), including detecting contact at a location on the touch-sensitive surface unit 5004 that corresponds to a location of the media affordance on the display unit 5002; in response to detecting the contact: enable display of a send affordance on the display (e.g., using the display enabling unit 5008); detect a continuation of the gesture (e.g., using the detection unit 5010); Using detection unit 5010), including detecting movement of a contact on touch-sensitive surface unit 5004, followed by detecting that the contact is lifted from the touch-sensitive surface; determining whether the contact moves to a location on the touch-sensitive surface unit corresponding to the location of a send enable indication (e.g., using determination unit 5012); and based on determining that the contact moves to a location on the touch-sensitive surface unit corresponding to the location of the send enable indication and in response to detecting the lift-off, sending (e.g., using sending unit 5014) media captured in response to at least a portion of the gesture to a participant in the messaging conversation (e.g., using media capture unit 5016).
[0405] In some embodiments, the contact followed by movement of the contact is a single continuous contact on the touch-sensitive surface unit 5004.
[0406] In some embodiments, the processing unit 5006 is further configured to: in response to detecting contact, enable display of a cancel-enable indication on the display unit 5002 (e.g., using the display enabling unit 5008); determine whether the contact moves to a position on the touch-sensitive surface unit 5004 corresponding to the position of the cancel-enable indication (e.g., using the determination unit 5012); and based on determining that the contact moves to a position on the touch-sensitive surface unit 5004 corresponding to the position of the cancel-enable indication followed by lifting, abandon sending the captured media to the participant.
[0407] In some embodiments, the processing unit 5006 is further configured to: after detecting the lift-off (e.g., using the detection unit 5010), enable (e.g., using the display enabling unit 5008) to remove the sending enable indication from the display unit.
[0408] In some embodiments, the processing unit 5006 is further configured to: based on determining that the contact moves to a location on the touch-sensitive surface unit 5004 that corresponds to the location of the send enable indication on the display unit 5002 and in response to detecting a lift: capture media (e.g., using the media capture unit 5016) and send the media to the participant (e.g., using the sending unit 5014).
[0409] In some embodiments, the processing unit 5006 is further configured to: in response to detecting contact, start capturing media (e.g., using media capture unit 5016); and based on determining that the contact moves to a location on the touch-sensitive surface unit 5004 corresponding to the location of the send enable indication on the display unit 5002 and in response to detecting a lift: stop capturing media and send media to the participant (e.g., using send unit 5014).
[0410] In some embodiments, the processing unit 5006 is further configured to: start capturing media in response to detecting contact (e.g., using media capture unit 5016); stop capturing media in response to detecting contact movement; and send media to a participant (e.g., using sending unit 5014) based on determining that the contact moves to a location on the touch-sensitive surface unit 5004 corresponding to the location of the send enable indication on the display unit 5002 and in response to detecting lift-off while the contact is at a location on the touch-sensitive surface unit corresponding to the send enable indication.
[0411] In some embodiments, the media is audio data received from a microphone and the lift occurs at a location on the touch-sensitive surface unit that corresponds to the location of the send enable indication on the display unit, and the processing unit 5006 is further configured to: in response to detecting contact, start capturing audio data (for example, using media capture unit 5016); and based on determining that the contact moves to a location on the touch-sensitive surface unit 5004 that corresponds to the location of the send enable indication on the display unit 5002 and in response to detecting the lift: stop capturing audio data and send the audio data to the participant (for example, using sending unit 5014).
[0412] In some embodiments, the processing unit 5006 is further configured to: enable display of a message writing field on the display unit 5002 (for example, using the display enabling unit 5008); and based on determining that the contact has not moved to a position on the touch-sensitive surface unit 5004 corresponding to the position of the send enable indication nor to a position on the touch-sensitive surface corresponding to the position of the cancel enable indication and in response to detecting a lift: enable display of an image on the display unit 5002 in the message writing field, the image having a waveform representing the captured media.
[0413] In some embodiments, the processing unit 5006 is further configured to, in response to detecting a lift, enable (e.g., using the display enabling unit 5008) replacing the display of the media enabling representation with the display of a send button for sending (e.g., using the send unit 5014) the captured media to a participant.
[0414] In some embodiments, the processing unit 5006 is further configured to: in response to detecting contact on the touch-sensitive surface unit 5004 (e.g., using the detection unit 5010), enable display of a media preview on the display unit 5002 (e.g., using the display enabling unit 5008); and after detecting lift-off, stop displaying the media preview on the display unit.
[0415] In some embodiments, the processing unit 5006 is further configured to: while contact is maintained on the media enable representation: enable display of a visually distinguished area on the display unit 5002 (e.g., using display enabling unit 5008), wherein the visually distinguished area surrounds the media enable representation and the sending enable representation; and in response to detecting movement of the contact, expand the display of the visually distinguished area (e.g., using display enabling unit 5008).
[0416] In some embodiments, the processing unit 5006 is further configured to: enable display of a virtual keyboard for entering messages to participants on the display unit 5002 (e.g., using the display enabling unit 5008); and enable display of a media affordance above the virtual keyboard along a particular edge of the display unit 5002 (e.g., using the display enabling unit 5008), wherein the displayed visually distinguished area is partially defined by the particular edge.
[0417] In some embodiments, the processing unit 5006 is further configured to enable display of a media affordance at a corner of the display unit 5002 (e.g., using the display enabling unit 5008), wherein the displayed visually distinct area is partially bounded by two distinct edges of the display unit.
[0418] In some embodiments, the touch-sensitive surface unit 5004 is a touch-sensitive display (e.g., the touch-sensitive surface unit 5004 is part of the display unit 5002), and the processing unit 5006 is further configured to: assign a hit area to the media indication (e.g., using an assignment unit 5018), wherein the hit area is an area of the display unit that responds to touch input, and wherein the hit area has a larger size when a virtual keyboard is displayed on the display unit than when the virtual keyboard is not displayed.
[0419] In some embodiments, the processing unit 5006 is further configured to: determine the duration of contact on the media enable representation (e.g., using the determination unit 5012); and based on determining that the duration of contact is less than a threshold duration, enable display of a media selector user interface for selecting existing media to send to a participant on the display unit 5002 (e.g., using the display enabling unit 5008).
[0420] In some embodiments, the processing unit 5006 is further configured to receive a user specification (eg, using the receiving unit 5020) of whether to block the sending of a set of metadata of the captured media to the participant.
[0421] In some embodiments, the metadata includes a representation of the location of the electronic device.
[0422] In some embodiments, the media enable representation is a first media enable representation, and the processing unit 5006 is further configured to: enable display of a second media enable representation on the display unit 5002 (e.g., using the display enabling unit 5008).
[0423] In some embodiments, the first media enablement representation is an audio capture enablement representation for capturing audio data, and the second media enablement representation is a visual media capture enablement representation for capturing video or images.
[0424] In some embodiments, media sent to participants is cut off based on cut off criteria.
[0425] References Fig.33 The operation is optionally performed by Figure 1A-1B , Figure 3 , Figure 5B or Fig.50. For example, display enabling operation 3302, detection operation 3304 and / or determination operation 3310 are optionally implemented by event classifier 170, event identifier 180 and event handler 190. Event monitor 171 in event classifier 170 detects contact on touch-sensitive display 112, and event distributor module 174 delivers event information to application 136-1. The corresponding event identifier 180 of application 136-1 compares the event information with the corresponding event definition 186 and determines whether the gesture on the touch-sensitive surface corresponds to a predefined event or sub-event, such as activation of an enabling representation on a user interface. When a corresponding predefined event or sub-event is detected, event identifier 180 activates an event handler 190 associated with the detection of the event or sub-event. Event handler 190 can utilize or call data updater 176 or object updater 177 to update application internal state 192. In some embodiments, the event handler 190 accesses the corresponding GUI updater 178 to update the content displayed by the application. Similarly, those of ordinary skill in the art will clearly know how to update the content displayed by the application based on the event handler 190. Figure 1A-1B , Figure 3 , Figure 5B or Fig.50 The components depicted in the figure are used to implement other processes.
[0426] like Fig.51 As shown in , the electronic device 5100 includes a display unit 5102 configured to display a user interface; a touch-sensitive surface unit 5104 configured to receive contact; and a processing unit 5106 coupled to the display unit 5102 and the touch-sensitive surface unit 5104. In some embodiments, the processing unit 5106 includes a display enabling unit 5108, a detection unit 5110, a determination unit 5112, a sending unit 5114, a media capture unit 5116, and a media playback unit 5118.
[0427] The processing unit 5106 is configured to: enable display of a media enable representation and a message area for displaying messages sent between participants in a message conversation on the display unit 5102 (e.g., using the display enabling unit 5108); detect a first input on the touch-sensitive surface unit 5104 (e.g., using the detection unit 5110), wherein the first input corresponds to the position of the media enable representation on the display unit 5102; in response to detecting the first input, enable display of a record enable representation and a send enable representation on the display unit 5102 (e.g., using the display enabling unit 5108); detect a second input on the touch-sensitive surface unit 5104 input (e.g., using detection unit 5110), wherein a second input corresponds to the location of a record enable indication on display unit 5102; in response to detecting the second input, start recording video (e.g., using media capture unit 5116); detect a third input on touch-sensitive surface unit 5104, wherein the third input corresponds to the location of a send enable indication on display unit 5102, and in response to detecting the third input: send the recorded video to the participant (e.g., using sending unit 5114), and enable (e.g., using display enabling unit 5108) the removal of the send enable indication and the record enable indication from display unit 5102.
[0428] In some embodiments, the first input, the second input, and the third input are three separate contacts on the touch-sensitive surface unit 5104 .
[0429] In some embodiments, the first input is a contact on touch-sensitive surface unit 5104, and the second input is a continuation of the contact on touch-sensitive surface unit 5104, including the contact moving from a position on touch-sensitive surface unit 5104 corresponding to the position of the media enable representation on display unit 5102 to a position on touch-sensitive surface unit 5104 corresponding to the position of the recording enable representation on display unit 5102.
[0430] In some embodiments, the first input is a contact on the touch-sensitive surface unit 5104, and the second input is an independent contact on the touch-sensitive surface unit 5104, and the third input is a continuation of the independent contact on the touch-sensitive surface unit 5104, including the contact moving from a position on the touch-sensitive surface unit 5104 corresponding to the position of the record enable indication on the display unit 5102 to a position on the touch-sensitive surface unit 5104 corresponding to the position of the send enable indication on the display unit 5102.
[0431] In some embodiments, the processing unit 5106 is further configured to, in response to detecting a third input, enable (e.g., using the display enabling unit 5108) insertion of a thumbnail representation of the recorded video into the displayed messaging conversation.
[0432] In some embodiments, the processing unit 5106 is further configured to: detect the lifting of the second contact while recording the video (e.g., using the detection unit 5110); and continue recording the video after the lifting (e.g., using the media capture unit 5116).
[0433] In some embodiments, the processing unit 5106 is further configured to: detect lift-off of the second contact while recording the video (eg, using the detection unit 5110); and stop recording the video in response to detecting the lift-off.
[0434] In some embodiments, the processing unit 5106 is further configured to, in response to detecting a lift, enable (e.g., using the display enabling unit 5108) replacing the display of a recording enabling representation on the display unit 5102 with the display of a playback enabling representation for playing a video (i.e., a video that has not yet been sent to a participant).
[0435] In some embodiments, the processing unit 5106 is further configured to: when recording a video, enable display of an indication of the time length of the recorded video on the display unit 5102 (e.g., using the display enabling unit 5108).
[0436] In some embodiments, enabling the insertion of a thumbnail representation of the captured video into the displayed message conversation includes: enabling display of a defined message area in the message conversation on display unit 5102 (e.g., using display enabling unit 5108), and enabling display of a playback-enabled representation in the defined area on display unit 5102 (e.g., using display enabling unit 5108). The processing unit 5106 is further configured to: detect a fifth contact at a location on touch-sensitive surface unit 5104 corresponding to a location of the playback-enabled representation on display unit 5102 (e.g., using detection unit 5110), and in response to detecting the fifth contact, play the recorded video within the boundaries of the defined message area (e.g., using media playback unit 5118).
[0437] In some embodiments, the recorded video sent to the participant is cut off based on cut off criteria.
[0438] The above is relative to Fig.34 The operation is optionally performed by Figure 1A-1B , Figure 3 , Figure 5B or Fig.51, and the components depicted in . For example, display enabling operations 3402, 3406 and / or detection operations 3404, 3408 are optionally implemented by event classifier 170, event identifier 180, and event handler 190. Event monitor 171 in event classifier 170 detects contact on touch-sensitive display 112 or other input control device 116, and event distributor module 174 delivers event information to application 136-1. The corresponding event identifier 180 of application 136-1 compares the event information with the corresponding event definition 186, and determines whether the first input corresponding to the display position corresponds to a predefined event or sub-event, such as activation of an enabling representation on a user interface. When a corresponding predefined event or sub-event is detected, event identifier 180 activates an event handler 190 associated with the detection of the event or sub-event. Event handler 190 can utilize or call data updater 176 or object updater 177 to update application internal state 192. In some embodiments, the event handler 190 accesses the corresponding GUI updater 178 to update the content displayed by the application. Similarly, those of ordinary skill in the art will clearly know how to update the content displayed by the application based on the event handler 190. Figure 1A-1B , Figure 3 , Figure 5B or Fig.51 The components depicted in the figure are used to implement other processes.
[0439] like Fig.52 As shown in , the electronic device 5200 includes: a display unit 5202 configured to display a user interface; a touch-sensitive surface unit 5204 configured to receive contact; and a processing unit 5206 coupled to the display unit 5202 and optionally coupled to the touch-sensitive surface unit 5204. In some embodiments, the processing unit 5206 includes a display enabling unit 5208, a detection unit 5210, a determination unit 5212, a sending unit 5214, a media capturing unit 5216, and a media playback unit 5218.
[0440] The processing unit 5206 is configured to: enable display of a representation of a first audio message received from a first participant in the messaging conversation on the display unit 5202 (e.g., using the display enabling unit 5208); detect a request to play the first audio message (e.g., using the detection unit 5210); in response to detecting the request, play the first audio message (e.g., using the media playback unit 5218); after playing the first audio message, detect raising of the device 5200 (e.g., using the detection unit 5210); in response to detecting raising of the device 5200, record a second audio message (e.g., using the media capture unit 5216); and after recording the second audio message, send the second audio message to the first participant (e.g., using the sending unit 5214).
[0441] In some embodiments, the processing unit 5206 is further configured to: detect the lowering of the device 5200 while recording the second audio message (for example, using the detection unit 5210), and in response to detecting the lowering of the device: stop recording the second audio message, and send the recorded second audio message to the first participant (for example, using the sending unit 5214).
[0442] In some embodiments, detecting a request to play the first audio message includes detecting independent raising of the device 5200 while displaying a representation of the first audio message on the display unit 5202.
[0443] In some embodiments, the processing unit 5206 is further configured to detect lowering of the device 5200 (eg, using the detection unit 5210) after playing the first audio message and before recording the second audio message.
[0444] In some embodiments, detecting a request to play the first audio message includes detecting a contact at a location on the touch-sensitive surface unit 5204 that corresponds to a location of a displayed representation of the first audio message on the display unit 5202 .
[0445] In some embodiments, display unit 5202 is a touch-sensitive display unit, and enabling display of the representation includes: enabling display of an enable representation indicating a received message on display unit 5202 (e.g., using display enabling unit 5208); detecting a swipe gesture on the displayed enable representation (e.g., using detection unit 5210); and in response to detecting the swipe gesture, enabling display of instructions on display unit 5202 for instructing the user to raise device 5200 to record a second audio message (e.g., using display enabling unit 5208).
[0446] In some embodiments, an enable representation for indicating a received message is displayed on a lock screen on the display unit 5202.
[0447] In some embodiments, the processing unit 5206 is further configured to: in response to detecting a swipe gesture: enable display of a reply-enabling indication for replying to the received message on the display unit 5202 (e.g., using the display enabling unit 5208), detect selection of the reply-enabling indication (e.g., using the detection unit 5210) and in response to detecting selection of the reply-enabling indication, enable display of instructions on the display unit 5202 for instructing the user to raise the device 5200 to record a second audio message (e.g., using the display enabling unit 5208).
[0448] In some embodiments, instructions for instructing the user to raise the device 5200 to record a second audio message are displayed in the message writing field on the display unit 5202, and the processing unit 5200 is further configured to: enable display of a media enable representation on the display unit 5202 (e.g., using the display enabling unit 5208); detect contact at a location on the touch-sensitive surface unit 5204 corresponding to the location of the media enable representation on the display unit 5202 (e.g., using the detection unit 5210); in response to detecting the contact, record a second audio message (e.g., using the media capture unit 5216); and after recording the second audio message, send the second audio message to the first participant (e.g., using the sending unit 5214).
[0449] In some embodiments, the processing unit 5206 is further configured to: detect contact at a location on the touch-sensitive surface unit 5204 that corresponds to the location of a message input field on the display unit 5202 (for example, using the detection unit 5210); and in response to detecting contact at a location on the touch-sensitive surface unit 5204 that corresponds to the location of a message input field, enable display of a virtual keyboard on the display unit 5202 (for example, using the display enabling unit 5208).
[0450] In some embodiments, the second audio message is cut off based on a cut off criterion.
[0451] The above is relative to Fig.35 The operation is optionally performed by Figure 1A-1B , Figure 3 , Figure 5B or Fig.52 , 3504, 3508. For example, detection operations 3504, 3508 are optionally implemented by accelerometer 168, event classifier 170, event identifier 180, and event handler 190. Event monitor 171 in event classifier 170 detects a request such as a request represented by a touch or a lifting of a device, and event distributor module 174 delivers the event information to application 136-1. The corresponding event identifier 180 of application 136-1 compares the event information with the corresponding event definition 186, and determines whether the request corresponds to a predefined event or sub-event such as a request for playing a voice message. When a corresponding predefined event or sub-event is detected, event identifier 180 activates an event handler 190 associated with the detection of the event or sub-event. Event handler 190 may utilize or call data updater 176 or object updater 177 to update application internal state 192. In some embodiments, event handler 190 accesses audio circuit 110 to play an audio message. Similarly, a person skilled in the art would clearly know how to Figure 1A-1B , Figure 3 , Figure 5B or Fig.52 The components depicted in the figure are used to implement other processes.
[0452] like Fig.53 As shown in , the electronic device 5300 includes: a display unit 5302 configured to display a user interface; a touch-sensitive surface unit 5304 configured to receive contact; and a processing unit 5306 coupled to the display unit 5302 and optionally coupled to the touch-sensitive surface unit 5304. In some embodiments, the processing unit 5306 includes a display enabling unit 5308, a detection unit 5310, a determination unit 5312, a receiving unit 5314, and a media playback unit 5316.
[0453] The processing unit 5306 is configured to receive a plurality of messages from a first participant within a first time period (e.g., using the receiving unit 5314) and determine whether the plurality of messages meet the message grouping criteria (e.g., using the determining unit 5312). Based on determining that the plurality of messages do not meet the message grouping criteria, the processing unit 5306 is configured to enable display of a plurality of separate defined message areas for representing the plurality of messages on the display unit 5302 (e.g., using the display enabling unit 5308). Based on determining that the plurality of messages meet the message grouping criteria, the processing unit 5306 is configured to enable display of a single set of defined message areas for representing the plurality of messages on the display unit 5302 (e.g., using the display enabling unit 5308).
[0454] In some embodiments, the message grouping criteria includes a criterion that is met when a number of messages in the plurality of messages exceeds a numerical threshold.
[0455] In some embodiments, the message grouping criteria include a criterion that is met when multiple messages are separated from each other by less than a threshold amount of time.
[0456] In some embodiments, the message grouping criteria include a criterion that is met when the plurality of messages are sequentially adjacent messages.
[0457] In some embodiments, successively adjacent messages are messages received from a single participant without any intervening received messages from other participants.
[0458] In some embodiments, successively adjacent messages are messages of the same type received without any intervening messages of a different type received.
[0459] In some embodiments, successively adjacent messages are messages having the same read status without any intervening received messages having a different read status.
[0460] In some embodiments, the message of the multiple messages is an audio message, and the processing unit is further configured to: enable display of a waveform image within a defined message area corresponding to the audio message on the display unit 5302 (for example, using the display enabling unit 5308), the waveform image having a waveform representing the content of the audio message.
[0461] In some embodiments, enabling display of a waveform image within a defined message area includes: enabling display of the waveform in an initial color; receiving a request to play an audio message (e.g., using receiving unit 5314); and in response to receiving the request to play the audio message, playing the audio message (e.g., using media playback unit 5316) and enabling (e.g., using display enabling unit 5308) changing the color of at least a portion of the waveform during playback to indicate that a portion of the audio message has been played.
[0462] In some embodiments, the processing unit 5306 is further configured to enable the color of the portion of the waveform to be changed when the corresponding portion of the audio message is played (e.g., by the media playback unit 5316).
[0463] In some embodiments, the defined message areas of the group represent at least two audio messages, and the processing unit 5306 is further configured to: receive a request for playing at least two audio messages successively (e.g., using the receiving unit 5314), and in response to receiving the request, play at least two audio messages successively (e.g., using the media playback unit 5316).
[0464] In some embodiments, the request to play at least two audio messages in succession includes raising of the detection device 5300.
[0465] In some embodiments, the processing unit 5306 is further configured to: enable display of an enabling representation for playing consecutive audio messages on the display unit 5302 (e.g., using the display enabling unit 5308), wherein receiving a request for playing at least two audio messages consecutively includes detecting contact on the enabling representation (e.g., using the detection unit 5310).
[0466] In some embodiments, the processing unit 5306 is further configured to: detect selection of a defined message area for a group (e.g., using the detection unit 5310); and in response to detecting selection of a defined message area for a group, enable (e.g., using the display enabling unit 5308) the display of multiple representations of multiple messages on the display unit 5302 to replace the display of the defined message area for a single group.
[0467] In some embodiments, the defined message area of the group includes text representing a first message of the multiple messages and an image thumbnail representing a second message of the multiple messages, and the processing unit 5306 is further configured to: detect contact at a location on the touch-sensitive surface unit 5304 corresponding to the location of the displayed image thumbnail (for example, using the detection unit 5310); and in response to detecting contact at a location corresponding to the displayed image thumbnail, enable display of a larger version of the image represented by the image thumbnail on the display unit 5302 (for example, using the display enabling unit 5308).
[0468] In some embodiments, displaying a larger version of the image includes displaying the image as a full screen image.
[0469] In some embodiments, the defined message area of the group includes text representing a first message of the multiple messages and an image thumbnail representing a video message among the multiple messages, and the processing unit 5306 is further configured to detect contact at a location on the touch-sensitive surface unit 5304 corresponding to the location of the displayed image thumbnail: (for example, using the detection unit 5310); and in response to detecting contact at a location on the touch-sensitive surface unit 5304 corresponding to the location of the image thumbnail, play the video message represented by the image thumbnail (for example, using the media playback unit 5316).
[0470] In some embodiments, playing the video message includes playing the video message in full screen mode.
[0471] In some embodiments, playing the video message includes playing the video message within a defined message area of the packet.
[0472] In some embodiments, the defined message area of the group includes text representing a first message of the multiple messages and a waveform image representing an audio message among the multiple messages, and the processing unit 5306 is further configured to: enable display of a playback enable indication in the defined message area of the group on the display unit 5302 (for example, using the display enabling unit 5308), the playback enable indication being associated with the waveform image; detect contact at a position on the touch-sensitive surface unit 5304 corresponding to a position of the playback enable indication within the displayed defined message area of the group (for example, using the detection unit 5310); and in response to detecting contact at a position on the touch-sensitive surface unit 5304 corresponding to a position of the playback enable indication, play the audio message represented by the waveform image (for example, using the media playback unit 5316).
[0473] References Fig.36 The operation is optionally performed by Figure 1A-1B , Figure 3 , Figure 5B or Fig.53 . For example, receiving operation 3602, determining operation 3604 and / or display enabling operation 3606 are optionally implemented by peripheral device interface 118, event classifier 170, event identifier 180 and event handler 190. Peripheral device interface 118 receives the message, and event monitor 171 in event classifier 170 detects the event that has received the message. Event distributor module 174 delivers event information to application 136-1. The corresponding event identifier 180 of application 136-1 compares the event information with the corresponding event definition 186, and determines whether multiple received messages correspond to predefined events or sub-events such as meeting grouping criteria. When a corresponding predefined event or sub-event is detected, event identifier 180 activates an event handler 190 associated with the detection of the event or sub-event. Event handler 190 can utilize or call data updater 176 or object updater 177 to update application internal state 192. In some embodiments, the event handler 190 accesses the corresponding GUI updater 178 to update the content displayed by the application. Similarly, those of ordinary skill in the art will clearly know how to update the content displayed by the application based on the event handler 190. Figure 1A-1B , Figure 3 , Figure 5B or Fig.53 The components depicted in the figure are used to implement other processes.
[0474] like Fig.54 As shown in , the electronic device 5400 includes: a display unit 5402 configured to display a user interface and a processing unit 5406 coupled to the display unit 5402. In some embodiments, the processing unit 5406 includes a display enabling unit 5408, a detection unit 5410, a determination unit 5412, a receiving unit 5414, a maintenance unit 5416, a storage unit 5418, and a providing unit 5420.
[0475] The processing unit 5406 is configured to: receive a first message (e.g., using the receiving unit 5414); enable display of a representation of the first message on the display unit 5402 (e.g., using the display enabling unit 5408), wherein the first message is scheduled to be deleted when a cutoff criterion is met; enable display of an enabling representation for maintaining the first message on the display unit 5402 (e.g., using the display enabling unit 5408); maintain the first message (e.g., using the maintaining unit 5416) based on determining that the enabling representation is selected before the cutoff criterion is met (e.g., using the determining unit 5412); and stop enabling display of the representation of the first message on the display unit 5402 based on determining that the cutoff criterion is met without detecting the selection of the enabling representation.
[0476] In some embodiments, the processing unit 5406 is further configured to: receive a second message (e.g., using the receiving unit 5414), wherein the second message is not deleted based on the cutoff criteria.
[0477] In some embodiments, the cut-off criteria is based on a time interval.
[0478] In some implementations, the cutoff criteria is based on whether the first message contains media.
[0479] In some embodiments, the cutoff criteria is based on whether the media was captured using a messaging application.
[0480] In some embodiments, the first message includes media, and the time interval is measured from a time after the media is played.
[0481] In some embodiments, the first message includes the media, and the time interval is measured starting at a time after the media is created.
[0482] In some embodiments, the first message includes media, and the processing unit 5406 is further configured to save the media in a media library (e.g., using a saving unit 5418) based on determining that the enabling representation is selected before a cutoff criterion is met.
[0483] In some embodiments, the first message includes media, and the processing unit 5406 is further configured to: determine whether the media was captured using a messaging application (e.g., using a determination unit 5412); and based on determining that the media was not captured using a messaging application, save the media to a media library (e.g., using a save unit 5418).
[0484] In some embodiments, the first message is received from the first participant, and the processing unit 5406 is further configured to: based on determining that the enabling indication is selected before the cutoff criteria are met, provide an indication to the first participant that the first message has been retained (e.g., using the providing unit 5420).
[0485] In some embodiments, the processing unit 5406 is further configured to: determine whether the first message is an audio message (e.g., using the determination unit 5412); and based on determining that the first message is an audio message, enable display of an enable representation for maintaining the first message on the display unit 5402 (e.g., using the display enabling unit 5408).
[0486] In some embodiments, the second message is a text message.
[0487] In some embodiments, the cut-off criteria include criteria for text messages not to be cut-off.
[0488] References Fig.37 The operation is optionally performed by Figure 1A-1B , Figure 3 , Figure 5B or Fig.54 . For example, receiving operation 3702, display enabling operation 3704 and / or maintaining operation 3708 are optionally implemented by peripheral device interface 118, event classifier 170, event identifier 180 and event handler 190. Peripheral device interface 118 receives the message, and event monitor 171 in event classifier 170 detects the event that the message has been received. Event monitor 171 in event classifier 170 detects contact on touch-sensitive display 112, and event distributor module 174 delivers the event information to application 136-1. The corresponding event identifier 180 of application 136-1 compares the event information with the corresponding event definition 186, and determines whether the selection corresponds to a predefined event or sub-event, such as activation or selection of an enabling representation on a user interface. When a corresponding predefined event or sub-event is detected, event identifier 180 activates event handler 190 associated with the detection of the event or sub-event. Event handler 190 may utilize or call data updater 176 or object updater 177 to update application internal state 192. In some embodiments, event handler 190 accesses corresponding GUI updater 178 to update the content displayed by the application. Similarly, those of ordinary skill in the art will clearly understand how to update the content displayed by the application based on the data updater 176 or object updater 177. Figure 1A-1B , Figure 3 , Figure 5B or Fig.54 The components depicted in the figure are used to implement other processes.
[0489] like Fig.55 As shown in , the electronic device 5500 includes: a display unit 5502 configured to display a user interface; a touch-sensitive surface unit 5504 configured to receive contact; and a processing unit 5506 coupled to the display unit 5502 and optionally coupled to the touch-sensitive surface unit 5504. In some embodiments, the processing unit 5506 includes a display enabling unit 5508, a detecting unit 5510, a determining unit 5512, a receiving unit 5514, a providing unit 5516, an adding unit 5518, a sending unit 5520, and an inserting unit 5522.
[0490] The processing unit 5506 is configured to: enable display of a message area on the display unit 5502 for displaying messages sent between a first participant and a second participant in a messaging session (e.g., using the display enabling unit 5508); enable display of a shared location enable representation on the display unit 5502 for sharing the location of the first participant with the second participant when the location changes over at least a predetermined time period (e.g., using the display enabling unit 5508); detect selection of the shared location enable representation (e.g., using the detection unit 5510); and in response to detecting selection of the shared location enable representation: provide information to the second participant (e.g., using the providing unit 5516) so that the second participant can determine the current location of the first participant at least during the predetermined time period.
[0491] In some embodiments, the processing unit 5506 is further configured to: receive location information for dynamically indicating the location of the first external device from a second participant (e.g., using the receiving unit 5514); and enable display of the location of the electronic device on the map and the location of the first external device on the map on the display unit 5502 (e.g., using the display enabling unit 5508).
[0492] In some embodiments, the processing unit 5506 is further configured to add a third participant to the messaging conversation: (e.g., using the adding unit 5518); receive location information indicating the location of a second external device from the third participant (e.g., using the receiving unit 5514); and enable display of the location of the second external device on a map on the display unit (e.g., using the display enabling unit 5508).
[0493] In some embodiments, the processing unit 5506 is further configured to, in response to detecting a selection of a contact at a location corresponding to a shared position enable representation, enable display of at least two enable representations corresponding to at least two predetermined time periods on the display unit 5502 (e.g., using display enabling unit 5508); detect a contact at a location on the touch-sensitive surface unit 5504 corresponding to the location of one of the at least two enable representations on the display unit 5502 (e.g., using detection unit 5510); and in response to detecting a contact at a location on the touch-sensitive surface unit corresponding to the location of one of the at least two enable representations on the display unit, provide information to the second participant (e.g., using providing unit 5516), thereby enabling the second participant to determine the current location of the first participant during the predetermined time period corresponding to one of the at least two enable representations.
[0494] In some embodiments, the processing unit 5506 is further configured to enable display of an indication of the amount of time remaining to share the location on the display unit 5502 (e.g., using the display enabling unit 5508).
[0495] In some embodiments, the processing unit 5506 is further configured to enable display of an enabling representation on the display unit 5502 for stopping providing information to the second participant (e.g., using the display enabling unit 5506).
[0496] In some embodiments, the processing unit 5506 is further configured to: enable display of a detail enable indication along with the messaging conversation on the display unit 5502 (e.g., using the display enable unit 5508); detect contact at a location on the touch-sensitive surface unit 5504 corresponding to the location of the detail enable indication on the display unit 5502 (e.g., using the detection unit 5510); and in response to detecting contact at a location on the touch-sensitive surface unit 5504 corresponding to the location of the detail enable indication on the display unit 5502, enable display of a map on the display unit 5502 showing the locations of two or more participants in the messaging conversation who have shared their locations (e.g., using the display enable unit 5508).
[0497] In some embodiments, the processing unit 5506 is further configured to enable display on the display unit 5502 of information identifying two or more participants in the messaging conversation who have shared their locations (e.g., using the display enabling unit 5508).
[0498] In some embodiments, the processing unit 5506 is further configured to provide the two or more participants with an option to remove one of the two or more participants from the messaging conversation (eg, using the providing unit 5516).
[0499] In some embodiments, the processing unit 5506 is further configured to provide two or more participants with an option to add a new participant to the messaging conversation (eg, using the providing unit 5516).
[0500] In some embodiments, the messaging session has a name, and the processing unit 5506 is further configured to provide two or more participants with an option to change the name of the messaging session (e.g., using the providing unit 5516).
[0501] In some embodiments, the map is not associated with a specific message in a messaging conversation.
[0502] In some embodiments, tapping on the touch-sensitive surface unit 5504 at a location corresponding to a displayed location on a map on the display unit 5502 launches a map application, and the map application provides an option for obtaining a route to the location displayed on the map.
[0503] In some embodiments, providing the information to the second participant causes the remote electronic device used by the second participant to prompt the second participant to share his or her location (eg, using providing unit 5516).
[0504] In some embodiments, the processing unit 5506 is further configured to: enable display of a send location enable indication on the display unit 5502 (e.g., using the display enabling unit 5508) for sending static location information of a first participant to a second participant (e.g., using the sending unit 5520), wherein the static location information is not updated based on the location of the device; detect a selection of the send location enable indication (e.g., using the detection unit 5510); and in response to detecting a selection of the send location enable indication, send the static location information to the second participant (e.g., using the sending unit 5520).
[0505] In some embodiments, sending the static location information includes inserting a static map including the static location information into the message conversation (eg, using inserting unit 5522).
[0506] In some embodiments, the static map is not associated with a specific message in a messaging conversation.
[0507] In some embodiments, tapping the static map launches a map application, and the map application provides options for obtaining directions to the location information displayed on the static map.
[0508] References Fig.38 The operation is optionally performed by Figure 1A-1B , Figure 3 , Figure 5B or Fig.55. For example, display enabling operation 3802, detection operation 3806 and / or providing operation 3808 are optionally implemented by event classifier 170, event identifier 180 and event handler 190 and peripheral device interface 118. Event monitor 171 in event classifier 170 detects contact on touch-sensitive display 112, and event distributor module 174 delivers event information to application 136-1. The corresponding event identifier 180 of application 136-1 compares the event information with the corresponding event definition 186 and determines whether the contact on the touch-sensitive surface corresponds to a predefined event or sub-event, such as activation of an enabling representation on a user interface. When a corresponding predefined event or sub-event is detected, event identifier 180 activates an event handler 190 associated with the detection of the event or sub-event. Event handler 190 can utilize or call data updater 176 or object updater 177 to update application internal state 192. In some embodiments, the event handler 190 accesses the corresponding GUI updater 178 to update the content displayed by the application, or accesses the peripheral device interface 118 to provide data to an external device. Similarly, those skilled in the art will clearly know how to Figure 1A-1B , Figure 3 , Figure 5B or Fig.55 The components depicted in the figure are used to implement other processes.
[0509] like Fig.56 As shown in , the electronic device 5600 includes: a display unit 5602 configured to display a user interface; a touch-sensitive surface unit 5604 configured to receive contacts; and a processing unit 5606 coupled to the display unit 5602 and optionally coupled to the touch-sensitive surface unit 5604. In some embodiments, the processing unit 5606 includes a display enabling unit 5608, a detection unit 5610, a determination unit 5612, a receiving unit 5614, a selection unit 5616, an adding unit 5618, an inserting unit 5620, an indicating unit 5622, a sending unit 5624, and a capturing unit 5626.
[0510] The processing unit 5606 is configured to: enable display of a message area for displaying a message conversation on the display unit 5602 (for example, using the display enabling unit 5608); receive a request for adding media to the message conversation (for example, using the receiving unit 5614); in response to receiving the request, simultaneously enable display of a media selection interface and at least a portion of the message conversation on the display unit 5602 (for example, using the display enabling unit 5608), wherein the media selection interface includes multiple enable representations for selecting media to be added to the message conversation, and at least a subset of the multiple enable representations include thumbnail representations of media to be added to the message conversation; detect selection of a corresponding enable representation from the multiple enable representations (for example, using the detection unit 5610); and in response to detecting selection of the corresponding enable representation, select the corresponding media to be added to the message conversation (for example, using the selection unit 5616).
[0511] In some embodiments, the processing unit 5606 is further configured to: in response to detecting a selection of a corresponding enable indication, add media to the message conversation (e.g., using the adding unit 5618).
[0512] In some embodiments, the processing unit 5606 is further configured to, in response to detecting a selection of a corresponding enable representation, insert media into the message writing field (e.g., using the insertion unit 5620) and enable display of a send enable representation for adding content of the message writing field to the message conversation on the display unit 5602 (e.g., using the display enabling unit 5608).
[0513] In some embodiments, the processing unit 5606 is further configured to: detect a swipe gesture on the touch-sensitive surface unit 5604 at a position corresponding to the position of the media selection interface on the display unit 5602 (e.g., using the detection unit 5610); and in response to detecting the swipe gesture, enable (e.g., using the display enabling unit 5608) scrolling of multiple enabled representations on the display unit 5602.
[0514] In some embodiments, the multiple indicators correspond to recently acquired photos in the camera roll.
[0515] In some embodiments, the processing unit 5606 is further configured to: in response to detecting a selection of an enable representation from multiple enable representations, enable (for example, using the display enabling unit 5608) to increase the size of the media selection interface on the display unit 5602.
[0516] In some embodiments, the processing unit 5606 is further configured to: enable display of a media enablement representation on the display unit 5602 (e.g., using the display enabling unit 5608), wherein a request to add media to the messaging session includes a contact at a location on the touch-sensitive surface unit 5604 that corresponds to the location of the media enablement representation on the display unit 5602; in response to detecting the contact, determine a duration of the contact (e.g., using the determining unit 5612); based on determining that the duration of the contact does not exceed a threshold, (enable display of an enablement representation for capturing a new image using a camera sensor on the display unit 5602, for example, using the display enabling unit 5608); while displaying the enablement representation for capturing a new image, detect a swipe gesture on the touch-sensitive surface unit 5604 (e.g., using the detecting unit 5610); and in response to detecting the swipe gesture: instruct the camera sensor to capture an image (e.g., using the indicating unit 5622); and send the image to participants in the messaging session (e.g., using the sending unit 5624).
[0517] In some embodiments, enabling display of a media selection interface includes: detecting contact at a location on touch-sensitive surface unit 5604 that corresponds to the location of a first enable representation on display unit 5602 (e.g., using detection unit 5610); and in response to detecting contact at a location on touch-sensitive surface unit 5604 that corresponds to the location of the first enable representation on display unit 5602, sending corresponding media to participants in the session (e.g., using sending unit 5624).
[0518] In some embodiments, enabling display of the media selection interface further includes: enabling display of a send enable indication on the display unit (e.g., using display enabling unit 5608); detecting contact at a location on touch-sensitive surface unit 5604 corresponding to the locations of the first enable indication, the second enable indication, and the send enable indication on display unit 5602 (e.g., using detection unit 5610); and in response to detecting contact at a location on touch-sensitive surface unit 5604 corresponding to the locations of the first enable indication, the second enable indication, and the send enable indication: sending the corresponding first media and second media to the participants in the session (e.g., using sending unit 5624).
[0519] In some embodiments, the multiple enabled representations include a live preview enabled representation, and the processing unit 5606 is further configured to: detect contact at a location on the touch-sensitive surface unit 5604 corresponding to the location of the live preview enabled representation on the display unit 5602 (e.g., using the detection unit 5610); and in response to detecting contact at a location on the touch-sensitive surface unit 5604 corresponding to the location of the live camera preview: capture a new image based on the live camera preview (e.g., using the capture unit 5626), and select the new image for adding to the messaging session (e.g., using the selection unit 5616).
[0520] In some embodiments, the processing unit 5606 is further configured to: detect a request for sending a new image (e.g., using the detection unit 5610); and in response to the request, send the new image to the first participant (e.g., using the sending unit 5624).
[0521] References Fig.39 The operation is optionally performed by Figure 1A-1B , Figure 3 , Figure 5B or Fig.56 . For example, display enabling operations 3902, 3906, receiving operation 3904, detecting operation 3908 and / or selecting operation 3910 are optionally implemented by event classifier 170, event identifier 180 and event handler 190 and other input control devices 116. Event monitor 171 in event classifier 170 detects contact on touch-sensitive display 112 or different user inputs from other input control devices 116, and event distributor module 174 delivers event information to application 136-1. The corresponding event identifier 180 of application 136-1 compares the event information with the corresponding event definition 186 and determines whether the contact or other input corresponds to a predefined event or sub-event (such as activation of an enabling representation on a user interface) or other user request. When a corresponding predefined event or sub-event is detected, event identifier 180 activates event handler 190 associated with the detection of the event or sub-event. Event handler 190 may utilize or call data updater 176 or object updater 177 to update application internal state 192. In some embodiments, event handler 190 accesses corresponding GUI updater 178 to update the content displayed by the application. Similarly, those of ordinary skill in the art will clearly understand how to update the content displayed by the application based on the data updater 176 or object updater 177. Figure 1A-1B , Figure 3 , Figure 5B or Fig.56 The components depicted in the figure are used to implement other processes.
[0522] like Fig.57As shown in , the electronic device 5700 includes a processing unit 5702. In some embodiments, the processing unit 5702 includes a detection unit 5704, a determination unit 5706, an initiation unit 5708, a reception unit 5710, a provision unit 5712, a media playback unit 5714, and a recording unit 5716.
[0523] The processing unit 5702 is configured to: detect a change in a device context based on movement of the electronic device 5700 and one or more proximity sensor readings (e.g., using a detection unit 5704); in response to detecting a change in the device context: determine whether the device satisfies an audio operation standard (e.g., using a determination unit 5706), wherein the audio operation standard includes a standard that is satisfied when the movement of the electronic device 5700 satisfies a movement standard and one or more proximity sensor readings satisfy a proximity standard; and initiating an audio operation (e.g., using an initiation unit 5708) based on determining that the change in the device context satisfies the audio operation standard; and abandoning initiating an audio operation based on determining that the device context does not satisfy the audio operation standard.
[0524] In some embodiments, the movement criteria includes a predetermined trajectory.
[0525] In some embodiments, determining whether the movement satisfies the movement criteria includes determining the end of the movement and the orientation of the electronic device at the end of the movement, and wherein the movement criteria is satisfied when the electronic device is not in a predetermined orientation at the end of the movement.
[0526] In some embodiments, the processing unit 5702 is further configured to, after initiating the audio operation: determine whether the electronic device is in a predetermined orientation (for example, using the determination unit 5706); and based on determining that the electronic device is in the predetermined orientation: end the audio operation.
[0527] In some embodiments, determining that the electronic device is in a predetermined orientation further includes determining that the electronic device is in the predetermined orientation within a predetermined time period in which movement satisfies movement criteria and one or more proximity sensor readings satisfy proximity criteria.
[0528] In some embodiments, the electronic device 5700 further includes a speaker, and wherein the speaker is positioned on a surface of the device 5700, and wherein in a predetermined orientation, the surface faces downward.
[0529] In some embodiments, the electronic device 5700 further includes headphones, and the microphone is positioned above the headphones in a predetermined orientation.
[0530] In some embodiments, determining whether one or more proximity sensor readings satisfy the proximity criteria includes determining whether a proximity sensor reading indicating detection of an object proximate to the electronic device is detected within a predetermined time period after detecting movement that satisfies the movement criteria.
[0531] In some embodiments, the processing unit 5702 is further configured to, after initiating the audio operation: detect characteristic movement of the electronic device 5700 that is above a predetermined threshold (for example, using the detection unit 5704); and in response to detecting characteristic movement of the electronic device that is above a predetermined threshold: end the audio operation.
[0532] In some embodiments, the audio operation includes recording a new message, and the processing unit 5702 is further configured to: determine whether the message includes voice (e.g., using the determination unit 5706); and based on determining that the message does not include voice: end recording the new message.
[0533] In some embodiments, the processing unit is further configured to: receive communications (e.g., using receiving unit 5710); and in response to receiving the communications and before detecting a change in the device context, provide an indication of received communications (e.g., using providing unit 5712).
[0534] In some embodiments, providing an indication of receipt of a communication includes launching a messaging application.
[0535] In some embodiments, the communication includes a message having an audio component that has not yet been played by the device, and the audio operation includes playing the audio component of the message (e.g., using media playback unit 5714).
[0536] In some embodiments, the processing unit 5702 is further configured to: determine whether a message is received within a predefined time interval before a change in the device context is detected (e.g., using the determination unit 5706), wherein playing the audio component of the message includes playing the audio component of the message if the message is received within the predefined time interval (e.g., using the media playback unit 5714).
[0537] In some embodiments, the communication includes a voicemail message, and wherein the audio operation includes playing back the voicemail message (e.g., using media playback unit 5714).
[0538] In some embodiments, the processing unit 5702 is further configured to: after playing the voicemail message, detect a pumping motion of the electronic device (e.g., using the detection unit 5704), wherein the pumping motion includes a downward motion followed by an upward motion; and in response to detecting the pumping motion of the electronic device, initiate a telephone call to a telephone number associated with the voicemail message (e.g., using the initiation unit 5708).
[0539] In some embodiments, the communication includes a voicemail message corresponding to a telephone call from the telephone number, and the processing unit 5702 is further configured to: play at least a portion of the voicemail message before detecting a change in the device context (e.g., using the media playback unit 5714), and the audio operation includes initiating a telephone call to the telephone number corresponding to the voicemail message (e.g., using the initiation unit 5708).
[0540] In some embodiments, the communication includes a message having an audio component, and the processing unit 5702 is further configured to: play the audio component of the message before detecting a change in device context (e.g., using the media playback unit 5714); and determine whether movement of the electronic device is detected within a predetermined time interval after playing the audio message (e.g., using the determination unit 5706), and wherein initiating an audio operation includes recording audio for a new message if a change in device context is detected within a predetermined time interval from when the audio component of the message was played (e.g., using the recording unit 5716).
[0541] In some embodiments, the communication includes a message having an audio component previously played by the device, and the audio operation includes recording a new message (e.g., using recording unit 5716).
[0542] In some embodiments, the processing unit 5702 is further configured to: detect that the electronic device is in an audio message context (e.g., using the detection unit 5704) before detecting a change in the device context; and detect a change in the device context (e.g., using the detection unit 5704) only when the electronic device is in the audio message context.
[0543] In some embodiments, initiating an audio operation includes: playing back audio corresponding to the received communication (e.g., using media playback unit 5714) based on determining that audio playback criteria have been met; and recording audio used to respond to the received communication based on determining that audio recording criteria have been met.
[0544] References Figure 40-45C The operation is optionally performed by Figure 1A-1B , Figure 3 , Figure 5B or Fig.57 . For example, the detection operation 4002, the determination operation 4004 and / or the initiation operation 4006 are optionally implemented by the event classifier 170, the event identifier 180, the event handler 190, the proximity sensor 166 and the accelerometer 168. The event monitor 171 in the event classifier 170 detects changes in the device context based on readings from one or more sensors such as the proximity sensor 166 and / or the accelerometer 168. The event distributor module 174 delivers event information to the application 136-1. The corresponding event identifier 180 of the application 136-1 compares the event information with the corresponding event definition 186 and determines whether the change in the device context corresponds to a predefined event or sub-event, such as meeting certain criteria. When a corresponding predefined event or sub-event is detected, the event identifier 180 activates the event handler 190 associated with the detection of the event or sub-event. The event handler 190 can utilize or call the data updater 176 or the object updater 177 to update the application internal state 192. In some embodiments, the event handler 190 accesses the audio circuit 110 to initiate an audio operation. Similarly, a person of ordinary skill in the art will clearly know how to Figure 1A-1B , Figure 3 , Figure 5B or Figure 40-45C The components depicted in the figure are used to implement other processes.
[0545] like Fig.58 As shown, the electronic device 5800 includes: at least one microphone 5820 and a display unit 5802 optionally configured to display a user interface, and a processing unit 5804 coupled to the at least one microphone 5820 and optionally coupled to the display unit 5802. In some embodiments, the processing unit 5804 includes a display enabling unit 5806, a detection unit 5808, a determination unit 5810, a generation unit 5812, a sending unit 5814, a comparison unit 5816, and a deletion unit 5818.
[0546] The processing unit 5804 is configured to: detect one or more conditions that are interpreted as a request to record an audio message for a specified contact (e.g., using the detection unit 5808); in response to detecting the one or more conditions, generate an audio recording using at least one microphone 5820 (e.g., using the generation unit 5812); determine whether the audio recording meets rejection criteria (e.g., using the determination unit 5810); based on determining that the rejection criteria are not met, send the audio recording to the specified contact (e.g., using the sending unit 5814); and based on determining that the rejection criteria are met, abandon sending the audio recording to the specified contact.
[0547] In some embodiments, the rejection criteria is met when the duration of the audio recording exceeds a predetermined duration.
[0548] In some embodiments, the processing unit 5804 is further configured to detect the presence of speech in the audio recording (e.g., using the detection unit 5808), and to satisfy the rejection criteria when it is determined that the audio recording does not include more than a threshold amount of human speech.
[0549] In some embodiments, the rejection criteria is based on the location of the device.
[0550] In some embodiments, the rejection criteria is met when the electronic device is within a distance threshold from the sound source.
[0551] In some embodiments, the processing unit 5804 is further configured to determine whether the electronic device is within the distance threshold by determining whether a proximity sensor of the device detects an object within the dis...
Claims
1. A method for initiating an audio operation, comprising: At an electronic device having a display, a microphone, and one or more proximity sensors: displaying on the display a representation of a first audio message received from a first participant in the messaging conversation; after displaying the representation of the first audio message, detecting a change in device context based on movement of the electronic device and one or more proximity sensor readings; in response to detecting the change in device context, determining whether the device satisfies audio operation criteria, wherein the audio operation criteria comprises criteria that are satisfied when the movement of the electronic device satisfies a movement criteria and the one or more proximity sensor readings satisfy a proximity criteria; If it is determined that the change in device context satisfies the audio operation criteria, initiating an audio operation in response to the first audio message received from the first participant in the messaging conversation, wherein initiating the audio operation comprises: If it is determined that the audio playback criteria have been met, playing back the audio corresponding to the first audio message; and If it is determined that the audio recording criteria have been met, recording audio in response to the first audio message; and If it is determined that the change in device context does not satisfy the audio operation criteria, initiation of the audio operation is abandoned in response to the first audio message received from the first participant in the messaging conversation. The method of claim 1 , wherein the movement criteria comprises a predetermined trajectory.
3. The method of claim 1 , wherein determining whether the movement satisfies a movement criterion comprises: An end of the movement and an orientation of the electronic device at the end of the movement are determined, and wherein the movement criterion is met when the electronic device is not in a predetermined orientation at the end of the movement.
4. The method according to claim 1, further comprising: After initiating the audio operation: determining whether the electronic device is in a predetermined orientation; as well as If it is determined that the electronic device is in the predetermined orientation: ending the audio operation.
5. The method of claim 4, wherein determining that the electronic device is in a predetermined orientation further comprises determining that the electronic device is in the predetermined orientation within a predetermined time period in which it is determined that the movement satisfies the movement criteria and the one or more proximity sensor readings satisfy a proximity criteria.
6. The method of claim 4, wherein the electronic device further comprises a speaker, and wherein the speaker is positioned on a surface of the electronic device, and wherein in the predetermined orientation, the surface faces downward. 7 . The method of claim 4 , wherein the electronic device further comprises an earphone, and wherein in the predetermined orientation, the microphone is positioned above the earphone.
8. The method of claim 1 , wherein determining whether the one or more proximity sensor readings satisfy the proximity criteria comprises: A determination is made as to whether a proximity sensor reading indicating detection of an object proximate to the electronic device is detected within a predetermined period of time after detecting movement that satisfies the movement criteria.
9. The method according to claim 1, further comprising: After initiating the audio operation, detecting a characteristic movement of the electronic device above a predetermined threshold; as well as In response to detecting a characteristic movement of the electronic device above a predetermined threshold: ending the audio operation.
10. The method of claim 1, wherein the audio operation comprises recording a new message, and the method further comprises: determining whether the new message includes speech; and If it is determined that the new message does not include voice, the recording of the new message is terminated.
11. The method of claim 1, wherein the audio operation comprises playing the first audio message.
12. The method according to claim 11, further comprising: Determining whether the first audio message is received within a predefined time interval before detecting the change in device context, wherein playing the first audio message includes playing the first audio message if the first audio message is received within the predefined time interval.
13. The method of claim 1, wherein the first audio message comprises a voicemail message, and wherein the audio operation comprises playing back the voicemail message.
14. The method according to claim 13, further comprising: detecting a pumping motion of the electronic device after playing the voicemail message, wherein the pumping motion comprises a downward motion followed by an upward motion; as well as In response to detecting a pumping motion of the electronic device, a telephone call is initiated to a telephone number associated with the voicemail message.
15. The method of claim 1, wherein the first audio message comprises a voicemail message corresponding to a telephone call from a telephone number, and the method further comprises: Prior to detecting the change in the device context, at least a portion of the voicemail message is played, and the audio operations include initiating a telephone call to the telephone number corresponding to the voicemail message.
16. The method according to claim 1, further comprising: before detecting the change in the device context, playing the first audio message; as well as Determining whether the movement of the electronic device is detected within a predetermined time interval after playing the first audio message, and wherein initiating the audio operation includes recording audio for a new message when the change in the device context is detected within the predetermined time interval from when the first audio message is played.
17. The method of claim 1, wherein the first audio message was previously played by the device and the audio operation comprises recording a new message.
18. The method of claim 1, further comprising: Prior to detecting a change in the device context, detecting that the electronic device is in an audio message context; as well as A change in device context is detected only when the electronic device is in an audio message context.
19. A computer-readable storage medium storing one or more programs configured to be executed by one or more processors of an electronic device having a display, a microphone, and one or more proximity sensors, the one or more programs comprising instructions for: displaying on the display a representation of a first audio message received from a first participant in the messaging conversation; after displaying the representation of the first audio message, detecting a change in device context based on movement of the electronic device and one or more proximity sensor readings; in response to detecting the change in device context, determining whether the device satisfies audio operation criteria, wherein the audio operation criteria comprises criteria that are satisfied when the movement of the electronic device satisfies a movement criteria and the one or more proximity sensor readings satisfy a proximity criteria; If it is determined that the change in device context satisfies the audio operation criteria, initiating an audio operation in response to the first audio message received from the first participant in the messaging conversation, wherein initiating the audio operation comprises: If it is determined that the audio playback criteria have been met, playing back the audio corresponding to the first audio message; and If it is determined that the audio recording criteria have been met, recording audio in response to the first audio message; and If it is determined that the change in device context does not satisfy the audio operation criteria, initiation of the audio operation is abandoned in response to the first audio message received from the first participant in the messaging conversation.
20. The computer-readable storage medium of claim 19, wherein the movement criteria comprises a predetermined trajectory.
21. The computer-readable storage medium of claim 19, wherein determining whether the movement satisfies a movement criterion comprises: An end of the movement and an orientation of the electronic device at the end of the movement are determined, and wherein the movement criterion is met when the electronic device is not in a predetermined orientation at the end of the movement.
22. The computer-readable storage medium of claim 19, wherein the one or more programs further comprise instructions for: After initiating the audio operation: determining whether the electronic device is in a predetermined orientation; and If it is determined that the electronic device is in the predetermined orientation: ending the audio operation.
23. A computer-readable storage medium according to claim 22, wherein determining that the electronic device is in a predetermined orientation further includes determining that the electronic device is in the predetermined orientation within a predetermined time period in which the movement satisfies the movement criteria and the one or more proximity sensor readings satisfy the proximity criteria.
24. The computer-readable storage medium of claim 22, wherein the electronic device further comprises a speaker, and wherein the speaker is positioned on a surface of the electronic device, and wherein in the predetermined orientation, the surface faces downward.
25. The computer-readable storage medium of claim 22, wherein the electronic device further comprises headphones, and wherein in the predetermined orientation, the microphone is positioned above the headphones.
26. The computer-readable storage medium of claim 19, wherein determining whether the one or more proximity sensor readings satisfy the proximity criteria comprises: A determination is made as to whether a proximity sensor reading indicating detection of an object proximate to the electronic device is detected within a predetermined period of time after detecting movement that satisfies the movement criteria.
27. The computer-readable storage medium of claim 19, wherein the one or more programs further comprise instructions for: After initiating the audio operation, detecting a characteristic movement of the electronic device above a predetermined threshold; and In response to detecting a characteristic movement of the electronic device above a predetermined threshold: ending the audio operation.
28. The computer-readable storage medium of claim 19, wherein the audio operation comprises recording a new message, and wherein the one or more programs further comprise instructions for: determining whether the new message includes speech; and If it is determined that the new message does not include voice, the recording of the new message is terminated.
29. The computer-readable storage medium of claim 19, wherein the audio operation comprises playing the first audio message.
30. The computer-readable storage medium of claim 29, wherein the one or more programs further comprise instructions for: Determining whether the first audio message is received within a predefined time interval before detecting the change in device context, wherein playing the first audio message includes playing the first audio message if the first audio message is received within the predefined time interval.
31. The computer-readable storage medium of claim 19, wherein the first audio message comprises a voicemail message, and wherein the audio operation comprises playing back the voicemail message.
32. The computer-readable storage medium of claim 31 , wherein the one or more programs further comprise instructions for: After playing the voicemail message, detecting a pumping motion of the electronic device, wherein the pumping motion comprises a downward motion followed by an upward motion; and In response to detecting a pumping motion of the electronic device, a telephone call is initiated to a telephone number associated with the voicemail message.
33. The computer-readable storage medium of claim 19, wherein the first audio message comprises a voicemail message corresponding to a telephone call from a telephone number, wherein the one or more programs further comprise instructions for: Prior to detecting the change in the device context, at least a portion of the voicemail message is played, and the audio operations include initiating a telephone call to the telephone number corresponding to the voicemail message.
34. The computer-readable storage medium of claim 19, wherein the one or more programs further comprise instructions for: Before detecting the change in the device context, playing the first audio message; and Determining whether the movement of the electronic device is detected within a predetermined time interval after playing the first audio message, and wherein initiating the audio operation includes recording audio for a new message when the change in the device context is detected within the predetermined time interval from when the first audio message is played.
35. The computer-readable storage medium of claim 19, wherein the first audio message was previously played by the device and the audio operation comprises recording a new message.
36. The computer-readable storage medium of claim 19, wherein the one or more programs further comprise instructions for: Prior to detecting a change in device context, detecting that the electronic device is in an audio message context; and A change in device context is detected only when the electronic device is in an audio message context.
37. An electronic device comprising: monitor; microphone; one or more proximity sensors; one or more processors; and A memory storing one or more programs, wherein the one or more programs are configured to be executed by the one or more processors, and the one or more programs include instructions for: displaying on the display a representation of a first audio message received from a first participant in the messaging conversation; after displaying the representation of the first audio message, detecting a change in device context based on movement of the electronic device and one or more proximity sensor readings; in response to detecting the change in device context, determining whether the device satisfies audio operation criteria, wherein the audio operation criteria comprises criteria that are satisfied when the movement of the electronic device satisfies a movement criteria and the one or more proximity sensor readings satisfy a proximity criteria; If it is determined that the change in device context satisfies the audio operation criteria, initiating an audio operation in response to the first audio message received from the first participant in the messaging conversation, wherein initiating the audio operation comprises: If it is determined that the audio playback criteria have been met, playing back the audio corresponding to the first audio message; and If it is determined that the audio recording criteria have been met, recording audio in response to the first audio message; and If it is determined that the change in device context does not satisfy the audio operation criteria, initiation of the audio operation is abandoned in response to the first audio message received from the first participant in the messaging conversation.
38. The electronic device of claim 37, wherein the movement criteria comprises a predetermined trajectory.
39. The electronic device of claim 37, wherein determining whether the movement satisfies a movement criterion comprises: An end of the movement and an orientation of the electronic device at the end of the movement are determined, and wherein the movement criterion is met when the electronic device is not in a predetermined orientation at the end of the movement.
40. The electronic device of claim 37, wherein the one or more programs further comprise instructions for: After initiating the audio operation: determining whether the electronic device is in a predetermined orientation; and If it is determined that the electronic device is in the predetermined orientation: ending the audio operation.
41. An electronic device according to claim 40, wherein determining that the electronic device is in a predetermined orientation further includes determining that the electronic device is in the predetermined orientation within a predetermined time period in which it is determined that the movement satisfies the movement criteria and the one or more proximity sensor readings satisfy the proximity criteria.
42. The electronic device of claim 40, wherein the electronic device further comprises a speaker, and wherein the speaker is positioned on a surface of the electronic device, and wherein in the predetermined orientation, the surface faces downward.
43. The electronic device of claim 40, wherein the electronic device further comprises headphones, and wherein in the predetermined orientation, the microphone is positioned above the headphones.
44. The electronic device of claim 37, wherein determining whether the one or more proximity sensor readings satisfy the proximity criteria comprises: A determination is made as to whether a proximity sensor reading indicating detection of an object proximate to the electronic device is detected within a predetermined period of time after detecting movement that satisfies the movement criteria.
45. The electronic device of claim 37, wherein the one or more programs further comprise instructions for: After initiating the audio operation, detecting a characteristic movement of the electronic device above a predetermined threshold; and In response to detecting a characteristic movement of the electronic device above a predetermined threshold: ending the audio operation.
46. The electronic device of claim 37, wherein the audio operation comprises recording a new message, and wherein the one or more programs further comprise instructions for: determining whether the new message includes speech; and If it is determined that the new message does not include voice, the recording of the new message is terminated.
47. The electronic device of claim 37, wherein the audio operation comprises playing the first audio message.
48. The electronic device of claim 47, wherein the one or more programs further comprise instructions for: Determining whether the first audio message is received within a predefined time interval before detecting the change in device context, wherein playing the first audio message includes playing the first audio message if the first audio message is received within the predefined time interval.
49. The electronic device of claim 37, wherein the first audio message comprises a voicemail message, and wherein the audio operation comprises playing back the voicemail message.
50. The electronic device of claim 49, wherein the one or more programs further comprise instructions for: After playing the voicemail message, detecting a pumping motion of the electronic device, wherein the pumping motion comprises a downward motion followed by an upward motion; and In response to detecting a pumping motion of the electronic device, a telephone call is initiated to a telephone number associated with the voicemail message.
51. The electronic device of claim 37, wherein the first audio message comprises a voicemail message corresponding to a telephone call from a telephone number, and wherein the one or more programs further comprise instructions for: Prior to detecting the change in the device context, at least a portion of the voicemail message is played, and the audio operations include initiating a telephone call to the telephone number corresponding to the voicemail message.
52. The electronic device of claim 37, wherein the one or more programs further comprise instructions for: Before detecting the change in the device context, playing the first audio message; and Determining whether the movement of the electronic device is detected within a predetermined time interval after playing the first audio message, and wherein initiating the audio operation includes recording audio for a new message when the change in the device context is detected within the predetermined time interval from when the first audio message is played.
53. The electronic device of claim 37, wherein the first audio message was previously played by the device and the audio operation comprises recording a new message.
54. The electronic device of claim 37, wherein the one or more programs further comprise instructions for: Prior to detecting a change in device context, detecting that the electronic device is in an audio message context; and A change in device context is detected only when the electronic device is in an audio message context.
55. An electronic device comprising: monitor; microphone; one or more proximity sensors; and An apparatus for performing the method according to any one of claims 1-18.
