meng520
V2EX  ›  问与答

怎么通过安卓 adb 操作手机打电话?

  •  
  •   meng520 · Apr 12, 2016 · 4256 views
    This topic created in 3874 days ago, the information mentioned may be changed or developed.

    adb shell service call phone 2 s16 "10086" 返回结果: Result: Parcel(00000000 '....') 手机无反应

    3 replies  •  2021-02-07 14:41:03 +08:00
    meng520
    meng520
    OP
    Apr 12, 2016
    1
    没人知道吗?
    zyqf
    zyqf
    Apr 16, 2016
    2
    * adb shell
    * service call phone 1 s16 "10086"
    frmongo
    frmongo
    Feb 7, 2021
    3
    5 年过去了,我来回答一下

    #拨打电话
    adb shell am start -a android.intent.action.CALL -d tel:10086
    #挂断电话
    adb shell input keyevent 6
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2108 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 11:52 · PVG 19:52 · LAX 03:52 · JFK 06:52
    ♥ Do have faith in what you're doing.