Re: [android-developers] Re: auto starting application after boot complete

2012-02-08 Thread Ash
First you need permission to disable the auto lock. Follow this example: http://www.androidsnippets.com/disable-initial-screen-lock Secondly you need to tap into the RECEIVE_BOOT_COMPLETED. Follow this example by Krzysztof Wolnyhttp://stackoverflow.com/users/209502/krzysztof-wolny

Re: [android-developers] Re: auto starting application after boot complete

2012-02-08 Thread soheb somani
Yes, i have got my problem solved, thanks. On Thu, Feb 9, 2012 at 3:37 AM, Ash anan...@gmail.com wrote: First you need permission to disable the auto lock. Follow this example: http://www.androidsnippets.com/disable-initial-screen-lock Secondly you need to tap into the

Re: [android-developers] Re: auto starting application after boot complete

2012-02-07 Thread soheb somani
my application is same as urs and it shud work at start up.bt whn it works first i am gettin force close and whn i press dat, my app. works prfctly, so can u suggest me the solution and can u provide me a snippet for that lock removal -- You received this message because you are

Re: [android-developers] Re: auto starting application after boot complete

2011-09-13 Thread jayaram p
Ash, You can try setting high priority to your intent-filter similar to the following snippet so that your application will be the first one to receive the BOOT_COMPLETED intent by which your application would avoid showing up Home screen in delta time intent-filter android:priority=*100*

Re: [android-developers] Re: auto starting application after boot complete

2011-09-13 Thread Dianne Hackborn
You can't do this. BOOT_COMPLETED isn't shown until the Launcher is running, so the user doesn't have to wait for the BOOT_COMPLETED broadcast to complete before they can use their device. On Mon, Sep 12, 2011 at 7:50 PM, Ash anan...@gmail.com wrote: It does not matter which lock screen the OS

Re: [android-developers] Re: auto starting application after boot complete

2011-09-13 Thread Ash
Thanks for the info. The change didn't make any difference, but I have learned about the priority parameter. Appreciate for your input. Cheers Ash -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: auto starting application after boot complete

2011-09-12 Thread gjs
Hi, Is it not the case that the user can setup different lock screens, none, pattern, pin password - in Settings ? Do you wish to bypass these as well ? Just suggesting you quest may be futile unless you use a custom firmware. Regards On Sep 13, 9:34 am, Ash anan...@gmail.com wrote: No. Let

[android-developers] Re: auto starting application after boot complete

2011-09-12 Thread Ash
It does not matter which lock screen the OS is set to. The issue here is that there is a delay of about 1-2 seconds before my application gets notified that the boot sequence is completed and that delay is enough for the Android screen to be shown. My intention is that when the device is

[android-developers] Re: auto starting application after boot complete

2011-09-12 Thread sivaatwork
Hi, I am trying to build a app for our Galaxy Tab which is more of a monitoring app. So the app should always be running and if it device crashes it should start by itself. Can you let me know if this can be done through code or configuration in the application itself. Any code samples will be

[android-developers] Re: auto starting application after boot complete

2011-09-12 Thread Ash
I followed this example for my application so that it will automatically start after Android OS boots up. http://www.androidsnippets.com/autostart-an-application-at-bootup I am not sure how to automatically restart the device if it crashes for any reason. Cheers -- You received this message

[android-developers] Re: auto starting application after boot complete

2011-09-12 Thread gjs
Hi, And the user may have other applications which also start up at boot time so your app may not necessarily 'on top' in the foreground first up after the lock screen anyway... Regards On Sep 13, 3:03 pm, Ash anan...@gmail.com wrote: I followed this example for my application so that it will

[android-developers] Re: auto starting application after boot complete

2011-09-12 Thread Ash
That is what my guess is. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com