Hi,
You can use this code for reading sms inbox
I already tried it
public class SmsApp extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
String strUri="content://sms/inbox";
Uri urisms=Uri.parse(strUri);
//try{
Cursor c=this.getContentResolver().query(urisms, null, null, null,
null);
while(c.moveToNext())
> -~----------~----~----~----~------~----~------~--~---
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---