Recently I got amazed by the wonderful world of Web Applications!
It is an amazing world where your application can be run in multiple platforms such as Android, Windows Mobile, iOS and generally every platform/operating system which supports HTML5.
A handy and really useful step by step guide can be found at Mozilla Developer Network.
So tonight I decided to build my first cross platform web application which involves geolocation and google maps API. After I succeed building and running my webapp on Firefox it was time to port it in Android. Generally Anrdoid users think that if the software is not in Play Store (android market) this is not an Application! So I had to create a simple Android application where I had to include only a WebView loading my app’s url.
Simple enough, don’t you think?
Wrong!
The past few hours I am trying to figure out how to enable geolocation in WebView with out any luck! Every guide, question, blog post regarding geolocation and WebView was always missing something.
Finally after a lot of search I found David Chandler’s detailed and fully operational example which saved my night!
There is no need to republish the hole blog post here so take your time and enjoy his beautiful work.
Enjoy 🙂
3 responses to “WebApplications: Enable Geolocation in an Android WebView”
This is my first time pay a quick visit at here and i am in fact impressed
to read everthing at single place.
I’d been advised this blog by way of our nephew. We are now not particular if this publish is actually written by your ex when nobody else recognize these kinds of precise around my dilemma. You will be great! Thank you so much!
Can I have a source code of your project? I cannot follow through the guide.