• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Motion Sensor Programming

 
Timothy Sam
Ranch Hand
Posts: 751
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

Is there an API in Java to take advantage of a phone's motion sensor feature? I want to try especially on Sony Ericsson's W395.

Thanks!
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17616
38
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd recommend looking at the specs for that phone. Normally they'll include a list of supported JSRs, and there may be one for sensors just as there's one for location services.

If not, check the manufacturer's SDK, and it will probably contain a vendor-specific API you can use.
 
Raju Champaklal
Ranch Hand
Posts: 521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
People think any child can program. Which is probably why so many programs behave like they were written by children.

nice one
 
Timothy Sam
Ranch Hand
Posts: 751
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tim H.

From the Sony Ericsson Developer World site, it's funny that they would mention motion gaming support and yet not mention JSR-256 in the list of their supported JSR's and API's.

http://developer.sonyericsson.com/device/loadDevice.do?id=193b15d2-feee-4607-a642-49960c51c345

JSRs & APIs

* CLDC 1.1
* WMA (JSR-120)
* MMAPI(JSR-135)
* Mobile 3D(JSR-184)
* Java Technology for the Wireless Industry(JSR-185)
* File/PIM(JSR-75)
* Mascot Capsule V3
* MIDP 2.0(JSR 118)
* Nokia UI API 1.1


This website mentioned JSR-256 support

http://www.jbenchmark.com/phonedetails.jsp?benchmark=jvm&D=SonyEricsson%20W395&testgroup=null

Mobile Sensor API (JSR-256)

Thanks again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic