IOIO Quick Start Project

248 views
Skip to first unread message

Travis Wyatt

unread,
Aug 29, 2014, 3:30:26 AM8/29/14
to ioio-...@googlegroups.com
Hello all,

For those who are interested, I created a project that makes getting up and running with a IOIO application a quick (and hopefully easy) process.


The project uses Gradle to configure dependencies and the IOIO library is packaged with the project to make the process as quick as possible. The structure of the project is such that it can be deployed quickly to either Android or Console (with common code residing in a "core" project). I found this to be particularly useful to quickly test implementations in the Console and be able to later switch over to running on Android.

Hope it is as useful to others as it has been for me.

...and thanks Ytai for all your hard work on the IOIO!

-Travis

heikki...@kolumbus.fi

unread,
Aug 29, 2014, 5:53:25 AM8/29/14
to ioio-...@googlegroups.com
Hi !
Thanks for this work ! Can I ask how you did it, using Android Studio ?
I am trying to use IOIO with Android Studio and was looking IOIO-libraries in JAR-format and here they are !
I have made "File Import Project" from Eclipse project HelloIOIO, and this creates HelloIOIO-porject with all the IOIO-library source code inside. This nearly worked but I cannot get verified it anymore (because my IOIO board got damaged in firmware upgrade process)
I will test these JAR-libraries as soon as I get new IOIO board.

Travis Wyatt

unread,
Aug 31, 2014, 12:59:43 AM8/31/14
to ioio-...@googlegroups.com
I created the JARs using Eclipse by importing the IOIO project. The IOIO Android projects automatically generated their corresponding JARs so I just copied those. Then to get the libioiopc.jar I simply exported the IOIOLibPC project. I exported twice, once with only "src_common" for the libioiocommon.jar and another time with just the "src" for libioiopc.jar.

heikki...@kolumbus.fi

unread,
Sep 9, 2014, 11:59:23 AM9/9/14
to ioio-...@googlegroups.com
Hi !
I opened this project with Android Studio, it compiles and runs fine !
But, my problem is that this project is compiled with IOIO version 5. Since the IOIO boards are shipped with version 3 firmware, when connecting it gives "version incompatibility" and naturally does not work.
So could you please make this project also using version 3 IOIOLib ?
I know I could do firmware upgrade to V5 on my board, but because my previous upgrade attempt
damaged the board (made it unusable), I would not like to damage my new V3 board again !

Ytai Ben-Tsvi

unread,
Sep 9, 2014, 3:49:37 PM9/9/14
to ioio-...@googlegroups.com
Thanks for sharing that!
@Heikki It is very very (very) unlikely that the upgrade process itself made your IOIO unusable. The bootloader resides in a protected flash area, so it should be impossible to corrupt. Just putting it out there so that other people reading this don't get the impression that the upgrade process is risk in any way. I answered your specific issue on the other thread you're on, and I believe the damage to your board just happened to occur at the same time as your upgrade attempt and not a direct result of upgrading.

--
You received this message because you are subscribed to the Google Groups "ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ioio-users+...@googlegroups.com.
To post to this group, send email to ioio-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Marouane M

unread,
Jan 31, 2015, 12:58:24 PM1/31/15
to ioio-...@googlegroups.com

I downlaoded App-IOIO05045 but I do not have a .jar file from IOIOLibAccessory.
I tried to download yours(ioiolibaccessory.jar) from your ioioquickstart on github but when I do the make in Androidstudio i get this error:
error: error reading C:\Users\User\AndroidStudioProjects\Robot2\app\libs\ioiolibaccessory.jar; error in opening zip file

Do you know how i can get the ioiolibaccessory.jar from App-IOIO05045 without installing ecipse.

Ytai Ben-Tsvi

unread,
Feb 1, 2015, 1:41:30 AM2/1/15
to ioio-...@googlegroups.com
Just a wild guess: people often forget to click the "raw" link when downloading files from Github, resulting in your ".jar" file actually containing HTML or something.

--

Travis Wyatt

unread,
Feb 1, 2015, 1:44:41 AM2/1/15
to ioio-...@googlegroups.com
Ya, as Ytai mentioned, you should first confirm that the JAR is a valid zip file by opening it in a Zip utility such as 7zip and make sure you can browse the files in it.

You received this message because you are subscribed to a topic in the Google Groups "ioio-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ioio-users/Hvu4brtfShI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ioio-users+...@googlegroups.com.

Marouane M

unread,
Feb 1, 2015, 7:32:01 AM2/1/15
to ioio-...@googlegroups.com
Thank, I downloaded the whole project and then took the jar from there and it worked.

Thanos Fisherman

unread,
Feb 1, 2015, 8:33:02 PM2/1/15
to ioio-...@googlegroups.com
I did pretty much the same thing with ioio libs a while ago and made a pull request to Ytai's repo. check out this thread. Also for anyone new to ioio (like me) who has purchased the "sparkfun inventor kit for ioio" and doesn't wanna mess with processing ide that they recommend, here are the sparkfun examples ported to android studio along with the ioio libs
Reply all
Reply to author
Forward
0 new messages