Hi Felipe,

The exact requirement you are looking for is already part of qtwebkit 2.1 
release which implements http://dev.w3.org/geo/api/spec-source.html
2.1 webkit you can get from 
http://gitorious.org/+qtwebkit-developers/webkit/qtwebkit and mobility from 
http://qt.gitorious.org/qt-mobility/qt-mobility

Br,
MaheshK

From: [email protected] 
[mailto:[email protected]] On Behalf Of ext Felipe Crochik
Sent: Thursday, September 09, 2010 8:25 PM
To: [email protected]
Subject: [webkit-qt] Qt Mobility Location + QtWebKit = 
navigator.geolocation.getCurrentPosition - is it possible?

I am trying to create a limited browser using QtWebKit that will implement geo 
location. I would like to accomplish it on a "standard/recommended" way? Is 
there any?

I plan to use Qt Mobility Location library to get the position from the gps and 
then somehow I need to tell the webkit about it.
The second part is the trick one for me: I can evaluate a Javascript to allow a 
web site that I control to get the location but I would like, if possible, to 
just have my webkit control to be able to handle 
"navigator.geolocation.getCurrentPosition" (and any and other methods related 
to it) using the information that I provided somehow.

Thanks in advance
Felipe
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt

Reply via email to