[android-developers] Re: Broadcasting reboot intent

2009-09-08 Thread Dianne Hackborn
Sorry, no plan to. On Tue, Sep 8, 2009 at 4:56 AM, Kacper86 wrote: > > Hi! > > I have a question for Dianne Hackborn: > Is there any hope that reboot permission would be granted for > commercial apps (if customer accepts them)? > > On Aug 7, 11:12 pm, Dianne Hackborn wrote: > > Not only is it n

[android-developers] Re: Broadcasting reboot intent

2009-09-08 Thread Roman ( T-Mobile USA)
Kacper, Sorry, I am not Dianne but I still answer :-) I would not allow this permission for 3rd party applications. Of course Android informs you about permissions of applications you install but how may people are installing apps without reading or understanding what they install. When you give

[android-developers] Re: Broadcasting reboot intent

2009-09-08 Thread Kacper86
Hi! I have a question for Dianne Hackborn: Is there any hope that reboot permission would be granted for commercial apps (if customer accepts them)? On Aug 7, 11:12 pm, Dianne Hackborn wrote: > Not only is it not in the API docs, but because as you say you need to be > signed with the platform

[android-developers] Re: Broadcasting reboot intent

2009-08-07 Thread Dianne Hackborn
Not only is it not in the API docs, but because as you say you need to be signed with the platform cert, you can only use this if you are running on a device whose system software you have built yourself. On Fri, Aug 7, 2009 at 1:55 PM, markwhitney wrote: > > Got it to work. For reference to an

[android-developers] Re: Broadcasting reboot intent

2009-08-07 Thread markwhitney
Got it to work. For reference to anyone else, in addition to signing with the platform key, the ACTION_REBOOT intent has to have a few extras defined. Without any extras, it looks like the Watchdog thread will basically ignore it. This code would do an immediate reboot: Intent i = new Intent(

[android-developers] Re: Broadcasting reboot intent

2009-08-06 Thread markwhitney
Great, thanks for the link, I will look into this further there. On Aug 6, 1:54 pm, Roman wrote: > There is already a post about this on the forum. Look at > > http://groups.google.com/group/android-platform/browse_thread/thread/... > > In general you don't want to allow third party apps to do a

[android-developers] Re: Broadcasting reboot intent

2009-08-06 Thread Roman
There is already a post about this on the forum. Look at http://groups.google.com/group/android-platform/browse_thread/thread/daf7c685e020d296 In general you don't want to allow third party apps to do a reboot on your phone this easily. It is very dangerous that's why the REBOOT is only allowed