重啓進入恢復模式代碼

重啓代碼僅須要記住reboot命令參數便可。經過請求root權限,而後調用不一樣的參數實現不一樣的功能。 具體爲:重啓到恢復模式,快速啓動模式,通常重啓,以及關機,代碼爲:java public class RebootActivity extends Activity implements OnClickListener { /** Called when the activity is
相關文章
相關標籤/搜索