如何访问Android上的SMS / MMS数据库,而不使用"内容:// SMS" [英] How to access the SMS/MMS database on Android without using "content://sms"
问题描述
我最近读到的内容提供商内容://短信
不应该被用来访问短信存储,因为有可能是某些手机可能不知道如何对付它。
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.
那么,这将是访问SMS数据库在Android的最佳方法是什么?如何访问mmssms.db(这应该是我需要处理数据库,对不对?)直接从自己的应用程序来查询短信和通话?
So, what would be the best way to access the SMS database in Android? How can I access mmssms.db (this should be the database I need to deal with, right?) directly from my own application to query text messages and conversations?
推荐答案
内容提供商是访问短信彩信的唯一途径,像Handscent和规划我自己的查询返回的列,以确保适用的数据用户之前返回可以使用的应用程序。内核提供了一个基本的核心桌子和几个厂家添加到这一套。
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.
这篇关于如何访问Android上的SMS / MMS数据库,而不使用"内容:// SMS"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!