How to reboot the system by apk
来源:互联网 发布:ipaf看书软件 编辑:程序博客网 时间:2024/06/05 01:54
1 In the AndroidManifest.xml to add the permission of below
Android.permission.DEVICE_POWER
Android.permission.REBOOT
2 in the apk java code to get the powermanager service and call it function to reboot
PowerManager powerManager =(Powermanager)getSystemService(“power”);
powerManager.reboot(null);
0 0
- How to reboot the system by apk
- How to resign the Android APK
- How to popup the windows system menu?
- How to BFU the OpenSolaris SXCE system
- How to Change the Default System Fonts
- [PHP]How to get the system info?
- How to read the Linux system name?
- How to shutdown or reboot the machine on remote desktop connection?
- how to use autologger in reboot trace
- how to know the package name of android apk?
- How to install an APK file in the Android emulator?
- How-To: Email Alerting for the Snort Intrusion Detection System
- C# How to get the system drive of remote server
- How to Change the Hostname of a Linux System
- How to change the system date in ubuntu
- How to Change the Hostname of a Linux System
- How to generate DLL files by GCC in the MinGW?
- How to view the W3WP process by c#?
- The Swift Programming Language学习笔记 (二)——基础部分
- cudnn 安装说明
- 霍夫变换检测直线--原理和Matlab实现
- [POJ 1741]Tree
- [poj2406]Power Strings(kmp求最小循环节)
- How to reboot the system by apk
- ZOJ1074
- linux下测试python程序执行时间
- 文章标题
- 蓝桥杯 PREV-31 小朋友排队
- Matlab中的函数句柄@
- 二分图常见建边方法
- BZOJ_P2038 [2009国家集训队]小Z的袜子(hose)(莫队算法)
- shiro入门实战笔记(11)--加密/解密