0

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?

Scott C Wilson
  • 19,102
  • 10
  • 61
  • 83
RomaTTi
  • 327
  • 2
  • 12

1 Answers1

0

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.

LINK1

LINK2

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);
Shankar Agarwal
  • 34,573
  • 7
  • 66
  • 64
  • I now haw to send sms from android. I whant to now haw it happend. How ISms intarface sending it. May be some class implements this intarface. Yet I have not found how it works and ask for help. – RomaTTi Apr 08 '12 at 16:12