I want to call by sim2 using adb command (Dual sim state)
This is call using adb command but default call is only sim1
adb shell am start -a android.intent.action.CALL -d 123-4567
Is there an adb command to change the default call in a dual sim situation?
call by sim2 setting using adb command
You can use the sim_slot
as follows:
adb shell am start -a android.intent.action.CALL -d tel:<phone_number> --es sim_slot "1"
Where "1" corresponds to SIM 2.
To find out the current ID value run:
adb shell settings get global multi_sim_voice_call
Use this command to switch to the appropriate ID before calling:
adb shell settings put global multi_sim_voice_call <ID>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.