RAD Studio can create "Android Services", you can use the "wizard" on -> File -> New ...
after this, read about create "Android Services" in Delphi/FMX
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
you would can start from Embarcadero documentation and study more on Android official site to developers, because exists many info necessary to create a service ... here you can learn the "basic start"
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Creating_Android_Services
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3