79338520

Date: 2025-01-08 09:14:22
Score: 1
Natty:
Report link

Is there a limit here regarding how many such services I can add?

No limit.if memory enough and you willing to handle data exchange.

Will having more services that can work also in foreground make my application too resource consuming?

Resource consuming depends on your actual code.Empty service less resources are consumed(Far lower than activity or fragment,because no ui).

As far as i know the most popular apps use only one service to manage tasks which i mentioned.

  1. Multiple serive need handle data transmission.(you maybe transmission data[from gps] by bluetooth.).
  2. Users need to know what you are doing("The running service is recording your running status"), not that you are using Bluetooth or GPS, this is what the system does

Foreground service must show a notification,so you not should tell user you is using gps,system is already working on it.

Users may think that you are wasting their phone's battery, even though you may not have done so.

so you can do,but I suggest you use a service that calls three modules. of course if you need upload or other service,you should run new service.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there a
  • Low reputation (0.5):
Posted by: 卡尔斯路西法