Unsuccessful at running IOIOSimpleApp

48 views
Skip to first unread message

Jacky Wong

unread,
Jan 13, 2014, 5:55:57 AM1/13/14
to ioio-...@googlegroups.com
Hi all,

I want make IOIO-otg working as Android device, and I running IOIOSimpleApp in my phone, when I plug in the IOIO board, a dialog is shown "Open IOIOSimpleApp when connecting this USB device". But after clicking the dialog, the Led OFF button and the bar are always disable.
Thanks in advance for your help and let me know if you need any other information from my side.

Thanks,
Jacky

Ytai Ben-Tsvi

unread,
Jan 13, 2014, 11:56:35 AM1/13/14
to ioio-...@googlegroups.com
Look at logcat. My bet is that you have incompatible versions of IOIOLib and the firmware. If that's the case, you'll need to either upgrade the firmware or downgrade the software.


--
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/groups/opt_out.

Dirk

unread,
Jan 16, 2014, 3:47:37 AM1/16/14
to ioio-...@googlegroups.com

Hi all,

I made an update to Version 5.00 (IOIO firmware and all IOIO-Libs in Eclipse). With “IOIO Hardware Tester” from Google Play Store the IOIO works fine using Bluetooth or USB.
The IOIOSimpleApp as it is in the 5.00 bundle works fine with USB, but does not connect with Bluetooth.
I definitely linked the new IOIOLibBT with it and made sure that only Version 5 Libs are used at all.

Are there any ideas, what could be wrong?

Thanks a lot for advices in advance!

Ytai Ben-Tsvi

unread,
Jan 16, 2014, 11:43:53 AM1/16/14
to ioio-...@googlegroups.com
What about the precompiled IOIOSimpleApp?


--

Dirk

unread,
Jan 16, 2014, 7:05:34 PM1/16/14
to ioio-...@googlegroups.com

Hi Ytai,

Thanks for your answer. I compiled the IOIOsimpleApp to check my eclipse environment with the new 5.00 libs.

I just tried the precompiled version and it works, what was not too surprising. I was nearly sure it would. But as long as I don’t know, what could be wrong, I suppose my own apps will probably fail using Bluetooth, too. Is there any typical mistake, I could have made? (Anything works except Bluetooth, but IOIOlibBT is linked and everything in eclipse looks well, no warnings or something like this) Thanks for ideas!
By the way, I used for all libs and the IOIOsimpleApp android 4.03.
Screenshot from IOIOsimpleApp project:


Ytai Ben-Tsvi

unread,
Jan 16, 2014, 8:25:39 PM1/16/14
to ioio-...@googlegroups.com
Are you using the latest build tools? I have recently moved the app permissions into the library manifests, which is a pretty recent feature in the build system IIRC.
Otherwise, can you look at the logs and see if there's anything suspicious there? Or debug your app step-by-step and see where it gets hung around BluetoothIOIOConnection?


--

Dirk

unread,
Jan 18, 2014, 5:25:44 AM1/18/14
to ioio-...@googlegroups.com

Hi Ytai,

Thanks for your advice and spending your time with such simple problems. Your hint concerning Bluetooth rights brought me on the right track and the problem is fixed now. The mistake was the not checked “is Library” box at the eclipse android form. This checkbox seems to be somehow connected with merging rights and resources from the libraries into the project, as far as I understood this:  http://devmaze.wordpress.com/2011/05/22/android-application-android-libraries-and-jar-libraries/

However, everything works fine now. Thanks a lot!

Reply all
Reply to author
Forward
0 new messages