[英]Can I write an app to reboot my android without root if I don't publish to Google Play Store
Title is pretty self explanatory, but for a little more background; 标题是不言自明的,但是要有更多背景知识。
I have an android device sending me data from a remote location that I will not have access to. 我有一个Android设备,无法从我的远程位置向我发送数据。 It appears that the device works most reliably if I reboot it everyday, so I'd like to have a scheduled job that does this task at 4AM everyday.
如果我每天重新启动设备,则该设备似乎最可靠地工作,因此,我希望有一个计划的工作,每天4AM执行此任务。
I have no issues writing an app for this, but as I'm not as familiar with Android, I want to get all the facts I can before diving into the endeavor. 我没有为此编写应用程序的问题,但是由于我对Android不那么熟悉,因此我想在尝试之前先获得所有事实。 I would not be publishing the app to the Google Play store.
我不会将应用发布到Google Play商店。
EDIT: It would be sufficient to turn on/off airplane mode but that also requires root. 编辑:打开/关闭飞行模式就足够了,但这也需要root。
As you say, you can't reboot / turn airplane mode without root. 就像您说的那样,如果没有root用户,您将无法重启/转为飞行模式。
You can't use the REBOOT permission, AFAIK. 您不能使用REBOOT权限AFAIK。 Google Play doesn't matter here.
Google Play在这里无关紧要。
Why you can't root the device? 为什么无法启动设备? What device is?
什么设备?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.