Im working on a reminder which also supports location-based reminders (eg when you get near your house it tells you to switch off the alarm for example)..
I need the app to check the location lets say every 2 minutes (so it doesnt drain the battery too much).
What technology should I use? I was thinking about toast notifications but this is to remind the user the he is approaching the location, but there needs to be a background task which checks the location even if the app is not running?
Are there any other technologies apart from background tasks that I should consider?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…