[android-developers] Re: How can I specify message body part in SMS intent?

2009-01-06 Thread devileper
The following intent will launch the sms application with no destination but with a valid message body. Intent intent = new Intent(Intent.ACTION_VIEW, "sms:#"); intent.putExtra("sms_body", "The SMS text"); startActivity(intent); On Dec 18 2008, 1:15 pm, devileper wrote: > I have found the appro

[android-developers] Re: How can I specify message body part in SMS intent?

2008-12-18 Thread devileper
I have found the approach of using type "vnd.android-dir/mms-sms" only works when the DIALER app is closed. If sent while the dialer app is open I receive the following error: "Connection problem or invalid MMI code." Anyone have some other ideas? On Dec 9, 1:56 pm, "devile...@gmail.com" wrot

[android-developers] Re: How can I specify message body part in SMS intent?

2008-12-09 Thread devile...@gmail.com
Intent sendIntent = new Intent(Intent.ACTION_VIEW); sendIntent.putExtra("sms_body", "The SMS text"); sendIntent.setType("vnd.android-dir/mms-sms"); startActivity(sendIntent); Source: http://jtribe.blogspot.com/2008/12/sending-sms-using-android-intents.html On Oct 28, 12:12 am, sori <[EMAIL PROTE

[android-developers] Re: How can I specify message body part in SMS intent?

2008-10-28 Thread sori
You can try this for destination number only: Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(sms:1234567890)); startActivity(i); On Oct 28, 6:04 am, HTP <[EMAIL PROTECTED]> wrote: > I'm looking for the same thing, but I just want to start the > built-inSMSapplication with a forwarded desti

[android-developers] Re: How can I specify message body part in SMS intent?

2008-10-28 Thread HTP
I'm looking for the same thing, but I just want to start the built-in SMS application with a forwarded destionation number. How do I do that? //HTP --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers"