B4A Question [SOLVED] - Blocked messages in queue when using CallSubDelayed - LucaMs (first post)    Nov 26, 2020 Same way-service. B4A Question Background service is unable to execute method from Main.b4a - LucaMs (first post)    Jun 08, 2018   (1 reaction) Use CallSubDelayed(Main, "sendSMS"), it brings the activity in foreground. B4A Question Missing foreground service type - Google Play Crash Report - LucaMs (first post)    Oct 29, 2024 So the second one. B4A Question Foreground service - LucaMs (first post)    Oct 27, 2024 Thanks, Alessandro, but that's not what I meant.
Referring to that pre-installed "Alarm Clock" app, on the system bar that is not a notification and doesn't behave like one, yet the app remains active in the background without the OS deleting it (it's a system icon, in fact it's on the right).
It B4A Question B4XPages where to put Application_Error - LucaMs (first post)    Dec 21, 2020 Um... the Starter service exists only in B4A. B4A Question Final item in Listview disappears when phone rotates - LucaMs (first post)    May 20, 2016 Service_Create starts one time only. If you rotate the device, the Activity will be created again but the service, still running, will not fill the listview.
You can simply stop the service before starting it:
StopService(svc)
StartService(svc)
It works in this case, but probably you will need to B4A Question Starter service loosing variables initialization? - LucaMs (first post)    Dec 18, 2017 A service is not an activity :) B4A Question Starter Service SQLlite - LucaMs (first post)    Jan 27, 2018   (1 reaction) If the problem was the place where you declared and initialized your db you would receive a different error, for example db not initialized.
Maybe you're using a different version of your project, where the query is incorrect.
What is the complete b4a statement? B4A Question event from service module to activity - LucaMs (first post)    May 31, 2017   (1 reaction) ' Your service CallSubDelayed2(ActivityName, "ActivityRoutineName", AnyTypeOfData) ' Your ActivityName Activity Sub ActivityRoutineName(Data As xxx) End Sub B4A Question Type - LucaMs (first post)    Oct 19, 2017 The Starter Service is also a good place (probably the best one). Page: 1   2   3   4   5   6   7   Powered by ColBERT |