L lorebarita Member Licensed User Longtime User Dec 9, 2011 #1 Hi, Is there a library or feature to turn on and off the data (modem 2g or 3g) in order to consume less battery when the app developed is used. Thanks Lorenzo
Hi, Is there a library or feature to turn on and off the data (modem 2g or 3g) in order to consume less battery when the app developed is used. Thanks Lorenzo
Erel B4X founder Staff member Licensed User Longtime User Dec 11, 2011 #2 I do not know if it is possible. You can however check whether Wifi is available and if not avoid doing and web requests. You can also turn on airplane mode: http://www.b4x.com/forum/basic4andr...y-setting-airplane_mode_on-off.html#post59120 Upvote 0
I do not know if it is possible. You can however check whether Wifi is available and if not avoid doing and web requests. You can also turn on airplane mode: http://www.b4x.com/forum/basic4andr...y-setting-airplane_mode_on-off.html#post59120
XverhelstX Well-Known Member Licensed User Longtime User Dec 11, 2011 #4 Try the ToggleLibrary. It has a mobiledataconnection toggle, on and off. However, im not sure if it works on all devices. Not on mine. Tomas Sent from my SE Xperia Play using Tapatalk. Upvote 0
Try the ToggleLibrary. It has a mobiledataconnection toggle, on and off. However, im not sure if it works on all devices. Not on mine. Tomas Sent from my SE Xperia Play using Tapatalk.