开发者

detect ADB from mobile Android

开发者 https://www.devze.com 2023-03-11 21:36 出处:网络
Can we detect from phone that phone is connected to charger or Android Debug Bridge 开发者_StackOverflow(ADB)?

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

精彩评论

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