I understand you can create a service in Android and start it up on boot, which can then be used to get location updates, communicate with a server, etc.
However what I wanted to find out is if this possible to do in AIR. AIR runs on Android, but can it be set a ‘service’ and start up on boot (sitting in the background)?
Thank you!
Your application will be running inside the AIR runtime which itself is not a service. So the short answer is unfortunately no.
Also the AIR runtime is a whopping
16MB, so you (and more so your users) are better if you write a native Android Service.