Hi All,
I am invoking the default SMS activity by using the following code-
intent = new Intent(Intent.ACTION_VIEW, Uri.parse("sms:"));
intent.putExtra("sms_body", "SMSText");
startActivityForResult(intent, 11); //Here 11 is my request code
The SMS activity gets opened in emulator (5554), i type the number
5556 (device number of my second emulator) and click on "Send"
The SMS is received in second emulator(5556) successfully. I click
back on 5554 (my SMS generating emulator )and come back to my
application. I notice that the onActivityResult method is getting
called successfully as desired.
When i check for the result code i get it as RESULT_CANCELED ( 0 )
instead of RESULT_OK (-1). The data is also coming as null.
Please help me on this asap.
Thanks in advance.
Amit
--
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