I am developing an HTML5 bases webapp and plan to make post it as native app using phonegap or sencha.
I need something to store my local app data ~2MB( can be name value pair), but storage needs to be persistant and should not be deleted on phone restart or resetting to factory defaults.
what is the scope of SharedPreferences and localstorage in andriod, can a user clear them or what is their lifetime and under what conditions are they cleared.
My other question would be about sqlite, does andriod backup mgr takes a backup of that and restores it if user restores the phone and can sqlite db be cleared by user