There is nothing special in that sample. It just sets StartAtBoot to true.
As I previously wrote, you shouldn't start the starter service directly.
Thanks Erel. You say there is nothing special in that sample (here is a
link to it .. and I've repeated the code from the sample below) however I find that it starts the APP even when previously closed (which I want to do) while if I just have StartAtBoot to True (without this code) it does not start the APP (when previously closed). Is there something I'm missing here? Thanks!
Note: Below is the code in the sample that I believe makes the APP start even if previously closed. Correct?
Sub Service_Create
Dim i As Intent
i.Initialize("", "")
i.SetComponent("b4a.CheckInRedo/.main") '<-- Replace this with the name of your package
StartActivity(i)
StopService("")
End Sub