Hello everyone!.... I have a trouble with the StartAtBoot of my application.
I start or reboot my Tablet and after boot the tablet shows this message:.
The CMD Counter (my application name) was stoped
I press Accept (Aceptar) and the tablet shows this screen.....
and after a few seconds the application start normally.....
I can't find the error!
The code in Starter is from StartAtBootSample
Thank' a lot!
I start or reboot my Tablet and after boot the tablet shows this message:.
The CMD Counter (my application name) was stoped
I press Accept (Aceptar) and the tablet shows this screen.....
and after a few seconds the application start normally.....
I can't find the error!
The code in Starter is from StartAtBootSample
Starter:
#Region Service Attributes
#StartAtBoot: True
'#ExcludeFromLibrary: True
#End Region
Sub Process_Globals
Public admin As AdminManager
Public IDList As List ' list containing the IDs of the database
End Sub
Sub Service_Create
Dim i As Intent
i.Initialize("", "")
i.SetComponent("CMDCounter.com/.main") '<-- Replace this with the name of your package
StartActivity(i)
StopService("")
End Sub
Thank' a lot!