Tell me how to use built-in messaging within the application?
Submitted by: AdministratorIntent object to activate the built-in Messaging service. You have to pass MIME type "vnd.android-dir/mms-sms", in setType method of Intent as shown in the following given below code.
Intent intent = new Intent (android.content.Intent.ACTION_VIEW);
intent.putExtra("address", "5556; 5558;");// Send the message to multiple recipient.
itent.putExtra("sms_body", "Hello my friends!");
intent.setType("vnd.android-dir/mms-sms");
startActivity(intent);
Submitted by:
Intent intent = new Intent (android.content.Intent.ACTION_VIEW);
intent.putExtra("address", "5556; 5558;");// Send the message to multiple recipient.
itent.putExtra("sms_body", "Hello my friends!");
intent.setType("vnd.android-dir/mms-sms");
startActivity(intent);
Submitted by:
Read Online Android Job Interview Questions And Answers
Top Android Questions
☺ | What is APK format in Android? How to make an APK file? |
☺ | What is needed to make a multiple choice list with a custom view for each row? |
☺ | Explain Briefly the Android Application Architecture? |
☺ | What are the dialog boxes that are supported in android? Explain? |
☺ | What are the different Storage Methods in android? |
Top Mobile Technologies Categories
☺ | Android Interview Questions. |
☺ | Wireless Communication Interview Questions. |
☺ | 3G Interview Questions. |
☺ | iPhone Interview Questions. |
☺ | Mobile App Architect Interview Questions. |