Hi Younghyun, We have done our testing on both 0.9.2RC3 and master about an hour ago. This is what we have used to build both of them: scons TARGET_OS=android TARGET_ARCH=armeabi TARGET_TRANSPORT=IP RELEASE=0 Please make sure you are connected to a WiFi network for IP stack to function properly, even if you test your client and server on the same device. Tim
From: ??? [mailto:[email protected]] Sent: Wednesday, August 19, 2015 5:07 PM To: Kourt, Tim A; ???; iotivity-dev at lists.iotivity.org Subject: Re: RE: FindResource() API Problem on Android Platform. Hi Tim we already checked sampleaplication using OC_RSRVD_WELL_KNOW_URI(/oic/res) on the 0.9.2-RC3 & master. And also it cannot find the resource. Did you checked, and Can it find the resource since this mail? Thanks Best Regards Younghyun Joo. ________________________________ Younghyun, Joo | SW Assist Engineer IoT(Internet of Things) Solution Lab., Web & Convergence Team, SoftWare Center, SAMSUNG ELECTRONICS CO., LTD. Mobile +82.10.3794.8718 E_mail yh_.joo at samsung.com<mailto:yh_.joo at samsung.com> ________________________________ ------- Original Message ------- Sender : Kourt, Tim A<tim.a.kourt at intel.com<mailto:tim.a.kourt at intel.com>> Date : 2015-08-20 08:11 (GMT+09:00) Title : RE: FindResource() API Problem on Android Platform. Hi Younghyun, Looks like the change to WELL_KNOWN_QUERY introduced with IPv6 did not make its way to 0.9.2-RC3. Quick solution: Please open simpleclient, navigate to org.iotivity.base.examples.simpleclient.SimpleClient.java, thereafter locate the following line: OcPlatform.findResource("", OcPlatform.WELL_KNOWN_QUERY+ "?rt=core.light", EnumSet.of(OcConnectivityType.CT_DEFAULT), this); And change it to: OcPlatform.findResource("",?/oic/res?rt=core.light", EnumSet.of(OcConnectivityType.CT_DEFAULT), this); The current master has the change in place. I hope it helps. Thanks, Tim From: ??? [mailto:[email protected]] Sent: Wednesday, August 19, 2015 6:20 AM To: Kourt, Tim A; iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org> Cc: ??? Subject: FindResource() API Problem on Android Platform. Hi Tim, I'm trying to test android resource sample application on 0.9.2-RC3 & master branch. But when I call the findResource() API, there isn't any response from resource server(linux). [I'm trying to execute android simpleclient project on android device, and resource server(simpleserver) is on the linux machine] I tried to check network environments and tried to change the branch, it cannot find the resource. Could you check this problem? Or Can someone tell me how to solve it? I'm looking forward your reply. Thanks Best Regards, Younghyun Joo ________________________________ Younghyun, Joo | SW Assist Engineer IoT(Internet of Things) Solution Lab., Web & Convergence Team, SoftWare Center, SAMSUNG ELECTRONICS CO., LTD. Mobile +82.10.3794.8718 E_mail yh_.joo at samsung.com<mailto:yh_.joo at samsung.com> ________________________________ [cid:image001.gif at 01D0DAA2.AF6EDDA0] [http://ext.samsung.net/mailcheck/SeenTimeChecker?do=938ced2049aed5522274e3649e716ce0e6220b0d94bcb80000dcce068ad1a82664320c49b40c78a5ce7100ee954f3d131b20909a04efd4d2748cfe1d4e847419cf878f9a26ce15a0] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150820/f685ad7b/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 13168 bytes Desc: image001.gif URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150820/f685ad7b/attachment.gif>
