If u want to fire (alarm,notification etc) on user’s phone based on location found, so i want to know about which method is needs to use.
Its like location based alarm.
please show me some example, it will very helpful.
If u want to fire (alarm,notification etc) on user’s phone based on location found,
Share
Use the below code
Calling this from an activity is as shown below
every time when the lat and lang changed Your public void gotLocation(Location location) method will be called where you can check whether the location comes under you expected or not.
If you want, even you can make use of the URL http://maps.googleapis.com/maps/api/geocode/xml?address=37.4188514,-122.0874526&sensor=true
where you can get the name of that lat,lang by sending to this google service.