Is there a J2SE sensor API?
Posted
by Martin Strandbygaard
on Stack Overflow
See other posts from Stack Overflow
or by Martin Strandbygaard
Published on 2010-02-25T22:26:26Z
Indexed on
2010/03/11
21:09 UTC
Read the original article
Hit count: 468
Does anyone know of a "standardized" Java API for working with sensors, and which is closely tied to J2ME as is the case with JSR 256?
I'm writing a Java library for interfacing with a sensor network consisting of several different types of sensors (mostly simple stuff such as temperature, humidity, GPS, etc.).
So far I've rolled my own interface, and users have to write apps against this. I would like to change this approach and implement a "standard" API so that implementations aren't that closely tied to my library.
I've looked at JSR 256, but that really isn't a great solution as it's for J2ME, and my library is mostly used by Android devices or laptops running the full J2SE.
© Stack Overflow or respective owner