B4A Question Standard Class and Loading a layout into a panel - PaulMeuris (first post)    Nov 27, 2022   (1 reaction) From developers.android.com: Services overview A Service is an application component that can perform long-running operations in the background. It does not provide a user interface. B4A Question JRDC2 okhttputil issue - OliverA (first post)    Nov 18, 2019   (3 reactions) Ok, was able to get your error message. Real simple solution: Don't name any Service/Activity/Code Module Service. Service is an Object of the Core library. If you name a Service module Service, you are "overriding" the Service object. If that makes sense. Just try it. Recreate your project and do n B4A Question Starter service loosing variables initialization? - LucaMs (first post)    Dec 18, 2017 A service is not an activity :) B4A Tutorial Service Modules - Erel    Feb 07, 2023   (6 reactions) This is an old tutorial. Most of the information here is no longer correct. 255402345 Basic4android v1.2 adds support for Service modules. Service modules play an important role in the application and process life cycle. Start with this tutorial if you haven't read it before: Android Process and B4A Question Incomplete download - KMatle (first post)    Aug 16, 2017 As the others said: Use a service. An Activity is used for the user interface (mostly). Using services is very easy and is ment to do such tasks. B4A Question Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_ALWAYS - Erel (first post)    Mar 17, 2019 Set it to NEVER instead of ALWAYS. B4J Question xCustomListView, Click Event not raised - mw71 (first post)    Feb 17, 2021   (2 reactions) it's not realy a Service, it's a Code Module named "Service" B4A Question Notifications seem to work differently in Oreo - rleiman (first post)    Aug 01, 2018 Hi Erel,
The tutorial tells me, I can use
Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_ALWAYS
to force the service to run in the foreground which is one of the lines of coding I'm using but it doesn't look like that's working because the title and body that's displayed is the B4A Question [RESOLVED] One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for .... - Jmu5667 (first post)    Jul 17, 2024 The service svc_service is a long running background service that manages other services and functions of the application. I already use the FGS methods as you can see in the manifest file I already posted. svc_service handles the foregound notifcation, it does funtionality does not appear in the sp B4A Question Errors after going "async" - OliverA (first post)    Feb 29, 2024   (2 reactions) Please note, a service does not run on a separate thread Source: https://developer.android.com/develop/background-work/services#:~:text=Caution: A service runs in the same process as the,service slows down activity performance. Page: 1   2   3   4   5   6   7   Powered by ColBERT |