android重启
来源:未知 责任编辑:责任编辑 发表时间:2015-10-08 14:15 点击:次
这个经过验证:
PowerManager pm = (PowerManager)getSystemService(Context.POWER_SERVICE);
pm.reboot("test");
天蝎座2010-12-31 15:16:50 [举报]
Android.mk:
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := user
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_PACKAGE_NAME := RebootTest
LOCAL_CERTIFICATE := platform
include $(BUILD_PACKAGE)
# Use the folloing include to make our test apk.
include $(call all-makefiles-under,$(LOCAL_PATH))
作者“xiaofeishouxiao”
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>