Hi everyone, and thank you in advance.

Hi everyone, and thank you in advance. I’m new to scripting and i need to get or develop something very simple, a shutdown-reboot dialog that works without root permissions. ¿Can somebody help me out on this please?

]]>
« (Previous Post)
(Next Post) »

6 Commentsto Hi everyone, and thank you in advance.

  1. Anonymous says:

    < ![CDATA[

    Probably impossible without root for security reasons.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Yes, from my understanding without root permissions you will not be able to do something like this. I think it was possible with older versions of Android but nothing recent.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Or with the right permission…



    There is this:


    http://developer.android.com/reference/android/os/PowerManager.html#reboot(java.lang.String)


    And this method can be called from script, but the launcher obviously don’t have the required REBOOT permission.



    However there is a trick to add permissions to the launcher but this is something “unofficial” at the moment (although it works perfectly). Let me know when your script is ready or if you need further assistance and I’ll prepare the thing for the permission.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Woah!

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Oh wow… You could do some cool shit with that.. Yea I really need to learn script now lol

    ]]>

  6. Anonymous says:

    < ![CDATA[

    What’s happening with this script? Sounded like a sweet idea to me.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *