Reputation: 23
I currently write on an app which should give me information about the places in my area. I've already built a function that indicates how far a user is away from a location (via GPS).
Now I want that the user gets an information at a certain distance to a place (eg 20 meters).
For that I have the following questions:
Even now, many thanks for your help,
a small programmer who is still at the very beginning
Upvotes: 2
Views: 2126
Reputation: 16450
You need to write a Service which runs in the background and set a ProximityAlert to trigger a Pending Intent when user enters your specific area.
Upvotes: 4