user2924127
user2924127

Reputation: 6240

SQLite isolated from other apps

I cannot find an answer after searching on the internet, but if my app creates a database on mobile device named 'myDB' with a table called 'users' what happens if another vendor's app on the user's device creates the exact same name? Are the databases isolated by app?

Upvotes: 0

Views: 45

Answers (1)

Emerson Dallagnol
Emerson Dallagnol

Reputation: 1269

If you're talking about a Android device: yes, other apps can't access your app database. (unless they have root access)

Android provides full support for SQLite databases. Any databases you create will be accessible by name to any class in the application, but not outside the application.

http://developer.android.com/intl/pt-br/guide/topics/data/data-storage.html#db

Upvotes: 1

Related Questions