Tuesday, July 13, 2010

[android-developers] Getting phone number from default SMS activity

Hi All,

I have started the default SMS application and specified the SMS text
to be sent through following code-

intent = new Intent(Intent.ACTION_VIEW, Uri.parse("sms:"));
intent.putExtra("sms_body", "SMS Text");
startActivity(intent);

It worked fine and sends the message to selected number from contact
list.

My requirement is that i want to know the number to which my SMS was
sent?

Please help me...its urgent.

Thanks in advance.

Amit

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate