Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-06 Thread Dianne Hackborn
Wait, let's back up a second. If their fast boot facility works how I assumed it does, it would actually be correct for it to not send boot_completed. That is, if what this does is save the current device state and RAM to storage, and reload that when turning on, then it absolutely should not

[android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
Hi, I am using a receiver to handle the receipt of the BOOT_COMPLETED action. It works well when I am restarting my phone (an HTC Desire HD) but not when I use power off and then start it up. The receiver is never called and it seems as if the BOOT_COMPLETED action is never sent. I also noticed

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Marcin Orlowski
I am using a receiver to handle the receipt of the BOOT_COMPLETED action. It works well when I am restarting my phone (an HTC Desire HD) but not when I use power off and then start it up. The receiver is never called and it seems as if the BOOT_COMPLETED action is never sent. I also noticed

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
nope, not even rooted or anything. just a phone off a shop shelf, untouched :) On Fri, Feb 4, 2011 at 12:51 PM, Marcin Orlowski webnet.andr...@gmail.comwrote: I am using a receiver to handle the receipt of the BOOT_COMPLETED action. It works well when I am restarting my phone (an HTC Desire

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Kostya Vasilyev
Is the app installed on the memory card? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 04.02.2011 13:55 пользователь Yorgos X yor...@gmail.com написал: nope, not even rooted or anything. just a phone off a shop shelf, untouched :) On Fri, Feb 4, 2011 at 12:51 PM, Marcin Orlowski

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
well, i run it from eclipse to install it and then restart and power off the phone to test if it works. Are the apps run straight from eclipse stored on the SD card? i don't know about that to be honest. I haven't done that explicitly though 2011/2/4 Kostya Vasilyev kmans...@gmail.com Is the

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Marcin Orlowski
On 4 February 2011 11:54, Yorgos X yor...@gmail.com wrote: nope, not even rooted or anything. just a phone off a shop shelf, untouched :) Then it shall just work as it does here. Checked device logs? Also if you rely on that broadcars make sure your app prevents SD card installation as SD card

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Marcin Orlowski
2011/2/4 Yorgos X yor...@gmail.com: well, i run it from eclipse to install it and then restart and power off the phone to test if it works. Are the apps run straight from eclipse stored on the SD card? i don't know about that to be honest. I haven't done that explicitly though No, they are

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
I basically start an activity which is the main activity of my app on startup (I want the app to appear straight when you turn on the phone). So my main activity is declared as launcher in the manifest and in my receiver class I start an intent that launches it as well: . activity

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Marcin Orlowski
2011/2/4 Yorgos X yor...@gmail.com: I basically start an activity which is the main activity of my app on startup (I want the app to appear straight when you turn on the phone). So my main activity is declared as launcher in the manifest and in my receiver class I start an intent that launches

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
yeah, i have checked the logs and thre is no indication of the app starting or the action boot_completed received. the sd is not mounted neither when the app is installed or at anytime during the testing process. As I've said before, on other devices that only provide power off functionality and

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
Mysteriously enough (new phone, haven't explored it much), a setting was preset to fast boot the device (is called Fast boot - turn off to use some Market apps) and this apparently causes the device to start after a power off without sending the BOOT_COMPLETED action. Can any of you test this on

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Marcin Orlowski
On 4 February 2011 12:31, Yorgos X yor...@gmail.com wrote: Mysteriously enough (new phone, haven't explored it much), a setting was preset to fast boot the device (is called Fast boot - turn off to use some Market apps) and this apparently causes the device to start after a power off without

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
HTC Desire HD On Fri, Feb 4, 2011 at 1:54 PM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 4 February 2011 12:31, Yorgos X yor...@gmail.com wrote: Mysteriously enough (new phone, haven't explored it much), a setting was preset to fast boot the device (is called Fast boot - turn off to

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Mark Murphy
Egad. Can you tell me where in the Settings app (or elsewhere) this checkbox resides? Thanks! On Fri, Feb 4, 2011 at 7:06 AM, Yorgos X yor...@gmail.com wrote: HTC Desire HD On Fri, Feb 4, 2011 at 1:54 PM, Marcin Orlowski webnet.andr...@gmail.com wrote: On 4 February 2011 12:31, Yorgos X

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Yorgos X
it is in menu - settings - applications there are the five below options there: - unknown sources - manage applications - running services - development - fast boot On Fri, Feb 4, 2011 at 3:30 PM, Mark Murphy mmur...@commonsware.com wrote: Egad. Can you tell me where in the Settings app (or