Is any SMS API available for Android to send SMS messages from an Android application?

In my application I want to send SMS to the user, they are registered in the application without user interaction. Is this possible in android? yes means how to do this because I don't want to open the default SMS application available in android.

+5
source share
3 answers

It is very simple to send sms using Android code -

SmsManager sms = SmsManager.getDefault();
sms.sendTextMessage(NUMBER, null, MESSAGE, null, null);

and if you want to capture all events related to SMS, such as SMS sent, delivered, you can link to the link provided in this post by @Ian Newson. Thanks

+9
source

For more information on how to send SMS messages from the Android application, see the following link.

http://mobiforge.com/developing/story/sms-messaging-android

+2

If you are just trying to send SMS from a device, it could hardly be easier than using SmsManager.sendTextMessage

+2
source

All Articles