I am using the SQLite database to store data in my application. Can the databases I created for use in my application be accessed by others or any outside application?
Asked
Active
Viewed 131 times
0
-
1If you created the database as PRIVATE, then it can be seen but it will not be readable and other applications can not access it. – theAlse Jul 31 '12 at 07:36
-
Dear Alborz how to see that files in device? – Srinivas4iPhone Jul 31 '12 at 07:38
-
Here is a long discussion about the same issue. http://stackoverflow.com/questions/1043322/why-do-i-get-access-denied-to-data-folder-when-using-adb – theAlse Jul 31 '12 at 07:48
1 Answers
1
No. The databse file is stored in /data/data/yourpackage.yourapp/database. On a non rooted phone, you don't even have file system access there. Other Applications can not access this file as well, for very good security reasons.
If you want to share data with other applications or want to consume data from other applications, check
http://developer.android.com/guide/topics/providers/content-providers.html

Hans Hohenfeld
- 1,729
- 11
- 14