I have a message that my app has retrieved from the SMS content
provider and I would like to invoke the Messaging/SMS App to View the
message. When I use the code below it appears that the UI panel that
is displayed is combination of the UI panel of view and compose
message from the Messaging/SMS App. The body of the message is stored
in the compose edit box next to the send button. When you click on a
message from the Messaging/SMS app the message and its details are
displayed above the compose edit box indicating that we are not
composing a new message. Can anyone tell what I am doing wrong in the
code below?

  Uri uri = Uri.parse("sms: ");
           Intent intent = new Intent(Intent.ACTION_VIEW,uri);
           intent.putExtra("compose_mode", false);
           intent.putExtra("message_id", id);
           intent.putExtra("address", "1234567890");
           intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
           mContext.startActivity(intent);


Thanks,

--~--~---------~--~----~------------~-------~--~----~
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