Android Geofence

Your app won't wake up. We fixed that.

PRIVACY: Data never leaves the phone!


public class PathsenseGeofenceEventReceiver extends BroadcastReceiver
    {
      @Override
      public void onReceive(Context context, Intent intent)
      {
        PathsenseGeofenceEvent geofenceEvent = PathsenseGeofenceEvent.fromIntent(intent);
        if (geofenceEvent != null)
        {
          if (geofenceEvent.isIngress())
          {
            // ingress
            // do something
          }
          else if (geofenceEvent.isEgress())
          {
            // egress
            // do something
          }
        }
      }
    }



PathsenseLocationProviderApi.getInstance(context).addGeofence(
	"MYGEOFENCE", 
	location.getLatitude(), 
	location.getLongitude(), 
	50, 
	PathsenseGeofenceEventReceiver.class);

Android Geofence Features

PathSense Geofencing provides the following improvements over standard Android geofencing:

  • 4-6x faster and more accurate than Google Play geofence
  • Background wakeup even on Android O and P and Q
  • 50m minimum geofence size vs 100m for Google
  • Privacy: Unlike competing geofence solutions, there is no server communication. Your user's data never leaves the phone

Frequently Asked Questions

Not finding what you are looking for? Send us an email.

Get In Touch

PathSense supports Android versions up to O, P, and Q, and API versions back to API 9

Use of the SDK is free for testing and evaluation under the Evaluation License on our Developer Portal. We, at our discretion, may allow students and startups to use the SDK for free in deployed apps for extended periods of time. Pricing for commercial deployments is based on a variety of factors. We offer both usage based and source code licenses. Please see our pricing section for more information.

This varies between individual modules in the SDK. Some modules require only precise location permission, others require motion and fitness. There is a complete list in the documentation.

Again this varies by individual module. Some modules such as Activity Recognition and Distracted Driving Detection use IMU sensor data and complex machine learning models created by our PhD scientists. Other modules make use of our proprietary location processing algorithms.

Team PathSense has more than 100 man years of experience in mobile location technology, geospatial, sensor fusion, and machine learning. The team has been building mobile location technology since 2003, long before the iPhone and Android existed.

PathSense has various SDKs and modules, not just one SDK. To get a complete list, sign up to access our Develoer Portal now.

CHOOSE A PLAN

PathSense Pricing

Starter
Plan

Free

  • 1 active application
  • 1,000 monthly users
  • Non-commercial deployments
Get The SDK

Commercial
Deployment

Contact Us

  • Unlimited active applications
  • Unlimited monthly users
  • 24/7 support
Price Quote

Get the Demo App

Test PathSense high performance Geofencing on your phone without writing any code. The gray circle is a geofence. The blue circles show geofence arrivals, the green circles show departures. All events are time stamped so you can evaluate performance. Add multiple fences for home, work, school, pub, gym, etc. Get push notifications on arrival / departure.