[android-developers] What can and can't be done in Services

2008-07-23 Thread woodm
Hello, Basically, I have the set of locations stored in a database and I want proximity alerts to be fired when the user is close to them. I currently have code that works and fires proximity alerts correctly when WITHIN the application. However, I want these alerts to be fired when the phone

[android-developers] Re: Trouble with 0.9 beta and MapActivity

2008-08-22 Thread woodm
I was having this same problem yesterday but managed to solve it. It's just a case of fixing your AndroidManifest.xml file. It needs to use the correct permissions and contain a uses-library android:name=com.google.android.maps / tag. This post:

[android-developers] Re: Trouble with 0.9 beta and MapActivity

2008-08-25 Thread woodm
expect.  If I create it programmatically like I show above, then it doesn't register touches.  Any idea what's up with that? On Fri, Aug 22, 2008 at 3:20 AM, Casey Borders [EMAIL PROTECTED] wrote: That did it!!  Thank you!! On Fri, Aug 22, 2008 at 3:05 AM, woodm [EMAIL PROTECTED] wrote: I

[android-developers] BroadcastReceiver not receiving PROXIMITY_ALERTs

2008-08-28 Thread woodm
Hey guys, I'm have a registered BroadcastReceiver that should receive proximity alerts. I've added the proximity alerts to the objects and that is successful, LogCat also gives me the message when I am in proximity of an object: 08-28 09:55:05.344: INFO/LocationManagerService(53): Entered alert

[android-developers] Re: BroadcastReceiver not receiving PROXIMITY_ALERTs

2008-08-28 Thread woodm
Actually. after having a closer look at the Intent documentation does PROXIMITY_ALERT even exist anymore!? woodm wrote: Hey guys, I'm have a registered BroadcastReceiver that should receive proximity alerts. I've added the proximity alerts to the objects and that is successful, LogCat also

[android-developers] Re: BroadcastReceiver not receiving PROXIMITY_ALERTs

2008-08-28 Thread woodm
alerts working correctly? Cheers On Aug 28, 12:47 pm, Mark Murphy [EMAIL PROTECTED] wrote: woodm wrote: Actually. after having a closer look at the Intent documentation does PROXIMITY_ALERT even exist anymore!? There's nothing to say you need to use their namespace for your action. In fact

[android-developers] Re: BroadcastReceiver not receiving PROXIMITY_ALERTs

2008-08-28 Thread woodm
Nevermind...it was a /stupid/ mistake. The PendingIntent I was supplying was fetched from PendingIntent.getActivity() where as it should have been called with PendingIntent.getBroadcast(). It works fine now :-) On Aug 28, 2:43 pm, woodm [EMAIL PROTECTED] wrote: Thanks for getting back to me

[android-developers] Re: BroadcastReceiver not receiving PROXIMITY_ALERTs

2008-08-28 Thread woodm
Nevermind...it was a /stupid/ mistake. The PendingIntent I was supplying was fetched from PendingIntent.getActivity() where as it should have been called with PendingIntent.getBroadcast(). It works fine now :-) On Aug 28, 2:43 pm, woodm [EMAIL PROTECTED] wrote: Thanks for getting back to me