0

我希望使用以下方式以编程方式重置 android 设备:
adb shell recovery --wipe_data

1. 最简单的方法是什么?

2. 是否需要root/超级用户访问权限?

4

1 回答 1

0

For running shell commands you can use Runtime class. For more information check the documentation

For example:

Runtime.getRuntime().exec("commands_here");
于 2014-08-25T18:09:27.637 回答