Revision history [back]

click to hide/show revision 1
initial version

how to implement alljoyn in several activities of android?

Sorry the question is quite general but the case is like this...

I have 2 activities (2 layouts) that each of them have similar usage. FirstActivity (showing the devices discovered). SecondActivity (showing the chatting between device A and device B).

My question is, is it proper if 1) I use one system alljoyn library call at one Activity only and then passing the object to the another activity.

or 2) should I put each Activity have its own alljoyn library call?

If i said alljoyn library call it means this code:

static {