I have a multi provider SIM card.
I want to change network manually with
I tried
Dim IntQ As Int
Dim Succes As Boolean = telMgr.RunMethod("setNetworkSelectionModeManual",Array As Object("1" ,False))
With JavaObject but get an error.
java.lang.RuntimeException: Method: setNetworkSelectionModeManual not matched.
I want to change network manually with
setNetworkSelectionModeManual
added in API level 28
public boolean setNetworkSelectionModeManual (String operatorNumeric,
boolean persistSelection)
Ask the radio to connect to the input network and change selection mode to manual.
Requires Permission: MODIFY_PHONE_STATE or that the calling app has carrier privileges (see hasCarrierPrivileges()).
I tried
Dim IntQ As Int
Dim Succes As Boolean = telMgr.RunMethod("setNetworkSelectionModeManual",Array As Object("1" ,False))
With JavaObject but get an error.
java.lang.RuntimeException: Method: setNetworkSelectionModeManual not matched.