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?
smsto:
instead ofsms:
and see if that helps. – Brutal