开发者

detect ADB from mobile Android

Can we detect from phone that phone is connected to charger or Android Debug Bridge 开发者_StackOverflow(ADB)? and can we shutdown adb server using adb kill-server command?


  1. You can detect that phone is connected to charger by receiving broadcast intent ACTION_POWER_CONNECTED.

  2. AFAIK you can't stop ADB server

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜