Getting location via a web application being run in a WebView

Posted by synic on Stack Overflow See other posts from Stack Overflow or by synic
Published on 2010-03-24T20:35:08Z Indexed on 2010/03/24 20:43 UTC
Read the original article Hit count: 194

Filed under:
|
|

m.google.com somehow requests the current location when loaded in Android's browser.

I want to do the same thing from a web page being loaded into a WebView in my own application. Is the only way to go about this with WebView.addJavascriptInterface(), or is there already a javascript interface available for webapps to use?

© Stack Overflow or respective owner

Related posts about android

Related posts about html5