Skip to content Skip to sidebar Skip to footer

Network Provider Not Working In Android

i have to make an android application in which i need to find the current location of the user. For this i am first using the GPS provider, but if it is not available i fall back t

Solution 1:

Two days puzzled over this problem. I found a solution. Just go to Settings -> Location & security and enable flag "Use wireless networks" in "My Location" group.

But now I have the question: what is default state of this flag? It will be very sad if the application would have to ask the user to enable this flag.

Solution 2:

You have to activate location via network providers in the Settings menu, and if at the start of the app it is disabled, you can show a Toast to notify the user

Post a Comment for "Network Provider Not Working In Android"