Run Alljoyn Daemon on Android device

asked 2014-08-07 02:36:17 -0700

congngale gravatar image

Dear all,

I have took time to read the instruction to build Alljoin for Android. I seen that we have to use adb to install alljoy-daemon onto Android device, but my Android phone was not rooted so how to install alljoyn-daemon? Do I need to root it or have other ways to make alljoin-daemon can run on Android device without root? It's really unconventional if we have to root the Android phone to use Alljoyn applications.

Thanks, Cong Nga Le

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-08-07 03:44:02 -0700

congtam gravatar image

Hi Cong,

I think you can add Alljoyn library into your android project on Eclipse, following the step "Starting a New Android Project" in https://allseenalliance.org/docs-and-downloads/documentation/guide-alljoyn-development-using-java-sdk#unique_7 . Then you connect your phone to Eclipse via a usb cable to run the application.


edit flag offensive delete publish link more


Thank Tam, I have no problem with develop and run Alljoyn application on Android Phone. Does the application can run and communicate with other without alljoyn-daemon run as background service like on my Ubuntu laptop?

congngale ( 2014-08-07 20:10:52 -0700 )edit

I just verified about run an application without alljoyn-daemon on Android Phone and it's work. Thank you.

congngale ( 2014-08-07 20:29:08 -0700 )edit

Hi Congngale, we could run an application on ubuntu laptop without starting alljoyn-daemon, couldn't we? I'm so curious. I'm working on an application in C++ on Ubuntu too, but once I want to run the application, I have to start alljoyn-daemon before. How can you do that without alljoyn-daemon? Could you show me? Thanks,

congtam ( 2014-08-08 07:55:05 -0700 )edit

answered 2014-08-08 10:24:25 -0700

congngale gravatar image

Hi congtam,

Yes, I also have the same thought as you when I switch to develop an Alljoyn application on Android. I read the instruction and it said that I have to use adb tool to run alljoyn-daemon on an Android phone and after that run the application. But I try to run my application on Android phone without alljoyn-daemon and it work, I can send messages from my application to another application( also on Android phone). I will take time to test other cases such as Android phone communicate with PC, Router or any device that I had. For now, I only can share with you that the application on Android phone can communicate with other application which also on Android phone without alljoyn-daemon.

P/s: I tested with SessionChat(with some modified in functionality) application which is the sample app in Alljoyn SDK.

Thanks Cong Nga Le

edit flag offensive delete publish link more


Hi Cong Nga Le, I know Alljoyn application can run on android phone without the necessary of alljoyn-daemon. What I want to ask that how we can do that within Linux system? Many thanks,

congtam ( 2014-08-09 08:12:42 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-08-07 02:36:17 -0700

Seen: 607 times

Last updated: Aug 08 '14