[dev] DeviceDiscoveryServer crashes in Android

2016-08-17 Thread Sachs, Larry J
] DeviceDiscoveryServer crashes in Android Hi Gregg, Thanks for this important tip that the Java OcDeviceInfo class [1] is out-of-date in comparison with its counterpart OCDeviceInfo struct [2] in the C SDK, no wonder those uninitialized attributes in the OCDeviceInfo struct may cause core dumps

[dev] DeviceDiscoveryServer crashes in Android

2016-08-17 Thread Tonny Tzeng
Hi Gregg, Thanks for this important tip that the Java OcDeviceInfo class [1] is out-of-date in comparison with its counterpart OCDeviceInfo struct [2] in the C SDK, no wonder those uninitialized attributes in the OCDeviceInfo struct may cause core dumps. Very appreciated your below workaround, hop

[dev] DeviceDiscoveryServer crashes in Android

2016-08-17 Thread Tonny Tzeng
Hi, Does anyone successfully run the devicediscoveryserver example code in Android? it always crashes on my x86 tablet with the following stack trace, and it looks to me the abort was caused by calling OcPlatform. registerDeviceInfo(),so I am wondering whether there already has a fix for it? Any p