C copiloto Member Licensed User Longtime User Mar 18, 2012 #1 Hi everybody, I'm thinking to create an automatic alarm based on your position. Is essential it works in the background, without needing of having to execute it. (well, first time yes!) I have installed in my galaxy a "raining alert" app from the Market that works like I wished: depending of my position it works in the background and alerts you if rain is coming near to you. I'm so jealous! Thanks for reading.
Hi everybody, I'm thinking to create an automatic alarm based on your position. Is essential it works in the background, without needing of having to execute it. (well, first time yes!) I have installed in my galaxy a "raining alert" app from the Market that works like I wished: depending of my position it works in the background and alerts you if rain is coming near to you. I'm so jealous! Thanks for reading.
Erel B4X founder Staff member Licensed User Longtime User Mar 18, 2012 #2 You can use a service to run in a background. You should probably use StartServiceAt to schedule your service to run every x minutes. Upvote 0
You can use a service to run in a background. You should probably use StartServiceAt to schedule your service to run every x minutes.
C copiloto Member Licensed User Longtime User Mar 18, 2012 #3 Thank you Erel, I've looked for startserviceat and it works fine in my device!! Now, next stage: GPS. Let's see.... I'm sure it'll be a very useful app.:icon_clap: Upvote 0
Thank you Erel, I've looked for startserviceat and it works fine in my device!! Now, next stage: GPS. Let's see.... I'm sure it'll be a very useful app.:icon_clap: