The timer is there to only allow it to check for 30 seconds. Once the 30 seconds are up if it hasn't got a location it cancels the GPS and tries the Passive, after 30 seconds it stops the passive and goes to network. The problem is once it gets to the network nothing happens.
From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Deepu George Jacob Sent: Saturday, November 19, 2011 11:07 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Please Help with GPS Provider Switch GPS never use timer it will automatically update ....At first check your is GPS enabled..It also done by programatically ... To check the location changed by using location.getSpeed(); location.getLatitude() some thing like that -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en