Sunday, November 3, 2013

How to create Android services using Delphi XE5 using TTimer

Delphi XE5 does not provide the ability to create Android services, yet. However, there is a simple workaround: If you put a TTimer on a form, this form and this TTimer will also continue to run after switching to another app, or after closing the screen. This way, you can make a simple app that does something even when not in use.


  1. but i think that this timer will be stopped by OS after some time.