I am implementing gps provider getting latitude and longitude from device i am already get the information in device i can implemented network provider that is the problem how can implemented using network provider
I am implementing gps provider getting latitude and longitude from device i am already
Share
The code is basically the same. Obtain a provider (gps, network, etc.), call getLastKnownLocation. Additionally you can request location updates for this provider. But you can’t test this using the emulator, you’ll need a phone.