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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160510/53d682ba/attachment.html>

Reply via email to