Chris Pollett >
Students > [Bio] |
Deliverable 2Goal: The objective here was to Integrate the Sensor Simulator with Android Emulator. After integration the simulator values will be reflected on the emulator screen. DescriptionThe zip file contains the source code for testing the simulator integration with emulator and the files described below: 1) Test.java - It is the class from which we connect to Sensor Simulator. 2) AccelerometerReader.java - This file contains the functionality and methods for accessing the sensors as defined in android.hardware.Sensors class 3) R.java - It is the auto generated file. It is an index into all the resources defined in the file. Procedure for connecting the sensor simulator to android application1) Download the openintents-binary-0.1.4 from OpenIntents project2) Start the Java standalone application from the directory tools/SensorSimulator.jar 3) Install OpenIntents.apk and OpenGLSensors.apk on the emulator. 4) Launch OpenIntents on the emulator and select Sensor Simulator from the menu. Follow the instructions shown in each of the UI screens. Screenshot of integration of Sensor Simulator with emulator
|