Thursday, May 01, 2014

WDC 1.8 device Api

Small api which give device capabilities to browsers

work on chrome and firefox

where wild apis live?
- spec changes alot


highly change specs
- sensor api
- web nfc
- networj apis

sensor api?
temp, humidity, pressure
e.g content base on temperature 

web nfc?
just in time capabilities

network api?


-- settle down
- proximity
- battery status


proximity?
device promixity how close to other device

user event - if there is user near,

batterie status api?
current energy state


-- stable
- vibration
- ambient light

vibration?
navigator.vibrate(msec)
e.g form if there is error.

ambient light?
event obj- light
light level
e.g changing contract level at night or bright day

github.com/ajfisher/wdc


No comments: