Hello,
I have met some problems with android-api in Iotivity 0.9.1.
1, in the BuildInstructionsForAndroidAPI.txt file, it says there are 9 .so
files inside the <iotivity>/android/android-api/base/libs/<TARGET_ARCH>
directory, but I only found 7 .so files.
2, in the simpleclient android application example, in the
SimpleClient.java file, in the initOICStack() function, there is one line
"OcPlatform.findResource("",OcPlatform.WELL_KNOWN_QUERY + "?rt=" +
"core.light", OcConnectivityType.WIFI, this);" but "WIFI" is not defined in
OcConnectivityType.
3, After changing the code to
"OcPlatform.findResource("",OcPlatform.WELL_KNOWN_QUERY + "?rt=" +
"core.light", OcConnectivityType.ALL, this);", the simpleclient android
application can still not find resource when the simpleserver android
application is already run.
Can someone please tell me how to make the android application simpleclient
find simpleserver?
FYI: I have already added the .aar file in the application as libs.
Thank you very much.
Xin Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150615/795d31d4/attachment.html>