Android – change network selection mode programmatically

I'm trying (wonder if it's possible) to write an application that will automatically change the network selection mode according to some criteria. For example, change the network operator from Vodafone to T-Mobile (assuming the SIM card is registered successfully, but I'm not worried about it)

Unfortunately, I can't seem to find any way to do this in the API. Does anyone have any ideas? I assume that because it is not in the public API, if the mobile phone is root, there may still be a way to implement it. Really? If so, where should I see it?

Thank you in advance

resolvent:

I'm sorry, but you can't

You can see the telephone manager

You can know the current operator: getsimoperator (name) / getnetworkoperator (name)

You can also look at this thread and say, "I understand that for security reasons, there is no public API to manage this, so the only option is to send users to the system preferencescreen in my application."

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>