Click here to Skip to main content
14,331,896 members
Rate this:
Please Sign up or sign in to vote.
Hi friends,
I need to track the location of the android mobile from my application.In that the location tracking is working fine with GPS,WiFi and Mobile data.If the user is in offline without any WiFi/Mobile data means I need to get the current location of the user.By this way am getting only the last known location where I turned off the Mobile data/WiFi.How to update the locations in OFFLINE mode.
Suggest some solutions to solve.
Thanks in advance.
Mohibur Rashid 17-Sep-14 1:02am
I do not think it achievable.
Kornfeld Eliyahu Peter 17-Sep-14 2:32am
You can get your location (in means on numbers of longitude and latitude) using GPS only, but you can not convert it into map coordinates without WiFi or mobile data...
Mohibur Rashid 20-Sep-14 5:06am
Please take Look at 'Offline Maps'. it may help

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1


You have solution, in case your wifi and GPS are in offline mode, still you can get the GPS coordinates from the mobile SIM card, it will provide you the coordinates from the nearest mobile tower.

Happy Coding


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100