Android Question Starter Service - Receivers - API 34

lip

Active Member
Licensed User
Longtime User
I'm updating a large(ish) App to release to Playstore targeting API 34. The App does not use Pages, but it uses two services, one being the Starter service which just stores all of the global resources and the other to handle events such as Bluetooth, BLE, HTTP, MQTT management and messages. The service that handles the events has lots of timers which are used to synchronise data in the background and to handle time-outs when commands and sent (via BT, BLE, MQTT etc) and no timely response is received.

My understanding is that I need to change all of the background activities to use receivers. Do I need to do anything with the Starter service? I'm thinking it should be OK as it does not have any timers nor handle events?
 

DonManfred

Expert
Licensed User
Longtime User
- Receivers are expected to run only for a short time.
- You can use the Starter for your Timers. But not to replace any Receiver.
 
Upvote 0
Top