alljoyn_routerinit() not found in liballjoyn_c.so(alljoyn-15.04.00a-android-sdk-rel, C)

asked 2015-08-12 01:54:41 -0700

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hello, I want to used the C SDK in Android.I downed the sdk alljoyn-15.04.00a-android-sdk-rel. In "alljoyn-android\core\alljoyn-15.04.00a-rel\c\lib", I found "liballjoyn_c.a" and "liballjoyn_c.so", and I only used "liballjoyn_c.so" in my project. But I found function alljoyn_routerinit() not found in the library. My ask is: 1) Could I only used "liballjoyn_c.so" in my project? 2) Is Alljoyn Android C SDK contain alljoyn_router? 3) If it contain alljoyn_router, how to using it?

edit retag flag offensive close merge delete


you might try on the core mailing list. https://lists.allseenalliance.org/mailman/listinfo/allseen-core

ry.jones ( 2015-08-12 11:27:11 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-01 02:40:29 -0700

praveenb gravatar image

As can be seen from source code, alljoyn_routerinit is #defined as AllJoynRouterInit.

To be able to use alljoyn_routerinit, you would need a library that can provide AllJoynRouterInit. On Android, you should be able to use liballjoyn_java.so which provides this function.

Hence, in addition to including liballjoyn_c.so, you should also include liballjoyn_java.so in your project.

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

Question Tools

1 follower


Asked: 2015-08-12 01:54:41 -0700

Seen: 58 times

Last updated: Sep 01 '15