Your Open Source

 
Related Posts
Mobile  >>  Android

get All SMS messages in the Android

Retrieve All SMS messages in the Android

The URI ( content://sms/ ) will used to retrive the all SMS messages, also we can split up by the message type as well as.
Uri allMessage = Uri.parse("content://sms/");
ContentResolver cr = getContentResolver();
Cursor c = cr.query(allMessage, null, null, null, null);
while  (c.moveToNext()) {
   String row = c.getString(1);
}

you can get the all inbox/outbox here

  • hits 1222
  • datetime Sep 11 09 07:34:37
  • author Sekar
  • rating

Rating : 12345
Tags :- Android

Answers

kartik
Sep 09 09 02:43:39
Really great thing.

Your Name:
Your Answers :
<> is a code tag
Preview
Enter the verification code: