Android Mms topic: Overview of Mms

Source: Internet
Author: User

 

The Mms name here is not accurate because it is the name of an application. This application is an information application on Android, which can process Short Messages (Short Messaging Service ), it can also process Multimedia messages (Multimedia MessagingService ). In addition to the phone program, it is another very important core application of the mobile phone system, because for mobile phones, the two most important features are the phone function and information function. In the era of functional mobile phones, this is still the case. If a mobile phone cannot make a phone call or send or receive messages, it cannot be called a cell phone (brick ?).

 

To avoid confusion, Mms is used as the abbreviation of the information application. SMS is short message, and MMS stands for multimedia MMS. Unless otherwise specified, the information will include SMS and Mms.

 

Like information applications in the mobile age, Android Mms also provides common information programs, such as creating information, sending and receiving information, forwarding information, and managing information, there are some information configurations.

 

Different from functional mobile phones, information is no longer organized and managed in the form of traditional folders (inbox, inbox, draft box, sent message, SMS, and MMS ), information is sorted in a certain way (time, topic), listing all information in the corresponding folder (the received information is in the inbox, And the sent information is in the sent information, the draft is in the draft box, and the information being sent is in the mail box). The information organization method has changed. The smart phone introduces the concept of Thread, that is, the information interaction between two contacts is considered as a series of conversations, and all information between the two is listed in the dialog. In each conversation, specific information is managed in chronological order. Different colors are used to distinguish outgoing and received information. The contact information can be displayed next to the information, for example, you can click an avatar to perform other quick operations (such as dialing ). Mms manages a series of dialogs without the traditional folders. Therefore, for Mms, the core concept is dialog rather than information or folders.

 

Similarly, smartphones do not distinguish between text messages and MMS, but regard them as information in a single conversation. Of course, there are still differences between MMS and SMS, mainly in sending and displaying, in terms of information management, MMS and SMS are no longer differentiated (traditional mobile phones use special SMS folders and MMS folders), that is, there will be no mms folders or SMS folders, instead, they are managed in the form of dialogs. In dialogs, they are all information, but the content is different.

 

There are no receiving box, sending box and draft box in Mms, instead of a unified dialog list. A dialog includes both received information and sent information. In addition, the status information is used to identify the status of each dialog, such as whether a draft is displayed or not, and whether the message is sent successfully.

 

As mentioned above, dialog is the core concept of a new generation of information programs. A dialog occurs between two contacts or information interaction between one contact and multiple contacts, just like a chat window in IM (MSN, QQ, the information of the two is displayed in the window, but the information only happens between the two. Organizing information by means of dialog is more in line with people's usage habits, and it is more convenient to query communication records.

 

Because a dialog occurs between two contacts, the relationship between the dialog and the contact is very close. Because the information in a dialog belongs to the two contacts. Generally, a dialog corresponds to a contact, unless it is sent to multiple contacts. Alternatively, a dialog depends on a contact. Therefore, a dialog cannot be created and only the creation information can be displayed. When you create a dialog, if the contact does not have a dialog, a dialog is automatically created. If yes, a dialog is displayed.

 

You can manage and operate a dialog in the dialog list, such as entering a dialog, deleting a dialog, and viewing a contact. After entering the dialog box, you can perform operations on the information, such as editing, deleting, and forwarding.

 

Some key concepts

Thread dialog --- refers to a series of information interactions between a user and a contact or several contacts. In Mms, the Thread Id is used to identify and manage the conversation. The Thread Id is also the _ id in the threads of the database table.

 

Conversation may be easier to understand. But Thread itself has the meaning of dialogue. A post in some forums is called Thread in English. The definition of Thread dictionary is: "a series of information (computer terms) about a question on the Internet", so it is more appropriate to use Thread here.

 

Conversation is used to manage Thread dialogs. Conversation is an abstract data structure of Thread dialogs. It can query and delete messages in a Conversation from a database, each Conversation has a unique Thread Id. However, it is also responsible for managing all the dialogs, such as querying all the dialogs and deleting all the dialogs (this should be the problem above ).

 

In fact, Conversation is usually used as the role of a previous Conversation. For example, when a new information is created, the information is edited, or a Conversation is viewed, a Conversation object exists, the dialog that represents the current information. It is an approximate single key and obtains the Conversation object through the static Conversation method. Some other methods are static.

 

ConversationList -- displays and edits all the dialogs and displays all the threads in the form of a list. Each item represents a Thread and usually displays the status of the Thread, such as whether there are drafts, whether the message is sent or received successfully.

 

Message: Refers to SMS and MMS messages. Because SMS and MMS are no longer distinguished, they are the same in the dialog list, draft management, and information list, and they are all information. The Message data structure is MessageItem, which is a pure data structure, which stores all the data about a piece of information, and MessageListitem, which is a View, this function is used to display a message in the message list. The data in the message list is obtained from MessageItem. They are all managed by ComposeMessageActivity, MessageListAdapter, and MessageListView.

 

WorkingMessage: The current message. It is a data structure used to represent the information being created and edited. It is placed in a WorkingMessage object during creation and editing. This object is also responsible for sending, storing, and storing information as drafts.

 

Slideshow-in the Mms application, Mms is displayed in the form of Slideshow slides. One MMS can contain multiple slides with images, texts, audios, and videos on each slide. You can set the viewing duration and layout of each slide, the slides here are somewhat similar to PowerPoint in Office. The maximum number of slides is the size of attachments allowed by MMS, which is also related to the media size on each slide. In this case, MMS exists as a slide. It is created as a slide. After receiving the MMS or editing, you can show and browse the slide one by one.

 

Note that the display of MMS in slide mode is only the processing method at the application layer. Different information applications process MMs in different ways, the actual MMS data is sent and received in the standard Pdu mode. Before sending, the application converts the slide into a Pdu, after receiving the message, convert the Pdu into a recognizable slide.

Www.2cto.com

Recipient receiver. It refers to the Recipient of the information, either a strange phone number, a strange email address (in MMS), or a contact in the mobile phone contact database. There are limits on the number of contacts connecting Mms and SMS, which can be changed in the Mms Settings. To send each piece of information successfully, you must ensure that the recipient is a legal contact, which is also defined by different mobile phones. But generally, it must match a contact in the contact database, it is either a phone number or an email address. In other cases, it is deemed as illegal. Information of an invalid recipient will not be sent. The data structure of the management Contact is Contact and ContactList. ContactList is an ArrayList with the Contact element. A Contact not only stores some information about a Contact, such as its name and phone number, but also synchronizes it with the Contact database, that is, it can ensure that it is a legal Contact, and exists in the database. A contact synchronization is performed before the information is sent to ensure that existing contacts are correct.

 

Mms is the core mobile phone program. Like the phone program, it needs to implement wireless communication through the Modem of the mobile phone, that is, it relies on SIM. Therefore, if the phone does not have a SIM, Mms cannot be used normally and messages cannot be received or sent.


 

From the stars of the waves

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.