[dev] Android API examples not working

2015-06-15 Thread Xin Li
already run. Can someone please tell me how to make the android application simpleclient find simpleserver? FYI: I have already added the .aar file in the application as libs. Thank you very much. Xin Li -- next part -- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150615/795d31d4/attachment.html>

[dev] HashTag: FixMe

2015-06-15 Thread Morrow, Joseph L
Hi All, When throwing patches into emails, please add it as an attachment. It will be much more readable & quicker to understand your proposed solutions. The patch will be able to viewed in people's favorite diff viewers. Thanks, Joey -Original Message- From: iotivity-dev-bounces at

[dev] HashTag: FixMe

2015-06-15 Thread Jon A. Cruz
On 06/15/2015 01:08 PM, Rees, Kevron wrote: > Attached is the full patch. It's a nasty nasty hack but it may > illustrate just what a person has to do to build without gtest, > hippomocks and to check if cereal is already installed on the OS > before trying to download it. > > I'd love to discu

[dev] Missing symbol pthread_condattr_setclock on Android

2015-06-15 Thread Iovene, Salvatore
Thanks, upgrading to API level 21 did fix that particular problem. Btw, can you advise on which of the libraries I need to load, and in what order? I tried this: static { Log.d(TAG, "Loading native libraries..."); System.loadLibrary("connectivity_abstraction"); System.

[dev] HashTag: FixMe

2015-06-15 Thread Rees, Kevron
disabled. >>> >> Why do I want the option to disable the unit tests? This is a valid >> question. As a user I don't care about the unit tests. I don't want >> to have to build or install gtest or hippomocks in order to build what >> I do care about: iotivity. >> >> I know a lot of open source projects that do unit testing. I can't >> think of any that force me to build them/run them as a user. >> >>> -- >>> Jon A. Cruz - Senior Open Source Developer Samsung Open Source Group >>> jonc at osg.samsung.com ___ >>> iotivity-dev mailing list >>> iotivity-dev at lists.iotivity.org >>> https://lists.iotivity.org/mailman/listinfo/iotivity-dev > ___ > iotivity-dev mailing list > iotivity-dev at lists.iotivity.org > https://lists.iotivity.org/mailman/listinfo/iotivity-dev -- next part -- A non-text attachment was scrubbed... Name: cereal-use-dist.patch Type: text/x-patch Size: 7840 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150615/a0c17d8e/attachment.bin>

[dev] HashTag: FixMe

2015-06-15 Thread Rees, Kevron
While on the topic of dependencies. The build should check whether the OS has the dependency installed first before downloading it. I used the following patch for cereal: diff --git a/extlibs/cereal/SConscript b/extlibs/cereal/SConscript index 946a483..cfe54fd 100644 --- a/extlibs/cereal/SConscr

[dev] HashTag: FixMe

2015-06-15 Thread Rees, Kevron
On Mon, Jun 15, 2015 at 11:23 AM, Jon A. Cruz wrote: > On 06/15/2015 11:10 AM, Rees, Kevron wrote: >> Whether or not they are enabled by default is a different issue. I >> don't care if they are enabled by default. I only care that I can >> disable them. Currently I can't disable them from bein

[dev] HashTag: FixMe

2015-06-15 Thread Jon A. Cruz
On 06/15/2015 11:10 AM, Rees, Kevron wrote: > Whether or not they are enabled by default is a different issue. I > don't care if they are enabled by default. I only care that I can > disable them. Currently I can't disable them from being built. This > means that I cannot avoid the extra depend

[dev] HashTag: FixMe

2015-06-15 Thread Jon A. Cruz
That, of course, is a very different issue. My point was to answer why something that isn't executed would be built anyway. On 06/15/2015 11:10 AM, Rees, Kevron wrote: > Whether or not they are enabled by default is a different issue. I > don't care if they are enabled by default. I only care

[dev] HashTag: FixMe

2015-06-15 Thread Rees, Kevron
Whether or not they are enabled by default is a different issue. I don't care if they are enabled by default. I only care that I can disable them. Currently I can't disable them from being built. This means that I cannot avoid the extra dependencies the tests bring in. To work around this, I ha

[dev] Missing symbol pthread_condattr_setclock on Android

2015-06-15 Thread Thiago Macieira
On Monday 15 June 2015 14:45:42 Iovene, Salvatore wrote: > upgrading to API level 21 did fix that particular problem. Btw, can > you advise on which of the libraries I need to load, and in what > order? Asked another way: when are we going to fix our libraries according to prior discussion? We s