android app which requires the use of the embeded database, such as sms.db. table structures unknown
i m coding on android system, need to use the databases that have been pre-built by the system, such开发者_如何学编程 as the sms.db . and i just couldn't find any documents about the table structures and the meaning of the fields. been searching the android.com, haven't got a clue. so basically i've done a lot of inference to find out what the tables are and how to use them. it is way too time consuming. so can anybody tell me whether there are documents specifying all the database tables in the android system? thanks in advance.
i m coding on android system, need to use the databases that have been pre-built by the system, such as the sms.db .
The "sms.db" is not part of the "android system". SMS messages are not stored by the Android operating system. SMS messages may be stored by an SMS client, and the Android open source project has such a client (Messenger). That client may or may not be installed on any device, and its database is subject to change.
An "android app" should not be using "sms.db" by any means.
so can anybody tell me whether there are documents specifying all the database tables in the android system?
Not that I am aware of. An "android app" cannot access any of these tables directly, anyway. Those that have documented and supported content providers are documented via the Android SDK.
精彩评论