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);

What am i doing wrong?


Other Threads

1. eclipse plugin repository not available

following directions at

I cannot install the eclipse plugin at
https doesn't work either

eclipse gives the following error:

No repository found at
  Error reading update site
  Connection refused


2. Sensors: file descriptor closed


I work with the latest version of cupcake. I have developped a
sensors.c following the sensors.h explanations. It works fine but just
once. What I mean is, I can start an application using the sensor, but
as soon as I leave it, I can't use the sensor anymore.

Actually, I have found the file descriptor returned by
"open_data_source" is closed by the ParcelFileDescriptor.close method.
I got round the issue by returning a dup of the file descriptor so now
several applications can use several times the accelerometer. I thought
first I had misunderstood the explanations and the dup had to be in
"open_data_source" and not in "data_open". But this case doesn't work
either for the same reason. I must have a dup in both functions.

Is it the correct way? 


This  email  and any  files  transmitted  with it are  confidential  and are
intended solely  for the use of the individual  or entity to which  they are
addressed.  Access to this e-mail by anyone else is unauthorised. If you are
not the  intended recipient,  any disclosure,  copying,  distribution or any
action taken or omitted to be taken in reliance on it, is prohibited. E-mail
messages are not necessarily secure.  Archos does not accept  responsibility
for any changes made to this message after it was sent.


3. What is "active installs"? ... any why does it jump?

4. Rotate (90, 180, 270) Camera Preview by SurfaceFlinger ?

5. How to HTTP Post

6. Could title bar of activity listen to click event?

7. write android UI by C language ?