tags:

views:

35

answers:

0

Is it possible to turn off only the cell radio using the public sdk? I know you can enable airplane mode, and I have even used airplane mode while leaving wifi enabled. The problem with airplane mode is that no matter what you do, bluetooth is disabled along with the cell radio. I would like to disable the cell radio and not touch wifi and bluetooth so I can save my battery while in areas with spotty coverage.

I have tried using ServiceState.SetState and ServiceState.setStateOff, but it does not actually affect the radio (at least not in the emulator), just the return value of ServiceState.getState. I have seen apps that do turn off the radio (causing a red circle/slash over the bars in the notification area), but I am not sure if they are using the public sdk or internal calls.