webview and gps
Is there a way to use the GPS functionality and to show the retreived GPS information in the webview?
4 Answers
-
depends… you can pass this info into the Window object and then overlay a label or something with the gps info. What are you trying to do? that will help us determine how to help you.
-
To be more specific. Is there a way to fill input fields in a HTML file that is loaded in a webview with GPS values or accelerometer from a native part of the app?
Don't get me wrong, I like Appcelerator but the lack of easily creating a UI (few steps back in time) forces me back to a combination of native for some elements and webviews.
Is there anyone that has created a sample that works and is a complete project that can be deployed on an Android?
-
is this a local html file or an external html file?
-
Could be both, local or remote file. There are not many samples with a passing native values to webview html files.