I have an application that saves data onStop()
to a file in the internal storage. And then when the application is started again it will attempt to retrieve that data that was stored there onStart()
.
I am currently testing my application through running the application through Android Studio onto my Google Pixel 2 (Android 8.1.0 API 27).
My question has three parts. Don't feel obligated to answer all parts.
P.S. I am a university student learning Android development, I have been scouring stack-overflow and Android documentation for information on data storing and the like. Its entirely likely that I missed something so if you know of some resource that might help me out here, I would greatly appreciate you sending it my way.
Have you tried?
Short answer is SQLite data and Shared Preferences will stick around unless you programmatically remove it, uninstall the app OR clear data from settings.