sms compose activity

by b_t » Fri, 04 Mar 2011 21:19:30 GMT


Sponsored Links
 Hi,

I can start SMS compose activity by

        Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("sms:#"));
        startActivity(intent);

Is it possible to set the phone number or contact id? (the "To" field
of the activity)

Thanks,
Tams

-- 



Other Threads

1. city in india

*  **click to know the
message <http://citysinindia.blogspot.com/>*

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. How to change the selected color (default green) of a toggle button

You're talking about a CheckBox, which is derived from CompoundButton,
which is a button with two states. If you want to change how it looks,
you can specify your own Drawable for it, and either change it
yourself when the button changes state, or let the system do it for
you by specifying a drawable that has two states.





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

3. A little question about Modular Content

4. How is the website in the contact info for each app used?

5. Single point of entry into application ?

6. FileChooser on Android

7. eee_701