MobileSense Installation and Execution -------------------------------------- This document explains how to compile and run the MobileSense system. MobileSense is composed of a client-side J2ME program (MobileSense MIDlet) and a J2SE server program (MobileSenseServer). Client and server side communicate through a Bluetooth channel. In the server-side we make use of Blue Cove: "an open source implementation of the JSR-82 Bluetooth API for Java, which supports the Windows XP SP2 Bluetooth stack" (http://sourceforge.net/projects/bluecove/). In fact, we have used the patched version of this library available from Benhui.net (http://www.benhui.net/modules.php?name=Bluetooth&page=Connect_PC_Phone_Part_1.html). Our Bluetooth communication code is based on the sample SPP (Serial Port Protocol) example developed by Ben Hui and available at http://www.benhui.net/modules.php?name=Downloads&d_op=getit&lid=9. Acknowledgments --------------- The following open source tools are used by MobileSense: 1) GOCR, open source OCR system: http://jocr.sourceforge.net/ 2) FreeTTS, open source TTS system: http://freetts.sourceforge.net/docs/index.php 3) ImageMagick open source image processing tools (convert.exe): http://www.imagemagick.org/ 4) The TRIP barcode recognition system: http://paginaspersonales.deusto.es/dipina/tripweb/ System Requirements ------------------- 1) Windows XP Service Pack 2 2) Java SDK 1.4 or higher available from: http://java.sun.com/j2se 3) A MIDP 2.0 phone with the optinal Bluetooth package, such as the Nokia 6660. 4) A USB Bluetooth dongle such as the DBT 120 from D-Link. How to compile MobileSenseServer -------------------------------- 0) Extract MobileSenseServer.zip into a directory. 1) cd 2) compile.bat HOW TO GENERATE TRIP TAGS ------------------------- 1) cd tagGenerator 2) python generateTarget.py -r -l