Hello
I use the following code in Service_Create in my starter to send a notification with firebase:
Sub Service_Create
Try
CallSubDelayed(FirebaseMessaging, "SubscribeToTopics")
Catch
End Try
End Sub
There are also functions in this service (starter).
In these functions...
I'm defining and initializing a set of vars in the Starter service:
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Public Sspin_UUID, AvgSpeed_UUID, MaxSpeed_UUID, MinSpeed_UUID...
Greetings,
I have a simple question. Is the starter service protected against Android putting it to sleep?
I just want to make sure a user can't put my app to sleep by messing around with "Device care" under "Settings" on their devices. If it's possible Android will do that, then I will update...
Hi Everyone,
Can you check my coding and let me know where I made mistakes?
I'm trying to display some text in the body area of SetInfo. In the example, the text "This is my app name." is being displayed in both the "Title" and the "Body" area of the notification when I drag down the...
As mentioned here: https://www.b4x.com/android/forum/threads/android-8-x-crashes-due-to-starter-service-not-running.91661/ in newer B4A versions, when the app is reopened after a long time, the Starter service fails to start. After the app launch, it takes 5-10 seconds to start the Starter...
Hi Everyone,
Apart from the default coding that's created when a new app is created, do I need to add anything to keep my timer ticking in the starter service? It stops after a few hours of having the device screen off.
Thanks.
Hi everybody,
I recently faced an error trying to ask the user if he likes to send an e-mail from the Application_Error sub in starter service. Isn't it allowed in the starter service to use MsgBox and MsgBox2 dialogues? Any advice will be highly appreciated...
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.