12
I use the following code to start the SMS application:   

Intent smsIntent=new Intent(Intent.ACTION_SENDTO,   Uri.parse("sms:"));
smsIntent.putExtra("sms_body", "Message Body");
startActivity(smsIntent);

It works fine if user selects standard "Messaging" application. But if user selects GV the message body text is ignored.

I have also tried the following as suggested in some forums:

smsIntent.putExtra(Intent.EXTRA_TEXT, "Message Body");

I have searched all the forums I know of and tried lot of things. Nothing worked for me. Am I missing something here? Does GV need a special handing that it can’t be treated as regular “Messaging” app?

Jas
  • 121
  • 1
  • 5

1 Answers1

1

Here are some thoughts that might point you in the right direction:

Hopefully one of these help you out...

Community
  • 1
  • 1
Adam Rofer
  • 6,121
  • 1
  • 14
  • 11