CELLSIG/mobile state and dual Sim

48 views
Skip to first unread message

Salatiel Filho

unread,
Feb 20, 2021, 6:07:52 AM2/20/21
to tas...@googlegroups.com
Is there a way to get the state in the CELLSIG variable for each simcard in a dual sim phone?
I would like to be able to switch data from my primary card to my secondary card if the primary has no signal and the secondary has. Unfortunately the CELLSIG variable appears to reflect any change in any sim card. It would be nice having the same feature to select the simcard for the mobile state option. 

Thanks!

jmjc...@gmail.com

unread,
Feb 20, 2021, 9:58:22 AM2/20/21
to Tasker
One way is to use Java's TelephonyManager. The getAllCellInfo() method can return signal strength for each sim card.
Reply all
Reply to author
Forward
0 new messages