Actually many of the developers which are crazy to develop applications on sensors have to purchase the device which supports sensors like accelerometer and all that. But now the application has been built which supports your emulator to deal with the sensors.What you have to do is just to download the application download.
and follow the steps given below.
Now the above is the snapshot of all the work to be done in the android emulator.
In this way we connect the sensors emulator with the android emulator.In the next post I will tell you about how to add this sensor simulator with your application.If you have any queries regarding this post then please comment or query.!!!!!!!!!!!!!!
and follow the steps given below.
- Start bin/sensorsimulator-x.x.x.jar (Java standalone application).
- Install bin/SensorSimulatorSettings-x.x.x.apk on your Android emulator.
- Launch SensorSimulator on the emulator.
- Enter IP address and socket (port) number into the emulator as shown
- Go to Sensors Tab in the java simulator and choose the sensors you want to enable.
- Press Connect on the emulator (second tab of the settings activity).
- Now you should see the sensor data (see below). With a small delay, they are in sync with the SensorSimulator numbers.
- Try moving the SensorSimulator phone around with the mouse: The numbers will change in the SensorSimulator and on the Android phone.
Now the above is the snapshot of all the work to be done in the android emulator.
In this way we connect the sensors emulator with the android emulator.In the next post I will tell you about how to add this sensor simulator with your application.If you have any queries regarding this post then please comment or query.!!!!!!!!!!!!!!
No comments:
Post a Comment