Get your CodeRanch badge!*
The moose likes Java Micro Edition and the fly likes Motion Sensor Programming Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Motion Sensor Programming" Watch "Motion Sensor Programming" New topic
Author

Motion Sensor Programming

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
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!


SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15629
    
  15

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Raju Champaklal
Ranch Hand

Joined: Dec 10, 2009
Posts: 521
People think any child can program. Which is probably why so many programs behave like they were written by children.

nice one


scjp 1.6 91%, preparing for scmad
"Time to get MAD now.. we will get even later"....by someone unknown
Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Motion Sensor Programming
 
Similar Threads
Security Forum?
Handset orientation detection
samsung mobile
java and sensor
WA #1.....word association