--
Grupo Android Brasil
http://groups.google.com/group/androidbrasil?hl=pt-BR
Regras da Lista: http://bit.ly/t8wM7U
- Desligar o sync de cada app.
- Desligar background sync (nenhuma app sincroniza em background mais).
- Desligar rede de dados e WiFi.
-Bruno
Em 3 de janeiro de 2012 14:52, Dennis Altermann
<dennisa...@gmail.com> escreveu:
This method is deprecated.
As of ICE_CREAM_SANDWICH, availability of background data depends on several combined factors, and this method will always return true. Instead, when background data is unavailable, getActiveNetworkInfo() will now appear disconnected.
Returns the value of the setting for background data usage. If false, applications should not use the network if the application is not in the foreground. Developers should respect this setting, and check the value of this before performing any background data operations.
All applications that have background services that use the network should listen to ACTION_BACKGROUND_DATA_SETTING_CHANGED.
Sim, interessante. Mas eu sinto falta de uma possibilidade de desativar os dados de forma rápida, como através daquele "Power Widget" (sim, tem apps de terceiros que tem dai) e agora no ICS que tem como desabilitar o WiFi logo na primeira tela do Configurações, assim como o BLuetooth, poderia ter o de dados também.Sim, eu sei que é um "toque" a mais para fazer isso, mas mesmo assim, não tenho certeza se entendi porque não colocar junto com WiFi e Bluetooth isto.
--
-Bruno