如何重新启动Android设备? [英] How to reboot android device?

查看:110
本文介绍了如何重新启动Android设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我面临的一个问题。
我只是想重新启动安装​​包已经安装在设备上刚过设备。我怎样才能做到这一点?
有没有办法做到这一点?

I am facing a problem. I just want to reboot the device just after the installation package has installed on the device. How can i do this? Is there any way to do this?

请帮我。

BR,
gsmaker

BR, gsmaker

推荐答案

它不能这样做。您的应用程序code不能在安装后直接运行。

It can't be done. Your application code cannot run directly after installation.

如果用户选择你的启动项,或者重新启动设备(和你有一个引导完成处理程序),它才会运行。

It will only run if the user selects your launcher item, or reboots the device (and you have a boot completion handler).

这篇关于如何重新启动Android设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆