blepdroid icon indicating copy to clipboard operation
blepdroid copied to clipboard

Could you include this library into Libraries section of official Processing Contribution Manager?

Open q2dg opened this issue 9 years ago • 5 comments

This would give a lot more visibility to this fantastic project, I think. Thanks

q2dg avatar Aug 26 '16 22:08 q2dg

project seems grate, but I was unable to convert it for use in Processing. perhaps you could give us a little more of a detailed explanation on how to include it in Processing. (steps, and for newer versions of Android Studio and Processing) Thanks

darfij avatar Sep 26 '16 11:09 darfij

Yes, of course! All relevant information is here: https://github.com/processing/processing/wiki/Library-Basics and here https://github.com/processing/processing/wiki/Library-Guidelines

q2dg avatar Oct 26 '16 02:10 q2dg

Thanks for the links and help It is for sure only me, but I moved only a little. I am able to get a library template working in processing, no problem, I cant add your library to the template. No matter how/where I import your library and include the .jar s I cant get a error free ant run. I can not find any instructions on adding additional parts to a working template except for the: "simply add your library to the template" any additional pointers/help you could offer?

thanks

darfij avatar Nov 04 '16 18:11 darfij

Sorry, I haven't the required skills to answer this question. Maybe a better place could be official Processing forum: https://forum.processing.org/two/categories/create-announce-libraries

q2dg avatar Nov 06 '16 14:11 q2dg

Thank you for the pointer, could not find anything really straightforward there, so i`l just continue trying.

I did make some progress in the meantime. I was able to combine your library into the template android library in eclipse. what I did, once I had the template building o.k. was: -import the contents of your src folder in to the template src -import the contents of your examples folder in to the template example folder (overwriting hello) -add android-support-v4.jar from the android sdk to the project lib folder -add android-support-v4.jar to the project java build path

this is then building without errors and produces the processing libraries in the right folders with examples and all. Processing will compile the example .pde and upload it to my android device, but immediately terminates with java.lang.NoClassDefFoundError: blepdroid.BlepdroidAdapter$2 error.

Hopefully this can help others to get a bit further and get it working.

darfij avatar Nov 06 '16 23:11 darfij