[android-developers] Re: How to get all sms messages on phone

2012-03-07 Thread Ali Chousein
In my app I didn't need to make the distinction between sent and received SMS messages. I suggest you to investigate the cursor object inside the debugger to understand how to make this distinction. - Ali Chousein http://www.codeproject.com/KB/androi

Re: [android-developers] Re: How to get all sms messages on phone

2012-03-06 Thread Farhan Tariq
So this cursor would point to a collection of sms messages? What do i need to extract the sender, receiver, text from the message? Thank you in advance On Wed, Mar 7, 2012 at 3:42 AM, Ali Chousein wrote: > SmsManager does not do what you are interested in. Android SDK does > not officially suppo

[android-developers] Re: How to get all sms messages on phone

2012-03-06 Thread Ali Chousein
SmsManager does not do what you are interested in. Android SDK does not officially support retrieving the received and delivered SMS messages. But there are always backdoors. In the past I used the statement below for retriving all (both received and delivered) SMS messages: Cursor cur = getConten