Hello,

I am trying to create a Reset All Settings feature for a custom
version of the Android OS. This should reset just the settings of the
device and leave the installed applications and contacts alone. In my
current approach I delete and recreate the settings database. This is
done in SettingsProvider.java in onCreate() and uses methods from
DatabaseHelper. Unfortunately this doesn't reset all the values from
the System and Secure tables.

My current problem:  the default values of the ringtones are not
loaded in the database. I noticed that after a Factory Reset these
values appear in the database but I failed to find the code that does
that. Can somebody tell me where should I look for this code or how
could I set the default ringtone?

I would greatly appreciate any other advice on the Reset All Settings
matter.

Thanks,
Andrei

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to