Reading SMS and MMS Database in Android [duplicate]

怎甘沉沦 提交于 2019-12-04 15:23:19

问题


Google is providing a very nice documentation of the contacts provider in Android API. (You can see it HERE. It has a full details of all tables and columns names used in these databases. I tried to look for the same for sms and mms databases (which are located in mmssms.db) but I could not see any documentation for that. So my questions are:

  • First, is it true that there is no such documentation ?
  • If yes, why google tried to keep this away from us ?
  • And, in your opinion, how can I get more details about the tables used and a description of each column in that table (i.e. what each column is used for).

By the way, I need this information to write a java program that will read sms/mms data. You can assume that I already got mmssms.db file.

Thanks, and I appreciate any help.


回答1:


  1. There is no official documentation about sms and mms database in android

  2. ............

  3. You can get a lot of information about what each column is used for from the Telephony.java. You can get the file here. Telephony.java



来源:https://stackoverflow.com/questions/14089896/reading-sms-and-mms-database-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!