[webkit-qt] Qt Mobility Location + QtWebKit =navigator.geolocation.getCurrentPosition - is it possible?

Felipe Crochik felipe at crochik.com
Thu Sep 9 09:28:55 PDT 2010


MaheshK,

 

Thank you. 

 

If you don't mind I have some follow up questions:

 Is there any special instruction on how to compile? Do I also need to get
the latest branch of qt mobility or can I just use the "official release"? 

My goal is to compile this for maemo5. Can you foresee any issues with that?

 

BR

Felipe

 

  _____  

From: mahesh.kulkarni at nokia.com [mailto:mahesh.kulkarni at nokia.com] 
Sent: Thursday, September 09, 2010 12:18 PM
To: felipe at crochik.com; webkit-qt at lists.webkit.org
Subject: RE: [webkit-qt] Qt Mobility Location + QtWebKit
=navigator.geolocation.getCurrentPosition - is it possible?

 

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>
http://dev.w3.org/geo/api/spec-source.html

2.1 webkit you can get from
<http://gitorious.org/+qtwebkit-developers/webkit/qtwebkit>
http://gitorious.org/+qtwebkit-developers/webkit/qtwebkit and mobility from
<http://qt.gitorious.org/qt-mobility/qt-mobility>
http://qt.gitorious.org/qt-mobility/qt-mobility

 

Br,

MaheshK

 

From: webkit-qt-bounces at lists.webkit.org
[mailto:webkit-qt-bounces at lists.webkit.org] On Behalf Of ext Felipe Crochik
Sent: Thursday, September 09, 2010 8:25 PM
To: webkit-qt at lists.webkit.org
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100909/05192328/attachment-0001.html>


More information about the webkit-qt mailing list