Jun 19, 2013

I recently read Tim Wright’s article on A List Apart detailing the Device API; a collection of W3C standards that let you obtain access to a number of hardware sensors.

I found this fascinating, and had to try them out. Here’s what I’ve learned.

Note: for most of these demos, you’ll want to try them out in specific browsers (either Android Firefox or iOS Safari); as of today, browser support is limited. The most up-to-date information on browser implementation is on this page.

All demo code is available on GitHub.

Battery Status

[View Demo (works in Android Firefox)](http://…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help