Viewing SMS Message Details with Messaging/SMS Intent

by beachboy » Wed, 29 Apr 2009 15:04:24 GMT


Sponsored Links
 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,

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How can i get back to Android 1.5 version After Restoring to Default Factory.

Hi guys,

I've restored my android dev phone 1 to its default factory from the
settings option.
Now how can i get back to my android 1.5 version ?
After restoring the appearing screen cointains,
Android logo followed bay "Welcome to Android Dev Phone 1, Tap the
android to begin" message
and two bottons one is for "Emergency dial" and the other one is for
"change language"


Any info/help regarding this would be greatly appriciated.

many thanks in advance,
Freshman
--~--~---------~--~----~------------~-------~--~----~

2. errno=Connection timed out

Hi
I am getting the following error when i am trying to get the sources:

sanj...@sanjeev-desktop:~/mydroid$ repo init -u
git://android.git.kernel.org/platform/manifest.git -b cupcake
Getting repo ...
   from git://android.git.kernel.org/tools/repo.git
android.git.kernel.org[0: 204.152.191.45]: errno=Connection timed out
android.git.kernel.org[0: 149.20.20.141]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)

Anybody got this ?
quick help much appreciated.

#Ash09
--~--~---------~--~----~------------~-------~--~----~

3. Flow of Outgoing call

4. Small one Level Game

5. Fwd: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification

6. How to just capture the updated screen data instead of reading all data from framebuffer?

7. How to just capture the updated screen data instead of reading all data from framebuffer?