How can you ensure a good GPS signal is found before allowing a button click which starts logging GPS locations?
Share
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.
Well, if you use the
LocationManager-class and act upon theonLocationChanged(), it won’t actually trigger until it’s gotten a position.Edit: Here’s something you can try out.
Edit#2: D’oh, I actually misread the question. I’ll leave my response though.
.xml:.java:Let me know if this works out for you!