Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
TouchKit in an Android application
Hello everybody,
I have a TouchKit application which uses GPS to retrieve the user's position. When I access it from a browser, it works. But if I access it from an Android WebView, it doesn't even try detecting GPS position and fails with a POSITION_UNAVAILABLE error.
Doing some research, it seems to me that I implemented all needed code, so I guess I am forgetting something which is usually implied by others.
Has anyone of you ever successfully implemented something similar?
Are you sure you haven't just disabled location services etc. from your device. I'm sorry I can't remember where it is enabled/disabled in Android.
Hi!
Well, location access is enabled, and indeed I can make the GPS fix when visiting the application from browser.
BUT... This is quite strange: when I enable location through wireless network, the web application never tries to perform a GPS fix, not even from the browser.