0

i m developing a GPS based application . i have a location list , i want that to put all into Proximity Alerts so they fire when i reach near by any place. how to implement and add multiple Alerts into my Project. regards, a.Q.Ghouri

4

1 回答 1

0

There's no problem on doing that. If you read the docs for LocationManager.addProximityAlert, you'll see that this manager maps areas to intents. When an area is reached, the intent you registered is fired. So just register a proximity alert with a different intent for each location.

于 2011-12-12T10:01:05.407 回答