wiki:Documentation/Android

Version 4 (modified by Christoph Mayer, 13 years ago) ( diff )

--

Ariba on Android

Running Ariba on Android platforms using the NDK is quite easy. We have ported the Ariba source accordingly so it currently works directly with the trunk version. Further we provide a set of scripts that simplfy set up of the NDK, patches to the SDK, and compiling scripts.

Make sure you have ruby installed, it is required by the droid-wrapper scripts that we use.

mkdir ariba-android
cd ariba-android
svn co https://i72projekte.tm.uka.de/SpoVNet-KA/entwicklung/ariba/trunk/  ./ariba
svn co https://i72projekte.tm.uka.de/SpoVNet-KA/entwicklung/tools/android ./toolchain
cd toolchain
./get-ndk.sh
cd ../ariba
./bootstrap
../toolchain/bootstrap_ariba_libs
../toolchain/make_ariba

You can find a deploy.sh script in the toolchain/ folder together a description of adb required to transfer files using USB to the mobile device. On the mobile device, use a program as [ttps://market.android.com/details?id=org.connectbot ConnectBot] which gives you a shell on the device to run the executable.

The runtime environment is not the managed Java environment, but it runs directly on the device using the Android NDK. To develop GUI-based apps you have to build a normal Java Android App and use inter process communication, e.g. using JNI to communicate with the Ariba-based application, see the NDK sample applications.

Note: See TracWiki for help on using the wiki.