I want to make mobile silent when the user reached to the user saved location. Please suggest me some ideas and relevant reference links to make it done.
Asked
Active
Viewed 57 times
-5
-
1What did you try. We are not a free code service – litelite Aug 09 '17 at 13:44
1 Answers
0
You can do it by Creating and Monitoring Geofences. You can get a reference here https://developer.android.com/training/location/geofencing.html

Bhuvanesh BS
- 13,474
- 12
- 40
- 66
-
how can i compare the the saved values in sqlite database with the broadcast receiver class latitude and longitude – Jz Another Dev Aug 09 '17 at 16:38
-
you can't do it just by comparing the latitude and longitude. You need to create a boundary radius for your lat lng. Once you entered the geo area your intent service is called. You can make your phone configuration changes there. once you set the lat lng to geofence object you don't need to save it to your SQLite database. google play service will take care the rest. – Bhuvanesh BS Aug 09 '17 at 16:47