Android 1.5: Reading SMS messages

I'm creating a backup utility for Android and I need to read content of inbox, outbox and dratfs. How can I accomplish that on SDK v1.5?


There is a content provider for accessing SMS messages, but it's not documented in the public SDK. If you use ContentResolver.query() with a Uri of content://sms you should be able to access these messages.

You can find more information on this Google Groups thread or previous questions on stackoverflow.