I'm doing that by using a Timer as a watchdog.
It wakes periodically and checks to see if we have a fix yet.
If it doesn't over a specified period of time, it can set a flag or
generate an event to let the rest of the app know.

- Brill Pappin

On Apr 6, 11:34 pm, Farha Ansari <[email protected]> wrote:
> Hi,
>
> In blackberry, we use a timeout to get the location, so that if it
> doesnt retun location in that much time period, we get to know. But in
> Android, there is no concept of timeout, can anyone please tell the
> alternative, that we can find out that after this much time there is
> no location update from GPS.
>
> Thanks

-- 
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to