I use SQLite to store some data. I recently had a complaint from a user who told me that every time I update the application, the database is erased.
I want to fix this, but first I need to simulate an application update without loading it into a Google game and wait.
You do not need to download apk in google, you can install it directly on your device using adb.
adb install -r yourApp.apk
In your SQLHelper class, you got the onUpdate method. I assume you put the database there. You can simulate an update by increasing the database version number in the wizard.
apk, Google Play, , bin , IDE. .
Source: https://habr.com/ru/post/1533760/More articles:Instagram unsubscribed from the tag, and when the re-subscription disappeared even with a successful response - apiDoes chrome extension api support directly from the view cache? - javascriptWordpress: отключить теги только для сообщений - phpHow can I use oh-my-zsh with PHPStorm? - zshJMS-like message selector for AMQP (ActiveMQ / RabbitMQ) - jmsCLR Access Violation AwareLock :: OwnedByCurrentThread - debuggingScaling MongoDB on OpenShift versus using MongoLab - node.jsFactory design pattern using enumerations and inheritance - inheritanceDynamoDB and .NET Persistence Model using "ADD" values instead of overwriting - c #angular-google maps getting a geo location with the mouse - angularjsAll Articles