[Dev] how works html geolocation api

Mats Wichmann mats at osg.samsung.com
Thu Jan 21 15:53:27 GMT 2016


On 01/21/16 08:41, joachim rodrigues wrote:
> Hi 
> 
> Firl of all, i home i'm in the correct maling list for this question.
> 
> I'm trying to understand, how works this line behind the scenes : 
>     navigator.geolocation.getCurrentPosition(showPosition);
> 
> When developing an webapp in tizen platform.
> 
> 
> Related to the scec :
> http://www.w3schools.com/html/html5_geolocation.asp
> 
> how does Tizen from a javascript command line access the hardware ?

The "web API" is actually implemented in the web runtime binary (in tizen 2.x this is an adapted version of Webkit), which is the thing which makes calls which eventually access the hardware.

Is that the question you were asking?




More information about the Dev mailing list