Vamsi Challa
Vamsi Challa

Reputation: 11109

Android SQLite tables not deleted when Application uninstalled on actual device

Fresh installation of the application still retrieving old data on Phone but not on Emulator. Please see the screenshots below...

Emulator:

enter image description here

Logcat from Emulator:

enter image description here

The same application when run on the actual device (on a fresh install), gives me this:

enter image description here

Logcat from Device:

enter image description here

I uninstalled the app from the device, many number of times, restarted the device, cleared cache, but nothing seems to remove the database from device. This is the first time i am looking at such kind of scenario, so please if someone can help me figure this out, its much appreciated.

Upvotes: 1

Views: 94

Answers (1)

Vygintas B
Vygintas B

Reputation: 1694

In your manifest add this line under application tag

android:allowBackup="false"

Upvotes: 2

Related Questions