title: New Android Geofence Api - Sample code does not alert/notify when at location
body: <p>I need some clarity on the sample code supplied with Geofence guide as posted here :</p>
  
  <p><a href="https://developer.android.com/training/location/geofencing.html" rel="nofollow">https://developer.android.com/training/location/geofencing.html</a></p>
  
  <p>I ran the code and I see that geofences are created correctly, but what I really want is a way to get alerted when I drive to those geofenced locations. Right now, when I go past those geofenced spots, nothing happens (ReceiveTransitionsIntentService does not get called), no notifications nothing. </p>
  
  <p>Do I also have to listen to periodic location updates and pass lat/lng to the above piece of code manually to indicate my current location? I thought this should be automatic when I add geofences to LocationClient, but I guess there is more.</p>
  
  <p>I also tried registering a LocationRequest to the LocationClient instance, but still no alerts :</p>
  
  <pre><code>mLocationRequest = LocationRequest.create();
  mLocationRequest.setInterval(LocationUtils.UPDATE_INTERVAL_IN_MILLISECONDS);
  mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);
  mLocationRequest.setFastestInterval(LocationUtils.FAST_INTERVAL_CEILING_IN_MILLISECONDS);
  
  mLocationClient.requestLocationUpdates(mLocationRequest, (LocationListener)mActivity);
  </code></pre>
  
  <p>How does one integrate Geofence api with location tracking?</p>