Hello, You can read sms this way 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())
> -~----------~----~----~----~------~----~------~--~--- > > but you need permission ,u described SMS_READ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---