Android to Linux communication problems

asked 2014-08-11 05:16:29 -0700

tashi gravatar image

updated 2014-08-11 13:09:27 -0700

bspencer gravatar image

I have been trying to communicate controllee application running on linux with Controller application running on android. But unfortunately not working.

Steps On Linux -

  1. cd /home/rajesh/alljoyn/alljoyn-suite-14.06.00_beta-src/core/alljoyn/build/linux/x86_64/debug/dist
  2. Set the LD_LIBRARY_PATH:

    export LD_LIBRARY_PATH=pwd/cpp/lib:pwd/about/lib:pwd/cpp/lib/:pwd/config/lib/:pwd/notification/lib/:pwd/onboarding/lib/:pwd/services_common/lib/:pwd/controlpanel/lib/

  3. cd /home/rajesh/alljoyn/alljoyn-suite-14.06.00_beta-src/core/alljoyn/build/linux/x86_64/debug/dist/cpp/bin

  4. ./alljoyn-daemon &
  5. cd /home/rajesh/alljoyn/alljoyn-suite-14.06.00_beta-src/core/alljoyn/build/linux/x86_64/debug/dist/controlpanel/bin/
  6. ./ControlPanelSample

On Android - run ControlPanelBrowser.apk Please help !!!!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-08-11 21:29:10 -0700

tashi gravatar image

updated 2014-08-11 21:29:39 -0700

Its working now..Actually issue was firewall.. Firewall blocking packets. ..Thanks though..

edit flag offensive delete publish link more

answered 2014-08-11 13:10:47 -0700

bspencer gravatar image

updated 2014-08-11 13:11:59 -0700

The issue most likely is that the Linux machine and the Android device are not connected to the same network subnet. This is a requirement in order to be able to discover. Please also check that the network you are using has multi-cast enabled.

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

Question Tools

1 follower


Asked: 2014-08-11 05:16:29 -0700

Seen: 97 times

Last updated: Aug 11 '14