I recently read that the content provider content://sms
shouldn't be used to access the SMS store, as there could be some mobile phones that might not know how to deal with it.
So, what would be the best way to access the SMS database in Android? How can I access mmssms.db (this should be the da开发者_如何学编程tabase I need to deal with, right?) directly from my own application to query text messages and conversations?
content provider is the only way to access sms-mms, programs like Handscent and my own are query the columns returned to ensure the applicable data is returned before the user can use the applications. The kernel supplies a basic core table and several manufacturers add on to this set.
精彩评论