![]() | Greetings |
|
23 Aug 2012, 02:48
Daniel Sauter (39 posts) |
Hi, welcome to the forum for Rapid Android Development: Build Rich, Sensor-Based Applications with Processing. Feel free to add a new topic concerning a particular chapter or topic. I’ll try to answer your questions and respond to your comments, if I can. If you find an issue or would like to submit a correction, please post it to the erraga page:http://pragprog.com/titles/dsproc/errata If you are using the Ketai library and expand your code beyond the demos in this book, and encounter an issue there, please post it to the issue forum Google Code:https://code.google.com/p/ketai/issues/list Happy posting… |
|
23 Aug 2012, 13:09
Chang Sau Sheong (1 post) |
Hi I just bought the book, looks great so far! I’m not a Processing developer nor an Android developer but have been programming on various platforms for quite a while. I think Processing on Android is very promising! Wanted to ask a question—in your book, you mentioned that Android 4 ICS is needed and newer versions are also ok. However on the http://wiki.processing.org/w/Android#Instructions site, it is mentioned that only Android 2.3.3 is supported without any mention of ICS? |
|
01 Sep 2012, 19:34
Daniel Sauter (39 posts) |
Hi Chang, The reason for the book and the Ketai library to require ICS is that it uses advanced features brought introduced in ICS, such as NFC Beam, but also an updated approach to using the device camera, face recognition, etc. Best, |
|
10 Sep 2012, 03:45
Scott Little (1 post) |
Hi Daniel, I would like to second Chang’s compliment. Soon I think people will realize how easy it is to program an Android phone, especially those coming from a Arduino background like myself. Thanks! I was recently going through the examples on the book when I got stuck at the Ketai part, like Chang above. I installed the Ketai library (manually), but I believe processing is still trying to target Android 2.3.3 (API 10). I installed Android 4.0.3 (API 15) from the SDK manager, but am getting an error when I try to build/run the program. It says “Error from inside the Android tools, check the console.” When I try to run the programs not using the Ketai library, it still works. Just as a background, I am using an HTC EVO 3d with Android 4.0.3, Windows 7 (64 bit), Processing 2.08a (64 bit), JDK 1.7 Rev 7 (64 bit), Android Tools 20.0.3. Would you be willing to provide the versions of everything you were using for reproducibility? Do you have any suggestions or specific instructions on how to make this work? I looked in the processing forums and someone said that the only way they were able to change the target API was by rebuilding the Processing IDE itself. I’m a little uneasy doing this because I’m sure that I’ll create more problems if I go down this road. I would be happy to correspond and troubleshoot this with you too, if you are willing. Regards, Update 9/9/2012 (2 pm CT): I noticed that the Ketai library was not available from the Processing library repository. Update 9/9/2012 (9 pm CT): Problem solved. After much digression with Java versions, environment variables, the Android SDK (which should be in a location that does not need superuser/admin access permission, by the way), etc., I finally figured it out. I exported the project to Eclipse (which I was very hesitant to do because of how intimidating the Processing for Android wiki had made that sound) and it was able to tell me right away what was wrong: I had spelled “background” wrong. I entered in the code by hand from the book, so I made the mistake. When building in Processing it kept telling me the problem was in Android tools, but I did/do not know of any way to look at the specific errors created when using Processing. Do you know, by chance? It would be great to not export every sketch to Eclipse when I have a problem. On the other hand, I learned how to run Processing sketches in Eclipse – which was not that bad considering that I’ve only used Eclipse a couple of times before to run “Hello Android” type programs. |
|
12 Sep 2012, 22:41
Daniel Sauter (39 posts) |
Hi Scott, - the code highlighting feature in the Processing IDE can help catch a first level of typos as all core methods turn green when you type them correctly (or orange in the Java mode). Otherwise “Cannot find symbol” is the next level of feedback in the Console There is nothing wrong with Exporting your project to to Eclipse, Processing folks have done a great job with this feature, so everything get’s packaged in a way that is immediately executable within Eclipse. I’ll add this info to the next beta book and a a few common error messages to the appendix for the book. I appreciate your detailed comment. |
|
13 Sep 2012, 13:40
Shaocong Zhou (1 post) |
Hi, Daniel, I want to say thanks to you for your great work on Ketai! I found it very very helpful. |
|
14 Sep 2012, 02:20
Greg MacLaughlin (4 posts) |
Hey Daniel, Wanted to reiteriate the praise, the Ketai Library simply rocks! Those trying to get Processing to play nice with Android might find AK Erics tutorial immeasurably helpful. I used it to set up all the Android stuff… http://www.akeric.com/blog/?p=1250 Cheers, |
|
15 Sep 2012, 00:16
Daniel Sauter (39 posts) |
Thank you all for your positive comments on Ketai. Based on your comments and suggestions in this forum, we are working on v8, hoping to release the first week of October. Best, |
|
17 Sep 2012, 07:10
Olaf Heddergott (11 posts) |
Hi Daniel, I bought the book to. It looks like very helpful. Can you add a section to the book where messages like The book and the library are great work. |
|
24 Sep 2012, 21:11
Daniel Sauter (39 posts) |
Hi Olaf, |
|
27 Sep 2012, 14:11
Olaf Heddergott (11 posts) |
Hi Daniel, Best regards |
|
05 Oct 2012, 21:58
Ben Meek (2 posts) |
Just want to say thanks for the book – I discovered processing about 3 days ago, processing.js 2 days ago and then android mode yesterday. Already in love with it’s simplicity and flexibility! |
|
16 Oct 2012, 11:01
Daniel Sauter (39 posts) |
Thanks everyone for the great feedback. Revisions are coming to an end, so get get ready for the final chapter and revisions this week. Best, |
|
12 Dec 2012, 00:30
Greg MacLaughlin (4 posts) |
Daniel you rock!!! vs 8 of Ketai supporting Gingerbread… I am so so thankful to you for putting in the extra effort to make ketai backwards compatible for Androids quickly changing os development. This book is a FANTASTIC resource, Merry Christmas! |
|
19 Mar 2013, 20:02
Daniel Sauter (39 posts) |
Thanks y’all, Keep track of future releases @KetaiLibrary https://twitter.com/KetaiLibrary Best, |
| You must be logged in to comment |

