Reputation: 421
I have two android applications "App1" and "App2", these two mobile applications will installed on the same device. App1 will insert data to local database created on the device (SQLite database) and "App2" will read data from the same database. Its possible ?
Upvotes: 1
Views: 163
Reputation: 75629
No, it's not. DB of each app is isolated and unless you are rooted, apps cannot see each other private data. The only way to share DB is to make one app expose it via content provider. you need to then secure content provider access so only other app can bind.
Upvotes: 0