Set Up Location Monitoring
If you want your app to monitor locations with Kahuna, follow these steps.
To set up location monitoring
- Set up your project with the Google Play services SDK. Follow the instructions in Google APIs for Android.
Add the following permission to your manifest.
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
Paste the code below into your application at the point where you want to begin monitoring user locations.
Your application is now ready to start tracking locations.