开发者

Where the local sqlite database information is saved in Android OS for Mobile Web Applications?

开发者 https://www.devze.com 2023-04-11 23:34 出处:网络
How can we save remote database (let us say SQL Server database) for some tables in local sqlite android client from android mobile web application (Browser). Where the local sqlite database informati

How can we save remote database (let us say SQL Server database) for some tables in local sqlite android client from android mobile web application (Browser). Where the local sqlite database information is saved in Android OS for Mobile Web Applications?. I already know how the sqlite information is saved for native mobile application for Android. I know we can use content providers to开发者_运维技巧 access browser history etc information. But I would like to know where the information is saved if we save in the form of sqlite of remote sqlserver database information.


If your application creates an database this database is saved in the directory "DATA/data/APP_NAME/databases/FILENAME". "DATA" is the path which Environment.getDataDirectory() returns, "APP_NAME" is your application name and "FILENAME" is the name you give the database during creation. Environment.getDataDirectory() usually return the SD card as location.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号