Click here to Skip to main content
15,886,104 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,
Please tell me how to update data from android.provider.Settings.Secure.

Although I had read the description from android document:
"Secure system settings, containing system preferences that applications can read but are not allowed to write."


If There is exist any technique to solve this problem. please give me some keywords.

Thanks for All,
Nguyen Dai Son
Posted

1 solution

The only way is a rooted device.
 
Share this answer
 
Comments
lienfam 7-Dec-10 7:18am    
Dear Igor Kushnarev, Thank for your helpful answer. my device had been rooted by GetRootOneClick tool on xdadeveloper site. But I still not solve this problem. Could you give me more information.
Thank again.
Igor Kushnarev 7-Dec-10 8:14am    
Try the following:

First, add WRITE_SECURE_SETTINGS permission to the manifest
Second, sign your apk.
Third, install it:

adb remount
adb push yours.apk /system/app/
adb sync
lienfam 7-Dec-10 10:36am    
Dear Igor Kushnarev, Thank you so much.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900