How to boot android phone programmatically?

后端 未结 4 1113
庸人自扰
庸人自扰 2021-01-03 14:28

I want to reboot targeted phone by SMS. Is it possible? How can we implement this?

4条回答
  •  Happy的楠姐
    2021-01-03 15:05

    If you mean by having an app waiting for a specific text, then only on a rooted phone.

    Ranhiru's link tells you how to get the text without it giving a text notification. If your phone isn't rooted, then programs don't have access to functions like that. If it's rooted, I can't say exactly how to do it, I haven't tried yet, but have a look for the source of apps like quickboot, a lot of them have it all publically available on code.google.com

提交回复
热议问题