Sunday, November 11, 2012

[android-developers] Location Update on wifi/3g off

Hi,
I have a problem with location update using NETWORK_PROVIDER.

When I use NETWORK_PROVIDER if the wifi or 3g network are offline in the onLocationChanged(Location location) I receive a LastKnow location but I want it is call just when there is a real new location.

I must check if user is in the same location for 2 minutes, and if the wifi or 3g are offline betwen the two minutes as soon as its are online the locationChanched is call.

Thank you!!


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate