[Tizen Application-dev] Is W3C Geolocation API supported on Tizen SDK?

Gyuyoung Kim gyuyoung at gmail.com
Fri Mar 9 01:28:36 GMT 2012


Hello Futomi,

As far as I know, Tizen web engine supports gelocation API based on W3C
specs.
However, unfortunately, I don't test it on Tizen SDK yet. I will let you
know whether geolocation is supported by Tizen SDK.

Cheers,
Gyuyoung.

On Thu, Mar 8, 2012 at 5:57 PM, Futomi Hatano <info at html5.jp> wrote:

> Hi,
>
> I'd like to try to use Geocoder API in Tizen Web API.
>
> https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.help.web.api%2Ftizen%2Fgeocoder.html
> So, I've tried W3C Geolocation API on Tizen SDK.
> My code is as blow.
>
> navigator.geolocation.getCurrentPosition(
>  function(position) { // successCallback
>    console.log("OK");
>  },
>  function(error) { // errorCallback
>    console.log("NG");
>  },
>  {
>    enableHighAccuracy: true,
>    timeout: 500
>  }
> );
>
> My developing environment is a desktop pc which don't have GPS.
> So, I expected that the errorCallback would be invoked soon (in 500ms).
> But, both of successCallback and errorCallback aren't invoked.
> Is W3C Geolocation API supported on the Tizen SDK?
> Or do I neeed to do anything before running the apps?
>
> Thanks,
> Futomi
>
> --
> Futomi Hatano <info at html5.jp>
> http://www.html5.jp/
> http://www.futomi.com/
> http://twitter.com/futomi
>
> _______________________________________________
> Application-dev mailing list
> Application-dev at lists.tizen.org
> https://lists.tizen.org/listinfo/application-dev
>



-- 
- Gyuyoung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/application-dev/attachments/20120309/746b219a/attachment.html>


More information about the Application-dev mailing list