3

I am used SQLite database in my application and i insert the user details in my table and show to listview control, but when i clicked clear data button in Application settings i lost my insert value,how to prevent this,any one help for me. thanks

1 Answers1

4

You Cant do that

But ,instead of the clear data , Manage Space will visible in the Settings Screen To do this,add this to your application tag in the manifest file..

android:manageSpaceActivity="com.packagename.appname.activities.ManageSpaceActivity"

When you invoke that button your appr ManageSpaceActivity will be launched

Check this , this for more info..

Community
  • 1
  • 1
Jagadesh Seeram
  • 2,630
  • 1
  • 16
  • 29