Jee Hyeok Kim,
Thanks, that is good news. I am wondering, I could do JNI in one direction Java code -> javah-> .h -> implement.c -> LoadLibrary() Does Iotivity team go the other way around like C -> shared lib files -> wrapper -> LoadLibrary() ? If that is the case, how do you do it? With SWIG tool? From: Jee Hyeok Kim [mailto:[email protected]] Sent: Thursday, May 12, 2016 7:19 PM To: Maxi Wu; iotivity-dev at lists.iotivity.org Subject: Re: [dev] looking for generic Java API for cloud Hi Maxi Wu, We implemented java cloud client API using iotivity Java API and worked under android. We'll release those samples soon. Best Regards JK ------- Original Message ------- Sender : Maxi Wu<maxi.wu at u-media.com.tw> Date : 2016-05-10 20:05 (GMT+09:00) Title : [dev] looking for generic Java API for cloud Hi everyone, I realize that my previous generic Java support question may be not clear. I?ve just found out that there is two types of client, one for device to device, and another related to cloud. Device to device: /out/linux/ARCH/release/resources/example/simpleclient Cloud: /out/linux/ARCH/release/cloud/samples/client/ What I want is to connect to iotivity cloud with generic Java, which should be the second one. Looks like [IOT-1089] java binding is for device to device, which I do not see OAuth involve. I?ve look at the C version cloud client source code /cloud/samples/client/sample_device.cpp There is method like OCDoResource(), where could I find the JNI wrapper source code? I want to read that wrapper and figure out what method to use in order to achieve OAuth login. Does anyone know? thank you, Maxi Wu | Jee Hyeok, Kim | IoT Solution Lab, SW Center | Mobile) +82-10-9168-3641 | <http://ext.samsung.net/mailcheck/SeenTimeChecker?do=c4532843a6c0966f3ee6c174a1aff19db95024edd03faaac0b7132fc79196e2098a7aeedb3293f79b064c1a1f0db63a175da25ab1315bec1db9fdddda33e82cbe4a391424e62fcf6cf878f9a26ce15a0> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160512/0ac77422/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 13168 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160512/0ac77422/attachment.gif>
