Is there a way to update a database when installing/upgrading an app?
- by Adam
I have a main application, and a bunch of sub-applications (they are separate apps, which do not appear on the android home dashboard). I was planning on having a SQLite DB which the main app maintains, and get a list of available sub-apps from. Is there a way to update this main database as the user installs the sub-apps?
Two alternative I was thinking of include:
User installs the sub-apps via the main app, which would then update the DB.
Rather than use the DB to find all installed sub-apps, have each sub-app declare a category, and use intents to query for all applications which match that query (is this even possible? if so, advice is welcomed).
Thanks!