在Android仿真器上模拟充电电缆的连接和断开连接

问题描述:

如何在Android仿真器上模拟充电电缆的连接和断开?

How can I simulate the connection and the disconnection of the charging cable on the Android emulator?

借助Android Studio 2.0中引入的新模拟器,您可以轻松地在模拟器扩展控件上切换连接状态.

With the new emulator introduced in Android Studio 2.0 you can switch connection status easily on emulator extended controls.