Can Two mobile apps use same local db.

Can Two mobile apps use same local db.

  

Question : Can two mobile applications access same local database( Assuming both installed on same mobile) 

Hi Phani Pawar,

Even the 2 mobile applications are using same local database scheme but the data inside the application will have a scope only for that application only . You Cannot retrieve the data into another application.

Cheers,

Koushik's answer is correct, you can share a database model but not the database instance itself. That can be used not only to share the data model but also to share offline sync logic (if you have a set of apps you can implement only one model and sync logic).


If you need to share data between apps, then you must do it outside the apps, a REST service might be a better option there.