Problem invoking View Intent for Messaging App

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


Sponsored Links
 I am trying to view a message using the Messaging application on the
emulator. I created a message using Telnet and can see the message in
the Messaging App. I tried to invoke the view intent using the
following code. When this code runs the Messaging App starts but
displays the UI panel with the data as if I was a composing a message
rather than viewing the message.

  Uri uri = Uri.parse("sms:1234567890");
  Intent intent = new Intent(Intent.ACTION_VIEW,uri);
  intent.putExtra("sms_body", "testsmsmessage");
  intent.putExtra("compose_mode", false);
  intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  Context.startActivity(intent);

What am i doing wrong?


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



Other Threads

1. Has anyone written a 2D scene graph yet?

I am struggling with drawing on my custom View. I can make it all work
but just not very efficiently. I am using invalidate causing the
entire screen to be redrawn. I only need to redraw a small portion of
the screen. I tried calling invalidate with a rectangle but that left
everything else black. I don't know what is causing everything else to
go black if I only invalidated a small rectangle.

I see many posts on these similar issues and think that everybody
would have a much better experience if there was a 2D scene graph API
for android. Then I can just worry about my scene primitive attributes
and let the scene graph engine handle all the drawing in the most
efficient way possible.

-- 

2. Fwd: bug gmaps dan my map editor

---------- Forwarded message ----------
From: "Jonitan17" <jonita...@gmail.com>
Date: 30 Dec 2009 10:01
Subject: bug gmaps dan my map editor
To: <id-android@googlegroups.com>

RR,sesuai subjek yg di atas ada yg alami bug gak,dimana kalo kita gunakan my
map editor dan pilih my location,gprs nya langsung off,efeknya gmapsnya juga
gak bisa gunakan gprs

jonitan17
magic

-- 
=========================
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

3. Can you put in duplicate app names on the Android Market?

4. help regarding implementation of SAX parser in android

5. custom keyboard

6. How to use broadcast receivers

7. Where onItemClick gets called as callback?