Hi Todd, After you have done your normal IoTivity build, you should be able to add the following lines into your <IoTivity>/android/android_api/gradle.properties file:
TARGET_ARCH=armeabi RELEASE=release SECURED=1 Note: modify the values accordingly Thereafter, you should be able to run the tests as you would usually do in Android studio. Thanks, Tim From: iotivity-dev-bounces at lists.iotivity.org [mailto:[email protected]] On Behalf Of Malsbary, Todd Sent: Thursday, May 19, 2016 1:05 PM To: Morrow, Joseph L <joseph.l.morrow at intel.com>; iotivity-dev at lists.iotivity.org Subject: Re: [dev] support for byte string in C++ APIs How do I run the unit tests for android? I added the necessary JNI and test code to the existing patch and would like to verify before pushing it up. Thanks, -Todd From: Morrow, Joseph L Sent: Wednesday, May 18, 2016 3:47 PM To: Malsbary, Todd <todd.malsbary at intel.com<mailto:todd.malsbary at intel.com>>; iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org> Subject: RE: support for byte string in C++ APIs Hi Todd, I believe this changeset tried to fix this, but it was hung up on a build error on the Android platform. https://gerrit.iotivity.org/gerrit/#/c/7937/ I hope someone will be able to close out the Android issue and this solution can be accepted into IoTivity C++ SDK. Thanks, Joey Morrow From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at lists.iotivity.org> [mailto:[email protected]] On Behalf Of Malsbary, Todd Sent: Wednesday, May 18, 2016 3:38 PM To: iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org> Subject: [dev] support for byte string in C++ APIs Hello, Does the C++ API support byte strings? I see in the C API OCRepPayload{Set,Get}PropByteString() functions but I don't see the equivalent in OCRepresentation. Thanks, -Todd -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160519/9ba0ed4a/attachment.html>
