Hi guys! I need to put my app in startup of tablet. I got it but there is a delay around five seconds to start my app after the tablet shows me the home screen. Is it normal? If so, is there a way to change this? I am using the tablet in an industrial application, so it would be good if I could lock the access for other apps.
Thanks in advance,
Galbas
Yes it is normal : the app starts after the BOOT_COMPLETED message has been sent. To reduce the delay you could put your app as a Launcher and set it as the default launcher.
I'm totally lost. I need run my app when I turn on the tablet. I use startatboot = true and my program run after 5 seconds (after on). Could you give an example how can I run my program without screen with google information and others? Is it possible turn off via code too?
Thanks,
Galbas.
I am sorry, I am not sure I understand your need. If your app was created as a Launcher and selected as the default Launcher, other apps shouldn't be started.
If you have followed the tutorial (link above), after having installed your app and started it, press the device's Home button. It will ask you to choose for the default Launcher (proposing the old one and yours). Select the one you want to use, press "Always" or "One time" (translated so I don't know how it is really written but you get the idea). After that, if you had selected your app as a Launcher, it should be the default one (when pressing the Home button, you return to your app all the time).