Created
October 13, 2018 02:01
-
-
Save markchristopherng/9fd17b227f36546e5542f8ad5ea1ea5c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intent intent = new Intent(FENCE_RECEIVER_ACTION); | |
intent.setClass(context, GeoFenceAwarenessReceiver.class); | |
// Creates pending intent to handle geo fence event | |
PendingIntent pendingIntent = PendingIntent.getBroadcast(context, FENCE_REQUEST_CODE, intent, 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment