There is two ways for you to do it..
1.Not allowing the user to clear the data..this can be done by simply mentioning the..
android:manageSpaceActivity=".ActivityOfYourChoice"
in your manifest under application tag..
2.You can deleting the accounts.it can be done using the AccountManager
and the removeAccount
method.
First get an instance of the AccountManager:
AccountManager am = AccountManager.get(this);
Then get a list of all accounts on the device:
Account[] accounts = am.getAccounts();