I need to change the current mobile network operator from within an app (installed as a system app). TelephonyManager offers the method setNetworkSelectionModeManual()
, which works only in >= API 30. How can I do it in lower API levels? (my target is 24).
I tried:
setNetworkSelectionModeManual()
, but it is not available for my API level (24).- Directly writing to Settings with
Settings.Secure.putString()
, but I have no idea what the name/key should be, if it even exists.