How you can use built-in Messaging within your application?

Answer

You can use an Intent 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);

What are different data storage options are available in Android?

Different data storage options are available in Android are:

  • SharedPreferences
  • SQlite
  • ContentProvider
  • File Storage
  • Cloud Storage

All Android Questions

Ask your interview questions on android

Write Your comment or Questions if you want the answers on android from android Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---