2G/3G switcher

Post your questions and help other users.

Moderator: Martin

Post Reply
marcozita
Posts: 1
Joined: 22 Jun 2013 08:57

2G/3G switcher

Post by marcozita » 22 Jun 2013 09:09

Hi, there's a command to switch from mobile data 2G to 3G and vice versa?
Thanks.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: 2G/3G switcher

Post by Martin » 23 Jun 2013 08:57

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

Post Reply