I am trying to read sms from my inbox using contentresolver. I can read a sms fro specific number actually i am getting both send and receive sms.
mUri = Uri.parse("content://sms/");
mContentResolver = pContext.getContentResolver();
I used above code and getting all sms from specific number
Please understand my requirements below:
- I should get a sms for specific sender which is already received in inbox
- At present, am getting all the sms conversation for specific number, instead i want to get only a received SMS from inbox for specific number
- When i am getting SMS from inbox its showing from latest to old instead, i want to display the SMS in list from old to latest
Thanks in advance