Sensor simulator(help needed)

Tutorials concerning the OpenGL® ES cross-platform API for full-function 2D and 3D graphics on the Google-Android platform.

Sensor simulator(help needed)

Postby vellankik » Fri Sep 11, 2009 10:50 am

Hi,

I am Raja . How to use a sensor simulator for android and how to move a sphere on the screen based on the mouse movement in the simulator with accelerometer. Please help me.

Thanks and Regards,
Raja.
vellankik
Freshman
Freshman
 
Posts: 4
Joined: Thu Sep 10, 2009 11:48 am

Top

Postby isaaclin » Wed Sep 16, 2009 10:30 am

:( Unfortunately, the G-Sensor only can be used in the real set.
isaaclin
Freshman
Freshman
 
Posts: 3
Joined: Wed Sep 16, 2009 9:56 am

Postby isaaclin » Wed Sep 16, 2009 10:42 am

Hey, Raja. This website seems like can help you.
http://www.openintents.org/en/node/23
isaaclin
Freshman
Freshman
 
Posts: 3
Joined: Wed Sep 16, 2009 9:56 am

Thanks

Postby vellankik » Wed Sep 16, 2009 12:59 pm

Thanks for your suggestion. I have attached a zip file.Please have a look at the code.There are no errors in my code.But i am not able to execute it.I am able to display reading of the accelerometer on the emulator. But i am unable to move the shapes or images using simulator.
Attachments
sensorcanvas.zip
(21.31 KiB) Downloaded 200 times
vellankik
Freshman
Freshman
 
Posts: 4
Joined: Thu Sep 10, 2009 11:48 am

Top

Return to Android 2D/3D Graphics - OpenGL Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest