Question

I'm developing an app that simply asks the user to enter an address and close the app then using a broadcast receiver, when the person reaches the location, a notification is displayed. I've been trying different ways for days... would truly appreciate good help with code!

Was it helpful?

Solution

You can use gps service or network servicet find the location of your current position. then by refreshing every 10 or 30 second you can check whether your position is equal or near the the position you entered.If yes then you can use broadcast receiver to generate anotification.

I think it will give you a idea how to do this

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top