how to create the Proximity alert in android
<p>I have been doing the proximity alert oriented app.Here i can get the entering message when i go into the given latitude and longitude. But couldn't get exiting message when i relieve from that place.</p>

<p>here i paste my coding</p>

<pre><code>  double lat = 13.08828;    
  double lon = 80.177029;
  float radius = 100; 
  String geo = "geo:"+lat+","+lon;
  Intent intent = new Intent(PROX_ALERT,Uri.parse(geo));
  intent.putExtra("message", "golden flats");
  pIntent1 = PendingIntent.getBroadcast(getApplicationContext(), 0, intent,
      PendingIntent.FLAG_CANCEL_CURRENT);

  locMgr = (LocationManager) this.getSystemService(LOCATION_SERVICE);
  locMgr.addProximityAlert(lat, lon, radius, 2000L, pIntent1);
</code></pre>
