starter service

  1. mohsen programmer

    Android Question Failure to recognize code module methods

    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...
  2. P

    Android Question Variables defined in starter not available in main activity

    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...
  3. rleiman

    Android Question [SOLVED] - Is the starter service protected against Android from putting it to sleep?

    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...
  4. rleiman

    Android Question [SOLVED] Displaying the body text in a notification.

    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...
  5. Multiverse app

    Android Question App crashes- Notificationlistener [Solved]

    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...
  6. rleiman

    Android Question [SOLVED] Timer in starter service stops ticking after some time

    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.
  7. hatzisn

    Android Question Msgbox2 not allowed in Starter service?

    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
Top