I have the following situation, I have an Android codebase where I read data from a DB on an sdcard.
Now Lets say I have two folders mnt/sdcard/folder1
which has 1.sqlite
in it and mnt/sdcard/folder2
which has 2.sqlite
in it. Is there a way I can build and install two apk's 1.apk and 2.apk
which read from the respective folders and databases at runtime? The codebase is the same - just at run time - one of the apk's is called 1.apk
which knows it has to read from the first folder and the second from second. And both are installable at the same time.
OR
is there a better way to achieve this ?