ProximityAlert never fires
<p>My proximity alert has been frustrating me for several minutes now and never gets to the receiver.</p>

<p>ProximityIntentReceiver.java
<code><pre>
public class ProximityIntentReceiver extends BroadcastReceiver{
    @Override
    public void onReceive(Context iContext, Intent iIntent) {</p>

<pre><code>    String key = LocationManager.KEY_PROXIMITY_ENTERING;
    Boolean entering = iIntent.getBooleanExtra(key,false);

    Log.d(Global.TAG,"--&gt;!!!!! Proximity onReceive:"+entering+"\n");
    }
</code></pre>

<p>}
</pre></code></p>

<p>Proximity.java
<code><pre>
public class Proximity {
    public static String PROXIMITY_ALERT = "com.atClass.ProximityIntentReceiver";</p>

<pre><code>public ProximityIntentReceiver setProximityAlert(double iLat, double iLng) {
    ProximityIntentReceiver lProximityIntentReceiver;

    Log.d(Global.TAG,"--&gt;ProximityAlert set:" + iLat + "," + iLng);
    String locService = Context.LOCATION_SERVICE;
    LocationManager locationManager;
    locationManager = (LocationManager)Global.gActivity.getSystemService(locService);

    float radius = 1000f; //meters
    long expiration = -1; //never expire

    Intent intent = new Intent(PROXIMITY_ALERT);
    PendingIntent proximityIntent = PendingIntent.getBroadcast(Global.gContext,-1,intent,0);
    locationManager.addProximityAlert(iLat, iLng, radius, expiration, proximityIntent);

    IntentFilter filter = new IntentFilter(PROXIMITY_ALERT);
    lProximityIntentReceiver = new ProximityIntentReceiver();
    Global.gContext.registerReceiver(lProximityIntentReceiver,filter);
    return lProximityIntentReceiver;
}
</code></pre>

<p>}
</pre></code></p>

<p>Give it a whirl:
<code><pre>
        ProximityTools.setupProximityList();
        ProximityTools.clearProximityLocations();</p>

<pre><code>    Proximity lProximityAlert = new Proximity();
    lProximityAlert.setProximityAlert(43.647995,-79.4953733);
</code></pre>

<p></pre></code></p>

<p>Any help is greatly appreciated as usual!</p>
