How to read the unread SMS in android ?

Put your problem here if it does not fit any of the other categories.

How to read the unread SMS in android ?

Postby aptgopal » Tue Feb 15, 2011 11:44 pm

Hi
I want to develop the applicaion in android in that i have read all the message contents but i want to need the content of the unread messages only.Please any one tell me that is possible or not possible means how

Possible means please tell me how to do that
Edit/Delete Message
aptgopal
Developer
Developer
 
Posts: 25
Joined: Tue Nov 16, 2010 7:08 pm
Location: India

Top

Re: How to read the unread SMS in android ?

Postby kevat_patel » Wed Apr 06, 2011 6:03 am

following code give all unread message based on last commaing
==================================================
Cursor cursor=getContentResolver.query(Uri.parse("content://sms/inbox"),null,"read=0",null,"date DESC");
kevat_patel
Developer
Developer
 
Posts: 46
Joined: Fri Mar 25, 2011 6:59 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 20 guests