Pedometer in HTML5 for Firefox OS and Firefox for Android - Archive ouverte HAL Accéder directement au contenu
Logiciel Année : 2016

Pedometer in HTML5 for Firefox OS and Firefox for Android

Sébastien Ménigot

Résumé

Nowadays,the connected devices are increasingly present. They are especially the "stars" of the latest Consumer Electronics Show 2014 (Las Vegas, NV, USA) . Among these devices, there is one who knows a revival: pedometer. For a long time, pedometer has established in hiking field. But it has suffered in comparison with geolocation which can offers greater simplicity (no setting) and greater accuracy in distance measurements. However, geolocation can be a complement to the pedometer since only the pedometer can measure the number of steps. With the accession of smartphones, all these measures can easily be performed with the same device. For example, there is a version for Android pedometer under GNU GPLv3 license [1]. However, it seems that the future of mobile technologies tends to turn to web technologies based on HTML5. Two projects of operating system arouse: Firefox OS developed by the Mozilla Foundation and Tizen developed by Linux Foundation. Note that web scripts can be added to programs in C++ through Qt Library. These factors led me to develop a pedometer in HTML5 under the GNU GPLv3 License. The recent development of new functionality enables to get information from gyroscopes easily. The web browser will calculate the acceleration in three smartphone axes x, y and z. From these three signals, when a person has a smartphone in the pocket, the steps can be detected. This web application is based on measures of digital accelerometer. The web application has been tested on a Geeksphone Peak (Madrid, Spain) with Firefox OS 1.3 Prerelase. Note that Firefox for Android, the web application works but no benchmark has been achieved in this platform.

Mots clés

84 Consultations
2 Téléchargements

Partager

Gmail Facebook X LinkedIn More