android - Get SMS of specific phone number -
android - Get SMS of specific phone number - i wondering, how can read sms message specific number programmatically? know how read sms using content provider not sure if should utilize "person" column or "address" column or totally different way please help thanks it list out messages specified number. uri msmsinboxqueryuri = uri.parse("content://sms/inbox"); cursor cursor1 = getcontentresolver().query(msmsinboxqueryuri,new string[] { "_id", "thread_id", "address", "person", "date","body", "type" }, null, null, null); startmanagingcursor(cursor1); string[] columns = new string[] { "address", "person", "date", "body","type" }; if (cursor1.getcount() > 0) { string count = integer.tostring(cursor1.getcount()); while (cursor1.movetonext()){ string ...