yfleury Active Member Licensed User Longtime User Apr 6, 2019 #1 I have an app with db. In app, I delete database.db from File.DirInternal. Then I try to acces to a table and the app crash of course. I am sure the db file is deleted. Then I uninstall the app from my device. and reinstall it. My app create a fresh database file with a empty table. Then a load table and surprise. The table is not empty. I try all procedure above many time and the table have same data time after time. How can be sure a fresh database is empty?
I have an app with db. In app, I delete database.db from File.DirInternal. Then I try to acces to a table and the app crash of course. I am sure the db file is deleted. Then I uninstall the app from my device. and reinstall it. My app create a fresh database file with a empty table. Then a load table and surprise. The table is not empty. I try all procedure above many time and the table have same data time after time. How can be sure a fresh database is empty?
Erel B4X founder Staff member Licensed User Longtime User Apr 7, 2019 #2 Disable Android backup feature with this line (manifest editor): Code: SetApplicationAttribute(android:allowBackup, "false") Upvote 0
Disable Android backup feature with this line (manifest editor): Code: SetApplicationAttribute(android:allowBackup, "false")