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, "[email protected]" <[email protected]> wrote:
> 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....
>
> On Oct 28, 12:12 am, sori <[email protected]> wrote:
>
> > The list of available intents (http://code.google.com/android/
> > reference/available-intents.html) does not show any info onSMS
> > scheme.
>
> > I understand that there is a way to sendSMSmessages directly from my
> > applications, but I'd like to use existing thread-basedSMS
> > application in Android G1 by just forwarding call number and message.
>
> > I found that "sms:number" is a way to post the destination number, but
> > couldn't
> > figure out how to specify the messagebody.
> > I tried many possible options, but all failed.
>
> > Is this supported?  Any info will be appreciated.
> > - Sori
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to