三星设备API 12不会自动拨号代码
我们正在尝试通过ADB命令拨打代码,
"*%2306%23" = "*#06#"
以获取有关IMEI的信息。
adb -s "DEVICE SERIAL" shell am start -a android.intent.action.DIAL -d tel:*%2306%23
连接的设备在屏幕上显示代码,但没有自动拨号。但是,当我们尝试手动拨号时,它可以正常工作。
该设备已连接,并启用了开发人员选项。
任何帮助将不胜感激。
We are trying to dial the code
"*%2306%23" = "*#06#"
through the adb command to fetch the information about the IMEI
adb -s "DEVICE SERIAL" shell am start -a android.intent.action.DIAL -d tel:*%2306%23
The connected device shows the code on the screen but doesn't auto-dial. But, when we try to dial manually it's working fine.
The device is connected and the developer option is enabled.
Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

您发送的意图仅打开拨号应用程序并输入该号码,它不会拨号。为了拨打
您没有拨打常规号码,要输入一些代码,因此您必须打开拨号器并通过符号输入代码符号:
The intent that you are sending only opens the dialer app and enters the number, it does not dial. In order to dial you have to press the call button -
adb shell input keyevent KEYCODE_CALL
, but...you are not dialing a regular number, you want to enter some code, so you have to open the dialer and enter the code symbol by symbol: