{sorry if this should be in a seperate thread, but I figured it was relevant enough to this topic to be additional related material. I can repost in separate thread if desired}
Regarding timed functions:
I currently have an app setup to run a function every X seconds. I believe i have noticed that even after closing out of the app, the function is still running in the background because I keep seeing my database call count rising. This leads me to a couple questions.
I am invoking the gps getlocation device service on load of a particular page and I have the watch option turned on. Does this service continue to run even if the user backs all the way out of the application? And what would be the best method to stop this service.
I have entered some custom javascript functions to the app, I'm assuming once the app is loaded those functions are available even when the application is not focused?
Whats the method for actually 'closing' the application as opposed to backing out of the app and it still running functions in the bg?