I have been using the Alljoyn ON and ControlPanelBrowser android apps for testing purposes while hooking up various devices to Arduino Yun and programming them using Alljoyn.js
For some reason when I run two or more different alljoyn scripts on the same Arduino board, Alljoyn ON only opens the latest one being ran and closes the previous one, while on the ControlPanelBrowser they all show up. Why is this happening? The only way i was able to get two of them show in Alljoyn ON was when i added one in rc.local and then manually ran the second one and even if i add both of them in rc.local such as:
alljoynjs --name "SampleApp1" /usr/share/alljoyn.js/sampleApp1.js &
alljoynjs --name "SampleApp2" /usr/share/alljoyn.js/sampleApp2.js &
only one of the will show up in Alljoyn ON and both of them in ControlPanelBrowser.
I would not mind using the ControlPanelBrowser for testing but its problem is that it crashes every time i go back into main activity and try to render widgets of a different device. I get the following error:
"Unfortunately ControlPanelBrowser has stopped". Why does it crash, this is never the case with the Alljoyn ON?