[android-developers] Re: Waking the phone safely disabling the keyguard

2009-02-25 Thread SteveV
need to hold the wakelock for longer to stop it snoozing. R On Feb 23, 11:24 pm, SteveV sav74...@gmail.com wrote: Does anyone know how to do this correctly? I can't find any examples the API documentation is pretty hard to follow. I am guessing I need to use the KeyGuardManager

[android-developers] Re: Waking the phone safely disabling the keyguard

2009-02-25 Thread SteveV
mentioned in the docs. I'm giving up now. R. On Feb 25, 8:10 am, SteveV sav74...@gmail.com wrote: Thanks for sharing... I had the following code.. which works on the emulator, but I can't get it to work on my phone (with or without the pattern lock enabled): I had a line in my

[android-developers] Install resources to the SD Card?

2009-02-23 Thread SteveV
Just curious if anyone has found a way to do this I see there is res/raw assets directory in Android. It would be nice if you could install an app, and put any large files (e.g. MP3, images) on the SD card instead of the main drive to conserve app space. Is the best way to do this having

[android-developers] Waking the phone safely disabling the keyguard

2009-02-23 Thread SteveV
Does anyone know how to do this correctly? I can't find any examples the API documentation is pretty hard to follow. I am guessing I need to use the KeyGuardManager and PowerManager... but can't figure out how to bring my activity up past the keyguard and re-enable the keyguard so my activity