Proximity Sensor

From WebOS Internals
Revision as of 02:18, 27 December 2009 by Irritum (talk | contribs) (New page: While poking around in '''com.palm.app.crotest''' code I found some code that interacts with the IR proximity sensor. I think quite a few apps could use it as an input, for one the stock "...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

While poking around in com.palm.app.crotest code I found some code that interacts with the IR proximity sensor. I think quite a few apps could use it as an input, for one the stock "Clock" app can utilize it to control it's alarm / snooze / dismiss functions. I haven't done much with it yet and don't think it would be appropriate to cut-paste code here but if you're interested in exploring this functionality check out:

/usr/palm/applications/com.palm.app.crotest/app/controllers/proximity-assistant.js

I'll try and update this page when I find more information / code examples.