Hello I've a problem with my mobile operator, generally the switch is on automatic and the phone can go from A to B just in case A does'n t work
in my house the auto mode doesn't work well because it's like at the edge bitween A&B and I need to do something
I need to create a flow like this
when the phone is connected to my home wifi
than change manually mobile operator from A to B
do you think is it possible?
I don't know if it can helps, my phone is a xiaomi mi2s
thanks
manually mobile operator change
Moderator: Martin
Re: manually mobile operator change
Hi,
To my knowledge Android does not provide an official API to switch between operators. I add it to the todo list to check if there exists some kind of unofficial method for this but I can not promise anything yet.
Maybe you could try to temporarily turn on airplane mode and switch airplane mode off again to see if the device selects the correct operator afterwards. Depending on device, action Set Telephony Radio State might also be an option when your device is not rooted.
Regards,
Martin
To my knowledge Android does not provide an official API to switch between operators. I add it to the todo list to check if there exists some kind of unofficial method for this but I can not promise anything yet.
Maybe you could try to temporarily turn on airplane mode and switch airplane mode off again to see if the device selects the correct operator afterwards. Depending on device, action Set Telephony Radio State might also be an option when your device is not rooted.
Regards,
Martin