smart solutions for small devices
[ start | index | login ]
start > J2ME > MovingBall example ported to JME

MovingBall example ported to JME

Created by bjoernQ. Last edited by bjoernQ, 2 years and 115 days ago. Viewed 638 times. #4
[diff] [history] [edit] [rdf]
labels
attachments
MovingBallME.zip (20022)
Screenshot0003.jpg (31569)
I have ported the >>MovingBall example - an example showing the use of the N95 accelerometer - to Java.

It uses the tricks explained in Using the N95 accelerometer in Java - kind of to achieve this.

Screenshot0003

As in the original example you first have to start the Python server and then you can start the MIDlet. (Don't close the server. It has to be running in the background.)

In direct comparison to the C++ counterpart you see a slightly delayed reaction to your movements. But it's still usable and still better than nothing.

>>Download example source and binary zip file.

no comments | post comment
www.mobile-j.de | Bjoern Quentin