Hello
I searched and read a lot about Localservice not being able to run in the background, at least in AI2.
Thanks to the TaifunLocationService and UrsAI2KeepAlive extensions, I was able to bring together something that logs data even when the screen is closed.
Unfortunately I am a very beginner in AI2 programming so I don't know if this is a good way to go.
I don’t know how much resources you use and how it works after a long time.
I didn't feel like walking for hours.
If you feel like it, would you check it out?
Any ideas would be welcome.
I do not think you or anyone can do that with the existing extension. Please read Taifun's documentation about how it works.
If you need continuous real time locations posted where you can see them, then use a StayAwake routine and keep your app from sleeping perhaps. Post the locations to your screen or to a database. You may not need his extension at all in that case. One way to do that is explained in the second link I posted earlier.