How to send sms in android?



How to send sms in android?..

Answer / Deepika Kishore

To send an SMS in Android, you can use the SmsManager class. First, get an instance of the SmsManager for the default SMS app using getDefault() method. Then, create a PendingIntent for the BroadcastReceiver that handles the sent message and pass it to the sendTextMessage() method along with the recipient number and the message text.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Android OS Interview Questions

So, how should I go about picking an Android phone?

1 Answers  


Where is the UI Designer?

1 Answers  


What is an explicit intent?

1 Answers  


What is APK format?

1 Answers  


What is the android g1 phone?

1 Answers  


What is a resource?

1 Answers  


Explain the difference between nine-patch image vs regular bitmap image?

1 Answers  


Which kind of application when creating with sencha touch?

1 Answers  


What’s up with all these different versions of Android, like "Donut," "Cupcake" and "Froyo"?

1 Answers  


What do adt stands for?

1 Answers  


Describe the SmsManager class in android.

1 Answers  


how to fix an android application crash?

1 Answers  


Categories