vendredi 22 mai 2015

Two application in one package name in android

Let’s consider I create an Android Project.

Its package name is com.example.helloworld. In that project I created SQLite database. Then I run the project in emulator.

SQLite database stored in File Explorer -->Data-->Data-->com.example.helloworld-->database

Then I create a new project in new workspace with the same package name (com.example.helloworld) and install in same emulator.

What will happen now?

1) Second Project will install as re install process?

2) If it’s installed in emulator, SQLite database still available?

3) Second database can access same database?

4) Signed APK won’t have these complications. Right?

Aucun commentaire:

Enregistrer un commentaire