1

Testing Alljoyn on android emulator

asked 2014-04-20 09:29:19 -0700

Elsa gravatar image

Alljoyn looks like the best technology for my project. I have downloaded the SDK for android and run the chat sample. My challenge is how do I test the sample on the emulator? I have read from the forums that you can run multiple instances of an app on the same emulator. How do I achieve this? Also is it possible to communicate between two emulators using Alljoyn...since I read a solution had been found for this scenario.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-04-21 11:25:27 -0700

bspencer gravatar image

It is not possible for Android emulators to talk to each other. You can run the two or more applications on the emulator, but you would need to have a different package name in the manifest to have two instances of the same applications running. What I do is use a tablet and handset and test/debug with these two devices. I have also written a test app specific for my needs in C++ that implements the same AllJoyn interface (or modify an AllJoyn Service Framework sample) to unit test from my computer to application on my handset that I am developing.

edit flag offensive delete publish link more

Comments

@bspencer,.... i have similar case..... regarding android alljoyn... could you help me out? https://ask.allseenalliance.org/question/661/how-to-discover-available-devices-around-us-and-put-it-into-listviewandroid/

gumuruh ( 2014-06-22 20:43:39 -0700 )edit

The question from @gumuruh has been answered

bspencer ( 2014-07-10 10:17:32 -0700 )edit

@Elsa, if you feel my answer is correct can you please mark it as such?

bspencer ( 2014-07-10 10:18:10 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-04-20 09:29:19 -0700

Seen: 289 times

Last updated: Apr 21 '14