User Tools

Site Tools


Sidebar

**The OOBD Book** Download as [[epub|eBook]] \\ Download as [[https://drive.google.com/folderview?id=0B795A63vSunRbk1jc3U5VFFJbkU&usp=sharing|PDF / Mobi]] * [[start|Documentation]] * Installation * [[startup_javame|OOBD-ME (Mobile Phones)]] * [[startup_android|OOBD-Android]] * [[startup_windows|Windows OOBDesk]] * [[startup_embedded|Raspi & Co]] * [[startup_usage|Start the programs]] * [[startup_oobdscript|First Success: Run the OOBD script]] * [[lua_start|Lua in OOBD]] * [[tools_quickscript|Click your Script: Quick Script]] * [[lua_make-your-own-scripts|Make your own OOBD Scripts]] * [[lua_tutorial|The OOBD Lua Tutorial]] * [[lua_make|Lua Build Enviroment]] * Web UI * [[:de:doc:webui_tutorial|Web User Interface Tutorial(German)]] * [[webui_guide|Web UI Package structure]] * [[:de:doc:webui_simulator|UI Emulator for development(German)]] * [[hw_start|The OOBD Hardware]] * [[hw_quickstart|OOBD Cup Quick Start]] * [[hw_assembly-cupv5|Build your own Dongle]] * [[hw_busswitch|Add a second Bus to DXM]] * [[hw_bootloader|Flash the Bootloader]] * [[hw_firmware|Flash the Firmware]] * [[hw_flash-from-usb-stick|Flash the Firmware from USB-Stick]] * [[hw_commands|The Firmware Commands]] * [[tools_start|The OOBD Utilities]] * [[tools_kadaver|Kadaver]] * [[tools_quickscript|Quick Script]] * [[tools_cortex-crc32|Cortex-CRC32]] * [[tools_filelist|Filelist]] * [[tools_olp|OLP]] * [[tools_oobdcopyshop|OOBDCopyShop]] * [[tools_oobdtemple|oobdtemple]] * [[tools_oodbcreate|OODBCreate]] * [[tools_opendiagx|OpenDiagX]] * [[tools_oobdcmd|OOBDcmd]] * [[tools_oobdflash|OOBDFlash]] * PGP * [[pgp_setup|Install PGP Keys]] * [[dev_start|Development]] * [[dev_googlesetup|Join the News]] * Setup your Developer Environment * [[dev_cygwininstall|CygWin Environment]] * [[dev_setupswing|Java Swing]] * [[dev_setupme|Java ME]] * [[dev_setupandroid|Android]] * [[dev_androidlivecd|The Android Debug Live CD]] * [[dev_setupfirmware|Firmware]] * [[dev_clientdesignguide|User Interface Design Guide]] * [[dev_systemspec|The OOBD System Spec]] * [[dev_readotherformats|Import XML files]] * [[dev_links|Link Collection]] * [[dev_roadmap|Road Map]] * [[rfc_start|Specifications (RFC)]] * [[rfc_firmware_syntax|OOBD Firmware: General Command Syntax]] * [[rfc_canuds-mode|OOBD Firmware: Protocol : UDS (P 6 ..)]] * [[rfc_canraw-mode|OOBD Firmware: Protocol : CANraw (P 6 ..)]] * [[rfc_rtd-real-time-data-protocol-for-the-oobd-firmware|OOBD Firmware: Protocol : Real Time Data (RTD) (P 6 ..)]] * [[rfc_pgp-encrypting-sensible-data-with-pgp|PGP Principle]] * [[rfc_onion|The ONION Message Format]] * [[faq|Frequently Asked Questions]]

doc:dev_setupme

Compiling OOBD-ME

OOBD-ME is a Netbeans project, so you'll need at least Netbeans ;-)

You'll also need

  • Ant
  • Kahlua as the LUA virtual maschine
  • and LWUIT as the “windows manager”

In Netbeans, you need to have the “Mobility” and the “Mobility End to End” Plugin (under “Tools/plugins”) and the Java ME SDK (or Wireless toolkit 2.5.2).

In case the Java ME SDK is not included in your Netbeans Installation pack, you've to install the Java ME SDK seperately and add it afterwards to your Netbeans environment under “Extras/Platforms../Add Platform” or “Refresh” in case you update your SDK.

Download and extract the LWUIT archive, Kahlua comes later

  • checkout the source from http://code.google.com/p/oobd/source/checkout (this should also checkout the kahlua sources, as it is linked into this repository)
  • in the checked out directories there's one directory calling Kalua. From a terminal window, run “ant” in that directory to generate the kahlua.jar package
  • Somewhere in the Kahlua package, there's a file called stdlib.lbc. Copy it into the “res”- Folder in the checkout tree
  • When you load the project into Netbeans, Netbeans will moan about “broken references”. Correct this by point the references to the kahlua.jar and lwuit.jar files somewhere in the extracted directories
  • Under the Netbeans OOBD-ME project properties in Application descriptor/Midlets, correct the following entries to
    • Midlet-Name: OOBD-ME
    • Midlet-icon /oobd_small.PNG

Now you should be able to build and run the program either in the emulator or on your mobile phone

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information
doc/dev_setupme.txt · Last modified: 2014/02/25 06:53 by admin