Hi Maxi, I am currently on getting Java API working on Linux, but review and testing might take a while since it?s a major change in how the Java API is being built for Android as well. For now transport is only IP, no BLE.
You can find my changes here: https://gerrit.iotivity.org/gerrit/#/c/7895/, and you should be able to build and run the simpleclient and simpleserver examples, or your project as well. The API documentation should be very similar to the Android one, minus Activity or Context. However, keep in mind that some things might change and not everything has been tested thoroughly, and there?s no official documentation for how to build and run a program right now, although I can offer you help here, if you need any. -- Petre Eftime From: iotivity-dev-bounces at lists.iotivity.org [mailto:[email protected]] On Behalf Of ???(Uze Choi) Sent: Wednesday, April 27, 2016 12:14 PM To: 'Maxi Wu' <maxi.wu at u-media.com.tw>; iotivity-dev at lists.iotivity.org Subject: Re: [dev] Is it possible to port the Java(Android) API to general java application? Hi Maxi, Please check the Eftime, Petre P mail with Title as ?Re: [dev] Generic Java Bindings Feature? Visit https://gerrit.iotivity.org/gerrit/gitweb?p=iotivity.git;a=shortlog;h=refs/heads/generic-java BR, Uze Choi From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at lists.iotivity.org> [mailto:[email protected]] On Behalf Of Maxi Wu Sent: Wednesday, April 27, 2016 5:36 PM To: iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org> Subject: [dev] Is it possible to port the Java(Android) API to general java application? Hi, Java is cross-platform, but JNI uses native library. Is it possible to use this Android API like normal JAVA application? If not, How to create a Java client? Do we need to interact with iotivity cloud using CoAP? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160427/ef33f318/attachment.html>
