network provider not working in android
<p>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 to the network provider.
Now there have been instances on my phone when even the network provider is not working and the statement
        network_enabled = lm
                    .isProviderEnabled(LocationManager.NETWORK_PROVIDER);</p>

<p>is giving a false value. </p>

<p><strong>My question</strong></p>

<p>i am still able to make calls from my phone, so my network provider is working fine. what i need to know is in what conditions does the network provider not work? what could be the possible scenarios where the network provider on my android device not work to supply me my co-ordinates.</p>

<p>thank you in advance</p>
