1. Save the received MMSThe received MMS will be saved by calling pdupersister: persist (...) in the retrievetransaction: Run () function.
2. Implementation of vCard and vcalendarA. ReceiveWhen the received MMS is saved, it will be stored in the pdupersister: persist (..) finally, call checkhaveotherattachment (..), set MMs in dB. other_attachment indicates the a
in Packages\apps\mms\src\com\android\mms\ui\uriimage.javaInitfromcontenturi functionPlease find this code:M:code analyze 003, for fix bug ALPS00278013, send the MmsWith a image from phone to email,but the image name changedTo number and the suffix are lost when received. @{FilePath = Uri.getpath ();FilePath = c.getstring (C.getcolumnindexorthrow (Images.Media.DAT
MMS portal analysis:
The two most important activities in MMS are:Conversationlist(SMS list), the other isComposemessageactivity(Single conversation or text message ). Each composemessageactivity record belongs to a conversation or does not belong to any conversation (no recipient draft). Each converation is distinguished by an independent threadid. Each converation has a unique workingmessage indicating th
A. MMS Send:MMS is much more troublesome than SMS. You can see from the parameters of the Sendmmsworker function: (CONV, Mmsuri, Persister, slideshow, sendreq) context, Uri,pdupersister (MMS is a PDU), slideshow Contains all the MMS information, Sendreq contains the headers of the MIME package MMS, also includes inform
1. view the mechanism of SMS re-sending: main log: the re-transmission will be performed in hanldeSmsSent () only when the sending fails due to radio off or no service. The result is RESULT_ERROR_RADIO_OFF/RESULT_ERROR_NO_SERVICE, in either case, the SMS will be re-transmitted. For more information about this function, see SmsReceiverService. java.
To sum up our current retransmission mechanism:
Modem has two types of retransmission:
1. When CP_DATA is sent, CP_DATA will be re-transmitted withou
The contact person is important to MMS because each recipient of the conversation is a contact, and when you create a new message, you can enter any information about the contact, such as the number or name, and MMS can send the information to the appropriate person. MMS is used to represent a contact person, it contains contact information, such as the name, num
1. Support unlimited number of batches of efficient write call records, contacts, MMS and so on.2. Supports real-time display of progress hints during the write process.3. The write operation is stopped manually during the write process.4. The sound and vibration tips can be turned on or off in the settings.As follows:: HTTP://PAN.BAIDU.COM/S/1RVNDKIf you need the source code, please leave your email in the comment area.Android Insert Data tool enable
Menus-Settings-wireless control (wireless and network)-Mobile network-access Point name-new APN; In the access point Related Settings option, fill in the following parameters:
Name: MMS
Apn:cmwap
Agent: 010.000.000.172 (ie 10.0.0.172)
PORT: 80
User name: WAP
Password: WAP
Server: Leave blank
mmsc:http://mmsc.monternet.com/
MMS Agent: 010.000.000.172 (ie 10.0.0.172)
The calendar and contact attachments cannot coexist with other attachments when editing MMs for android.Modify the MmsAttachmentEnhanceImpl. java file to be consistent with Op01MmsAttachmentEnhanceExt. java.Public boolean isSupportAttachmentEnhance (){Return true; // change to true} Public void setAttachmentName (TextView text, int size ){If (size> 1 ){Text. setText (getString (R. string. multi_files); // display strings of multiple external attachmen
The contact is very important to MMS, because the recipient of each conversation is a contact. When creating information, you can enter any information of the contact, such as the number or name, MMS can send the information to the corresponding person. The class contact in MMS is used to represent a contact. It contains the contact information, such as the name,
1. The sequence chart 1.1 of wappush reception is shown in the following figure:
Ii. add and delete MMS attachments
Add MMS attachments: The addattachment (INT type) function in composemessageactivity is divided into seven cases based on the type.
Mediaselectlistactivity. add_image
Mediaselectlistactivity. take_picture
Mediaselectlistactivity. add_video
Mediaselectlistactivity. record_video
Mediaselectl
In MMS, eachThreadhas a corresponding contact, butThreadsThe table does not directly save the contact's information (number or name), but instead saves a message calledrecipient_id, there is also a class calledData/recipientidcache.javaspecialize in managing it.There is a special table in the database to save itcanonical_addresses。 Its purpose is to be able to quickly find information about a contact person in a conversation. Table of DialogsThreadsTh
We will discuss the implementation of the Short MMS module in the following aspects:
[Short MMS] C # Short MMS module development and design (1) -- Architecture (http://www.cnblogs.com/CopyPaster/archive/2012/12/07/2806776.html)[Short MMS] C # Short MMS module development
Add attachments setattachment and mmssetattachment to MMSThe specific implementation form of Composing and editingMMS In the Android Mms application, or the data structure is SlideshowModel. It is an ArrayList with each node as SlideModel, and SlideModel is a List of models, that is, it can receive sub-classes of any Model, including Audio, Video, Image, and Text, which can be placed on the SlideModel. Slid
"Preconditions" to turn off data services"Action steps" to send MMS, or receive MMS"Test results" cannot send MMS messages, content cannot be downloaded after MMS is receivedExpected results to send and receive MMS messages normallyAfter analysis we found that because the se
Multimedia Short Message Service (MMS) is a service that stores and forwards text messages. It enables mobile users to exchange multimedia short messages. It can be seen as the further development of SMS, and MMS can transmit more media forms:
Text
Image
Audio
Images
Combination of the above items
Multimedia Short Message Service (MMS) is a very important
MM1 interface is the mobile terminal and mmsc (China Mobile is the http://mmsc.monternet.com) used to send MMS Message interface, GPRS modem of course can also use this interface to send.
Using system;
Using system. net;
Using system. IO;
Using system. diagnostics;
Using system. Threading;
Using system. collections;
Using system. text;
Namespace mmslib
{
/// /// Summary of mmsender.
///
/// Public class mmsender
{
// Set parameters
String smmscurl =
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.