kishorekolluicse / openintents

Automatically exported from code.google.com/p/openintents
0 stars 0 forks source link

Unable to run sample demo of sensorsimulator #523

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an AVD with Android 2.3.3 + Google APIs
2. Import the demo project, fix Android Target and runit
3.

What is the expected output? What do you see instead?
It is supposed I can control the application from the sensorsimulator desktop 
standalone app. But I can't even run it (the mobile app). The message in logcat 
is:
05-22 21:55:50.800: E/AndroidRuntime(1835): java.lang.NoClassDefFoundError: 
org.openintents.sensorsimulator.hardware.SensorManagerSimulator
05-22 21:55:50.800: E/AndroidRuntime(1835):     at 
org.openintents.samples.SensorSimulatorDemo.SensorSimulatorDemoActivity.onCreate
(SensorSimulatorDemoActivity.java:82)

What version of the product are you using? On what operating system?
I am using Android 2.3.3 + Google APIs, sensorsimulator-2.0-rc1, windows 7 x64.

Please provide any additional information below.
I am unable to run the demos. I don't have a clue, I have researched in the web 
and the steps to run the demo are pretty simple, however I has been imposible 
for me. I have tested also in an iMac without success.

Original issue reported on code.google.com by rafael.p...@gmail.com on 22 May 2012 at 10:03

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
The specific line that triggers the messages is: 
mSensorManager = SensorManagerSimulator.getSystemService(this, SENSOR_SERVICE);

Original comment by rafael.p...@gmail.com on 22 May 2012 at 10:06