Hi, I have this line in my Service_Start sub...
StartServiceAt("", DateTime.Now + 60 * 1000, True)
If I start the App with B4a, in release mode.. this work great.. every minute my service start again..
The problem is when I restart the phone.. the service ejecute ...only one time
Like this line "StartServiceAt("", DateTime.Now + 60 * 1000, True)" never exist... no error, nothing..
I have this service attributes:
#Region Service Attributes
#StartAtBoot: True
#ExcludeFromLibrary: True
#StartCommandReturnValue: android.app.Service.START_STICKY
#End Region
Any idea?
StartServiceAt("", DateTime.Now + 60 * 1000, True)
If I start the App with B4a, in release mode.. this work great.. every minute my service start again..
The problem is when I restart the phone.. the service ejecute ...only one time
Like this line "StartServiceAt("", DateTime.Now + 60 * 1000, True)" never exist... no error, nothing..
I have this service attributes:
#Region Service Attributes
#StartAtBoot: True
#ExcludeFromLibrary: True
#StartCommandReturnValue: android.app.Service.START_STICKY
#End Region
Any idea?