I want to save GPS info into database when the internet connection is off in android.
that information by which the phone detect GPS location.
is this possible?
please advice me..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
GPS works without Internet. Internet is only required for A-GPS (to get the position faster when GPS does not know where you are since it’s way faster if GPS knows a rough area of your location).
On the other hand there is afik no way to provide that rough position to your GPS since that is not a part of Android’s GPS API (GPS is really vendor specific). The implementation might already do that.
If you still want to save that location go look for Database examples – e.g. http://www.vogella.de/articles/AndroidSQLite/article.html