Providing Sensor Data

The Event Injector view can be used to imitate user actions, such as shaking, throwing, and tilting the device. You can generate single sensor events, or design sensor profiles for different sensors, containing sensor data that describes a series of sensor events.

The sensor profiles have a simple data structure and are stored in TXT files. The sensor data can be input in the specified data structure from the proximity, motion, light, or 3-axis sensors.

The sensor profiles are of 2 types:

Controlling 3-axis Sensors

The Event Injector view can be used to adjust the acceleration, magnetic, tilt, and gyro sensors of the Emulator in the 3-Axis Sensors section of the Sensor tab.

On the GUI subtab, you can select which sensors are active, and you can move the Emulator using the 3 axis sliders or the direction buttons (Portrait, Landscape, Reverse Portrait, and Reverse Landscape). The Emulator image shows the current position of the Emulator.

To better control the movement, select the With axis check box to see the axes in the Emulator image. You can also fix the y- or z-axis by selecting the X/Z or X/Y radio button, respectively. To change the Emulator accelerator value in the direction of the movement, select the Move radio button.

To adjust the individual sensors:

Controlling Other Sensors

You can control the proximity, motions, and light sensor of the Emulator:

Where to Go Next