Hi,

I want to access the addr table from the mmssms.db database in the /
data/data/com.android.providers.telephony/databases directory on
Android emulator/phone. This table contains the phone numbers of SMS/
MMS conversations.

However I have not been able to figure out the correct URI for this
table. I have tried content://sms/addr, content://mms-sms/addr, content://addr
and other combinations. However I have not been able to access this
particular table. Any idea which Uri I should be using for this?

Below is my code:

Cursor cursor = getContentResolver().query(Uri.parse("content://mms-
sms"),
                null, null, null, null);

I am able to see the addr table in adb shell when I give this command
in /data/data/com.android.providers.telephony/databases by giving the
command:

#sqlite3 mmssms.db
sqlite>.tables
sqlite>select * from addr

etc

Thanks,
-- 
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

Reply via email to