that's right. As others have noted you might not have a device with a number, and you should catch the intent in the case that it fails..
kris On Tue, Jul 31, 2012 at 6:09 AM, Rahul Kaushik <[email protected]> wrote: > Intent smsIntent = new Intent(Intent.ACTION_VIEW); > smsIntent.setType("vnd.android-dir/mms-sms"); > smsIntent.putExtra("address", "12125551212"); > smsIntent.putExtra("sms_body","Body of Message"); > startActivity(smsIntent); > > > That is am looking for > > Thanks > RK > > On Tue, Jul 31, 2012 at 3:34 PM, Raghav Sood <[email protected]> wrote: >>> >>> From where we send our/compose our message in our android mobile >> >> >> There is no default SMS app in Android. >> >>> >>> Mobile no to whom the message is to be send >> >> >> The ability to do this varies from app to app. >> >> Thanks >> >> -- >> Raghav Sood >> Please do not email private questions to me as I do not have time to >> answer them. Instead, post them to public forums where others and I can >> answer and benefit from them. >> http://www.appaholics.in/ - Founder >> http://www.apress.com/9781430239451 - Author >> +91 81 303 77248 >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

