Is there a way to make the "Phone Options" menu ( the one that is showed when you long press the power button with power off / airplane mode ... ) show by code without having to root the phone ? The idea is just to show it.
Asked
Active
Viewed 1,074 times
2 Answers
0
Same question was asked here: How to call power off,reboot dialog from application?
Answer in short: Can't be done.
Alternatively, use https://play.google.com/store/apps/details?id=nappent.apps&hl=de Require root though.
PS: I am answering this old question because it was the first hit I found.

Community
- 1
- 1

Jack Miller
- 6,843
- 3
- 48
- 66
0
Have a look at the PowerDialog
source, as it shows you how it is implemented and what layouts have been used. I can't see why you couldn't create a widget or an app that has the same functions without rooting.

Andrei
- 2,607
- 1
- 23
- 26
-
I'll take a look at it. That's what I've been trying to figure out.Thanks a lot. – user1077915 Dec 06 '11 at 11:19