Hi everybody,
I unfortunately don't find the necessary documentation to retrieve the
SMS already received in the inbox.
My goal is to do smthg like :
ContentResolver cr = mCtx.getContentResolver();
Cursor cur = cr.query(Uri.parse("content://sms/inbox"),
null, null, null, null);
while (cur.moveToNext()) {
// HOW TO KNOW HOW SHOULD I USE MY CURSOR?
}
My questions are :
* Is the URI correct ? I heard about content://sms/inbox and
content://sms/conversation.
* What are the columns where my cursor points ? Where can I find this
kind of information?
* Am I using the good method ?
Thank you for your help,
Deniz
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---