Viewing and Editing Project Properties
Running Projects in the Emulator
Searching the WURFL Device Database
Finding Files in the Multiple User Environment
JSR 82: Bluetooth and OBEX Support
JSR 135: Mobile Media API Support
JSR 177: Smart Card Security (SATSA)
JSR 205: Wireless Messaging API (WMA) Support
JSR 211: Content Handler API (CHAPI)
JSR 226: Scalable 2D Vector Graphics
JSR 238: Mobile Internationalization API (MIA)
JSR 256: Mobile Sensor API Support
Creating a Mobile Sensor Project
To simulate sensor inputs, provide a sensor script. The file format is as follows:
<sensors> <value time="0"> <channel id="0" value="0" /> <channel id="1" value="0" /> </value> <value time="100"> <sensor active="false"/> </value> <value time="100"> <channel id="0" value="-50" /> <channel id="1" value="10" /> <sensor active="true"/> </value> </sensors>
The file installdir/apps/Sensors/marbles.xml is an example of a sensor script file. The attributes are as follows:
The attribute time in the value tag is the delay from the previous command in milliseconds.
The channel tag sets the value of the channel with the specified id value, to value. The channel ignores the id if the value of id is not specified or if the value is out of the channel range.
The sensor tag is a true or false value that makes the sensor available or unavailable. The pre-configured sensors provided with this release are embedded, so they cannot be deactivated. If you configure your own sensor that is not embedded, it will be possible to deactivate it.