Has anyone been able to put extras in the intent they use for
addProximityAlert then be able to do a getExtra when the
IntentReceiver handles the Proximity Alert?

ex:

Intent blah = new Intent("com.google.android.PROXIMITY_ALERT");
blah.putExtra("color","red");
locationManager.addProximityAlert(12.11111,-22.00000,50,100000, blah);

onReceiveIntent(Context context, Intent intent){

 
if(intent.getAction().equals("com.google.android.PROXIMITY_ALERT")){


             String color = intent.getStringExtra("color");
        }


When I look at the extras bundle, I only see the boolean extra
"entering". My guess is that there isn't a check for an existing
bundle, and that the intent extras are overwritten with the "entering"
bundle. Anyone wondering the same thing?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to