Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 722
Migol Avatar asked May 22 '09 22:05

Migol


1 Answers

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.

like image 191
jargonjustin Avatar answered Oct 30 '22 08:10

jargonjustin