1

Onboarding : linux java onboarder and android onboardee

asked 2015-12-11 03:13:19 -0700

vincenzo_pellegrini gravatar image

Hi all,

I'm interesting in developing an application that are able to onboard another devices. I decided to use the Raspberry PI 2 as onboarder and an Android phone as a onboardee beacuse in alljoyn libs there is an onboardee app and at moment i don't have a smart plug

I read the https://allseenalliance.org/framework... and i'm able to build in c,cpp and java.

But at end of building i think i should have the following jars:

alljoyn.jar
alljoyn_about.jar
alljoyn_onboarding.jar
alljoyn_onboarding_sdk.jar

the building ends without errors but i don't find those jars. Can you help me? here the steps to build:

$ sudo apt-get install build-essential
$ sudo apt-get install maven
$ sudo apt-get install scons
$ sudo apt-get install git
$ sudo apt-get install curl
$ sudo apt-get install openssl
$ sudo apt-get install libssl-dev
$ sudo apt-get install libjson0
$ sudo apt-get install libjson0-dev
$ sudo apt-get install libcap-dev
$ sudo apt-get install mono-runtime
$ sudo apt-get install mono-gmcs

JAVA:  set Java to oracle-java7-jdk 
sudo apt-get install oracle-java7-jdk
export JAVA_HOME="/usr/lib/jvm/jdk-7-oracle-armhf"

$ mkdir ~/Downloads
$ cd ~/Downloads
$ wget https://mirrors.kernel.org/allseenalliance/alljoyn/14.06.00/alljoyn-14.06.00-src.tar.gz
$ cd ~/WORKING_DIRECTORY
$ tar -zxvf ~/Downloads/alljoyn-14.06.00-src.tar.gz
$ cd ~/WORKING_DIRECTORY/ alljoyn-14.06.00-src
$ export AJ_ROOT=$(pwd)
$ scons OS=linux CPU=arm OE_BASE=/usr BINDINGS=java BT=off ICE=off WS=off SERVICES="about,notification,controlpanel,config,onboarding,sample_apps" CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-

tnx

edit retag flag offensive close merge delete

Comments

you should ask on the core mailing list: https://lists.allseenalliance.org/mailman/listinfo/allseen-core

ry.jones ( 2015-12-15 07:18:51 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-12-15 13:09:34 -0700

praveenb gravatar image

The steps that you mentioned above will only build the following:

  • C++ libraries / binaries of AllJoyn Core
  • Java libraries of AllJoyn Core
  • C++ libraries / binaries of Base Services

To generate alljoyn_onboarding.jar and alljoyn_onboarding_sdk.jar, one additional step of invoking Ant is necessary (SCons doesn't currently generate Java jars for Base Services). You can follow the build recipe used by Jenkins Continuous Integration to generate Onboarding jars here.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-12-11 03:13:19 -0700

Seen: 67 times

Last updated: Dec 15 '15