In android sources, I found isms interface, which uses SmsManager.
What class implements this interface? How does it work?
What happens when this method is called, for example sendText?
In android sources, I found isms interface, which uses SmsManager.
What class implements this interface? How does it work?
What happens when this method is called, for example sendText?
Use the below link for sending sms. Use SmsManager. Here is a sample project showing the basics of sending an SMS, either through the default client or by using SmsManager. I do not believe there is a public API to send MMS, though.
or simply use the below code to launch the native Message box
Intent sendIntent = new Intent(Intent.ACTION_VIEW);
//use to fill the sms body
sendIntent.putExtra("sms_body", "Hi this is test sms");
sendIntent.setType("vnd.android-dir/mms-sms");
startActivity(sendIntent);