W3C home > Mailing lists > Public > public-device-apis@w3.org > September 2015

Re: [sensors] Retrofit existing sensor APIs

From: Francesco Iovine via GitHub <sysbot+gh@w3.org>
Date: Fri, 04 Sep 2015 21:13:34 +0000
To: public-device-apis@w3.org
Message-ID: <issue_comment.created-137855034-1441401213-sysbot+gh@w3.org>
@tobie I noticed you started adding examples and implementing 
polyfills

I'm thinking to contibute implementing polyfills on my example open 
web apps for sensors:

Geolocation
Repository: https://github.com/franciov/geo
Live demo: http://franciov.github.io/geo/
JS file to be updated with the new Sensor API: 
https://github.com/franciov/geo/blob/master/scripts/utils/geolocation-manager.js

Battery and Proximity
Repository: https://github.com/franciov/low-energy-messenger
Live demo: http://franciov.github.io/geo/
JS file to be updated with the new Sensor API: 
https://github.com/franciov/low-energy-messenger/blob/master/scripts/utils/energy-manager.js

Device motion and orientation
Repository: https://github.com/franciov/rolling-ball
JS file to be updated with the new Sensor API: 
https://github.com/franciov/rolling-ball/blob/master/scripts/DeviceMotionControl.js

Ambient light (and temperature?)
Repository: https://github.com/franciov/xmas-tales
JS file to be updated with the new Sensor API: 
https://github.com/franciov/xmas-tales/blob/master/scripts/ambient-light-manager.js

Network speed
Repository: https://github.com/franciov/net-pics
JS file to be updated with the new Sensor API: 
https://github.com/franciov/net-pics/blob/master/scripts/network-manager.js

What do you think?

Can they be re-used as example apps for this repository as well maybe?


-- 
GitHub Notif of comment by franciov
See https://github.com/w3c/sensors/issues/1#issuecomment-137855034
Received on Friday, 4 September 2015 21:13:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:54:06 UTC