[android-developers] How to Check Key Status?

2009-02-14 Thread iAmACyborg
Hi, I'm killing myself here, any help would be appreciated. Is there any way to poll the state of a given hardware key? I'm not talking about using an event. Matthew --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] onProviderEnabled / onProviderDisabled unexpected behavior

2008-12-21 Thread iAmACyborg
When enabling or disabling a provider in settings; it seems to trigger a disable event for all providers, then an enable event for any providers that are still checked. Is this the intended behavior? For example, if network and gps are enabled, and I disable network - I get this: 12-20

[android-developers] Re: requestLocationUpdates

2008-12-21 Thread iAmACyborg
You'll have to store the last time and place the update was received for. Then when you get a new update; compare it to the saved values. If the difference is = your minimum, update the stored values and pass the update on. On Nov 10, 12:09 pm, dave.marsden dave.mars...@dragonfly- services.co.uk