Android Question Android 9+ in 2025: why B4A's Starter service is needed ?

Status
Not open for further replies.

peacemaker

Expert
Licensed User
Longtime User
Hi, All

If in actual Android versions are needed the Receivers and a Foreground service that is not the Starter service - why this legacy Starter service is needed now ?
How to be used ?
 

peacemaker

Expert
Licensed User
Longtime User
OK, if to forget about esoteric usages - is it for "Application_Error" sub only ?
I mean, if we already have to have another service module (with all needed background functions) - what is the use-cases for the Starter _practically_ ?
Without esoterics, what unique need of the Starter is still here ?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
I mean, if we already have to have another service module (with all needed background functions)
You don't need a service for this, if you are using B4XPages.
Removing the starter service will revert the unhandled error behavior and the app will show a dialog when an error happens. Not a big deal but you should be aware of.

I think that you can safely remove it.
 
Upvote 0

MadMaxCP

New Member
Hi Boys! I´m developing an app to fire information according to gps position and have to use a service anyway. With B4xPages at some moment the app stop updating and the only way I have found to keep it alive is with a service, like Background tracking location example. Even using
partiallock at some moment stops updating. Do you have similar experience or there are some tricks to solve it?

Kind Regards
 
Upvote 0
Status
Not open for further replies.
Top