Hi there,
I have two widget services that are started by StartAtBoot. In each case, only one available.
In each Serice_Start I have the following code. StateManager takes control widget that has been added. This is also stored correctly and also correctly read / recognized:
Sub Service_Start (StartingIntent As Intent)
...
If StartingIntent.Action = "android.intent.action.BOOT_COMPLETED" AND StateManager.GetSetting2("Widget", "Widget") = "Widget1x1" Then
StopService("")
End If
...
End Sub
Nevertheless, both widget services are started on boot. Without reboot, only after installation, everything works just fine. Someone an idea?
greeting
Andy