Page 1 of 1

2G/3G switcher

Posted: 22 Jun 2013 09:09
by marcozita
Hi, there's a command to switch from mobile data 2G to 3G and vice versa?
Thanks.

Re: 2G/3G switcher

Posted: 23 Jun 2013 08:57
by Martin
Hi,

Android does not provide an API to switch the 2G/3G settings on a regular Android ROM. Cyanogenmod seems to support such an API and it's on my list of features under consideration for a future release.
You could build a shortcut to the settings page containing the setting "Use only 2G networks" (action Launch App: com.android.phone/.MobileNetworkSettings) and automatically click the checkbox using the actiion Control UI: sleep(2000);check(620,600) (screen must be unlocked, x/y-coordinate of the checkbox is probably different on your device).

Regards,
Martin