How to disable Clear data button in android mobile
android, android-sqlite
Solution
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..
Problem
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