ActiveAndroid
ActiveAndroid copied to clipboard
Dynamically loading new database file
I had a generic question with regards to loading a database dynamically. Here is the scenario,
- User logs into the app
- The application pulls a .db file from a remote server and copies it locally to the name provided in the the application manifest.
- The application starts a pending intent for a 3 seconds into the future to restart the application
- This instance of the application terminates
- App reloads with the new database, and ActiveAndroid is working flawlessly.
My question, is there a way to tell ActiveAndroid framework to reinitialize with the newly created .db file without restarting the application?