MMS, which is the SMS system inside Android, can send and receive SMS, MMS and so on. Next we compile and modify the MMS project, add our own features, and then download to the real machine to run.First, compiling MMS project1, compiling
), mime );Extends intent. putextra (intent. extra_stream, Uri. fromfile (FD ));Specify intent. putextra (intent. extra_subject, subject );Extends intent. putextra (intent. extra_text, body );
Post: http://hi.baidu.com/jiang_yy_jiang/blog/item/72191b00b7efa002738b6543.html
Slave --------------------------------------------------------------------------------------------------------------------------------
Development Using eclipse on Windows is different from development using Unix environment.
The MMS operation on the MMS (Multimedia Messaging Service) in Android is related to the MMS protocol, which is completed through the API provided in frameworks: COM. google. android. the MMS package is not open in the SDK and can
Slideview.java this displayaudioinfo () function should be changed to publicIn Packages/apps. Mms/src/com/android/mms/ui/slideshowpresenter.java revision changed toif (action = = mediaaction.no_active_action) {M:code analyze 006, Fix bug ALPS00272535,Can ' t return even if no_active_action @{Presentaudio (view, (Audiomodel) media, true);((Slideview) view). Displa
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 contai
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
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
Android sends SMS to intercept the previous send is successful, then send the next SMS 1. Question: encountered in the project such as the following requirements: To send a text message has n, the implementation of a one-piece send and after the last text message sent successfully before sending the next one. for (int i=0;i sendsms (10086, Text1, i); privat
Android Instant Message Processing Mechanism and android Instant Message ProcessingHow to ensure instant messaging without consuming power when making instant messages on android. Why? The reason is that to ensure the instant messaging, there are usually two mechanisms pull
Android custom message push and android custom message
Do not look at the figure:
After clicking, the effect is as follows:
Code: main method:
Package com. text. ac; import java. util. calendar; import android. app. activity; import
ι Copyright Notice: This article for Bo Master original article, without Bo Master permission not reproduced. 1. Why Android message mechanism is requiredBecause Android does not allow access to the UI in child threads, the Android system does not allow the UI to be updated in child threads.Why is it not allowed to upd
Message Processing Mechanism in Android Development (II) -- message loop
/*
* Message Processing Mechanism developed by Android (2)-message loop
* Beijing Android Club group: 167839253
The Notification in the top bar of the Android homepage can customize the style of the Notification message bar and click the Notification column to enter the people-oriented program ., Android custom message bar
Common Program notifications are displayed in the top bar of the home page.
1 package com. lixu. tongzhi; 2
Android interview question 2: why is there a message mechanism? Android interview message mechanism
In Android UI development, Handler is often used to control the interface changes of the main UI program. For Handler functions, we can conclude that it works with other thre
Android development, text message exception caused by video group chat, android text message
I am developing a program (automatic reply) for sending a text message after receiving the message. When my mobile phone starts the group
Android development and learning: Call and text message, android text message
1. Create an android Project
File -- New -- Other -- android application project
Enter the application name (that is, the application name, for example,
Android text message code and android text message codeAndroid text message code by Wu xueying
Uri uri = Uri. parse ("Maid: 10086"); Intent intent = new Intent (Intent. ACTION_SENDTO, uri); intent. putExtra ("sms_body", "The SMS text"); startActivity (intent );
Why can
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.