Hello,

I'm trying to develop and application which needs to select SMS Messages
from the Inbox.
This is similar to an App invoking a Contact Picker to select a particular
contact.

I tried with the following code, but it doesn't seem to work

public void importFrmMsgs()
   {
       Uri msgUri = Uri.parse("content://sms/
inbox");
       Intent intent = new Intent(Intent.ACTION_PICK, msgUri);
       //intent.addCategory(Intent.CATEGORY_DEFAULT);
       //intent.setType("vnd.android-dir/mms-sms");
       startActivityForResult(intent,1);
   }

Could someone help me on this please?

Best Regards

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

Reply via email to