开发者

changing background data state in Android

Allow me to start with a little rant: While Background Data is enabled on my Galaxy S (Froyo) the battery completely drains in just a few hours! I really cant figure out why when both my exchange and gmail accounts are set to push. In any case, this leads to the need to turn BG Data off to conserve my battery and turn it on mainly for browsing the marketplace. I dont understand why the Market app cant simply turn the thing on when I open the app and not bother me about it and I really dont get why everytime I turn BG Data off I get a dialog telling me it will save me battery, I know that! thats why im turning if off!!! eurghhhh...

With that out o开发者_StackOverflow社区f the way, I wanted to write a little widget that will allow me to turn Background Data on and off whenever I want without going through the menus and seeing that annoying dialog. Then I found out that this setting is one of the "secured settings" which apps cant change.

What I wanted to ask, is whether there is any way to change a secure setting in Android through code? Has anyone found a way around this? Or do we just have to live with it?

Thanks!


What I wanted to ask, is whether there is any way to change a secure setting in Android through code?

Only by modifying the firmware.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜