>> 2. In the ProximityIntentReceiver, after you have received the first
>> proximity alert intent, call LocationManager#removeProximityAlert() with
>> the same Intent object you used in the previous addProximityAlert() call
>
> This don't work. I try to remove the proximity alert but the proximity
> alert continues working. Why? I saw the issue number 633 "When I
> remove an proximity alert".

Are you sure you are calling removeProximityAlert() with the exact same
Intent object as you used with the corresponding addProximityAlert()?

All I know is, it worked for me when writing the TourIt sample application
for my book. You can download that application from
http://commonsware.com/Android/ as part of the source code bundle.

>> 3. Call startSubActivity() to launch the child activity
>
> This don't work. Is possible start a subActivity inside an
> IntentReceiver?

It definitely works if the IntentReceiver is part of an Activity (i.e.,
registered via registerReceiver()) -- just have the Activity object call
startSubActivity().

It probably does not work if the IntentReceiver is a standalone component,
though (i.e., registered as a receiver via the manifest).

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ -- Available Now!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to