B4A Question Now - Android 6 ServiceStartAtExact not accurate - wes58    Mar 26, 2016 With KitKat, Google changed AlarmManager such that if you wanted the Service to start at exactly..., PendingIntent operation). Erel implemented this in B4A as StartServiceAtExact. Now I have upgraded to android 6...://stackoverflow.com/questions/33432661/alarm-manager-for-background-services I found a Java example... @Override public void onReceive(Context context, Intent intent){ startWakefulService(context,new Intent(context,MyService.class)); long period = intent.getLongExtra(PERIOD,-1... B4A Question ForegroundServiceDidNotStopInTimeException for service type dataSync - Alessandro71    Oct 1, 2025 .RemoteServiceException$ForegroundServiceDidNotStopInTimeException: A foreground service of type dataSync did not stop within its timeout:
I actually have a foreground service of type dataSync where I've put the following... B4A Question HttpUtils2Service starts at a random time depending on devices - vecino    Aug 27, 2023 this: StartReceiver(HttpUtils2Service) Depending on the device it may start instantly, or I may start in... the meantime nothing that uses "http" works. Only when "HttpUtils2Service" is already... "HttpUtils2Service" right away, as I explained before. If you try to do, for example, something like... "HttpUtils2Service"? Here a log of a device: *** mainpage: B4XPage_Created TempFolder= *** mainpage: B4XPage_Appear ** Activity (main) Resume ** *** Receiver (httputils2service) Receive (first time... B4A Question ShortService DataSync and Problems with SDK > 34 - Magma    Sep 23, 2025 Hi Fam!
Well I thought my problems end when Erel show us the perfect: Service.StopForeground(51042)
but i have some error at Android 15+ devices...
My Service name is "gggService" and... B4A Question Access to a cross-platform class for managing an internal SQLite database - GeoT (first post)    Feb 17, 2026 Hi, LucaMs. The problem is that when the service wakes up on its own: when a service runs in the background (by a receiver, a timer, or the system), Android starts the service process, but does not start the graphical interface or the pages. No? But I'm not talking about the Starter service.... B4A Question From Service Call some SUB in B4XPage - petr4ppc (first post)    Feb 23, 2022 Dear friends, thank you very much, Mr.Erel: I have SMS service as Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_NEVER and LucaMs, Alessandro71 thank you very much for your help, Best regards p4ppc... B4A Question Service_Timeout event for Starter Service in SDK34 - Alessandro71    Aug 2, 2024 does this event need to be defined for the Starter Service also?
and if yes, which notification id should we use?... B4A Question Wait For ...j As HttpJob - can be long... is there a way to exit it ? - Magma (first post)    Nov 4, 2024   (2 reactions) Maybe httputils2service is not initialized. Try https://www.b4x.com/android/forum/threads/httputils2service-starts-at-a-random-time-depending-on-devices.149846/#post-949813 hmmm, this is also seems right.. :) 1. Sleep(0) helped... as long tested... 2. But this is also (httputilis2service)... seems right... 3. LucaMs - nice !!! well now i have many solutions :)... B4A Question #Extend, Accessibility Service, Starter Service - oddities - OliverA    Feb 25, 2020 Note: I'm playing around with #Extend to extend a B4A service directly with Android's AccessibilityService abstract class. Initially when the application is installed via the IDE, everything... svc_accessibility service's accessibility_event method. Awesome! You can also properly call... waiting queue (CallSubDelayed - HelloWorld) Then start the svc_accessibility service via StartService and something strange happens: *** Service (starter) Create *** Starter Service_Create with counter... B4A Question How to start a service from a service or activity and wait... - tigrot    May 23, 2017 Hi everybody, is there a way to wait for a service initialization completed from a service or activity? I need to be sure that the service is completelly started before going on. I do with a sleep(5000), but there is something like a semaphore to be sure of service started ok? The service interfaces a webservice so I cannot be sure about init times. Thank you Mauro... Page: 1   2   3   4   5   6   7   |