• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Monitor cell network type with WiFi connected

gakio12

Lurker
Okay, I BADLY need this to work.

I need to set up a tasker profile so that it monitors cell network type, not mobile data type, as cell network type can be monitored while connected to a WiFi access point.

If cell network type is HSPA or LTE, then turn WiFi off.
If cell network type is not HSPA or LTE, then turn WiFi on.

I need this so that my phone will connect to a Verizon jetpack when I am in a crappy EDGE area, but automatically starts using my unlimited data on the phone when I am in an HSPA or LTE area. I will be driving all summer and this would help keep data costs down.

Does anyone know of a plugin for tasker or another app that will monitor cell network type?

The phone is a Nexus 4 running CM 10.1 nightlies.
 
Perhaps try to see what these variables return depending on the network type you're on, it may help (I can't test much as I am in a 2G only area at the minute).

Device Telephony ID
%DEVTID
Returns the unique telephony-based ID for the device (e.g. for GSM the IMEI, for CDMA the MEID or ESN).
Not available on all devices.

Telephone Network (dynamic, monitored)
%TNET
The current telephony network operator the device is using.
May be unreliable on CDMA networks



Maybe if %DEVTID matches your IMEI, you'll know you're on 2G/EDGE?
 
Back
Top Bottom