What is your goal? Do you want to use Processing or Java going forward?

If Processing: your best bet is to try to follow the tutorial verbatim
(i.e. use the SparkFun provided libraries, do everything from within the
Processing IDE, etc.). If you have any problems, SparkFun tech support are
the address. I wasn't involved in developing the Processing stuff and my
ability to help is very limited.

If Java: a good place to start is to download the software bundle from the IOIO
Downloads page
<https://github.com/ytai/ioio/wiki/Downloads#client-software-and-ioio-application-firmware-images>.
The bundle includes some pre-compiled apps (.apk files) as well as the
source code for building them yourself. The recommended starting sequence
is:

   - Install the pre-compiled HelloIOIO.apk. Try to run it and convince
   yourself that your setup is valid as far as hardware, firmware, etc.
   - Try to build HelloIOIO.apk yourself from source. Try to run it etc.
   - Start making changes to HelloIOIO and evolve it towards your intended
   application.


On Thu, Nov 12, 2015 at 9:12 AM, Mark Manville <[email protected]>
wrote:

> Thanks for the quick response Ytai.
>
> Here are the Sikio tutorial links:
>
> https://cdn.sparkfun.com/datasheets/Kits/SIKIO%20guide%20book_webversion.pdf
>
> https://github.com/sparkfun/SIKIO/wiki
>
> This tutorial is embedded in the Processing tool. I have not had any
> success connecting the Processing code on my Nexus 7 (v4.4.2) tablet to my
> IOIO-OTG.
> However, I have had success running your info here:
> https://github.com/ytai/ioio/wiki/Building-IOIO-Applications-With-Gradle
>
> IOW, I have successfully connected my Nexus 7 tablet to my IOIO-OTG via
> Android Studio.
>
> Using Android development guide, I have a togglebutton which can turn
> on/off the LED indicator.
> http://developer.android.com/guide/topics/ui/controls/togglebutton.html
>
> Currently, I am not using CompoundButton.OnCheckedChangeListener
> <http://developer.android.com/reference/android/widget/CompoundButton.OnCheckedChangeListener.html>
>
> As you may now see, the Sparkfun sikio tutorial is now merely a reference
> guide; particularly, since I'm not using the Processing tool which renders
> all the widget calls and all the other project files differently. sikio
> making me sikio ;-p
>
> More specifically, noone can import the following dependencies:
>
> import ioio.lib.spi.*;import ioio.lib.api.*;import ioio.lib.util.*;import 
> ioio.lib.util.android.*;import ioio.lib.android.bluetooth.*;import 
> ioio.lib.impl.*;import sikio.*;import ioio.lib.android.accessory.*;import 
> ioio.lib.api.exception.*;
>
>
>
>
> *In any case, do you suggest that I
> use CompoundButton.OnCheckedChangeListener
> <http://developer.android.com/reference/android/widget/CompoundButton.OnCheckedChangeListener.html>
>  for my togglebuttons to connect to the LED colors as noted in C1
> tutorial??  *
>
>  Here is it's link:
> https://github.com/sparkfun/SIKIO/wiki/SIKIO-C1:---Tri-Color-LED
>
>
> I hope this helps to explain my issues.  And to your point, perhaps I
> should contact Sparkfun tech support but then I would think they just want
> to use the Processing tool.
>
> Thank you for your help.
> -Mark
>
> On Wednesday, November 11, 2015 at 4:19:51 PM UTC-5, Ytai wrote:
>>
>> Hey Mark,
>> I'm not very familiar with the SIKIO-related tutorials, but I'll do my
>> best to help.
>> Can you please explain more clearly what you've done, what you're trying
>> to accomplish and what are the problems you're running into?
>> A links to the tutorial you're referring to may also help.
>>
>> PS Jordan is no longer with SparkFun, but you can reach out to their tech
>> support in case we cannot resolve your matter here.
>>
>>
>> On Wed, Nov 11, 2015 at 8:58 AM, Mark Manville <[email protected]>
>> wrote:
>>
>>> Hi Ytai, Hi Jordan- I am trying to use this Quickstart tutorial in
>>> Android Studio and not Processing for my IOIO-OTG.  Issue number one is
>>> that I am unable to load the Sikio Gradle dependencies that Ytai 5.05
>>> created.  For example:
>>> dependencies {
>>>     compile 'com.github.ytai.ioio:IOIOLibAndroid:5.05'
>>>     compile 'com.github.ytai.ioio:IOIOLibAndroidBluetooth:5.05'
>>>     compile 'com.github.ytai.ioio:IOIOLibAndroidAccessory:5.05'
>>>     compile 'com.github.ytai.ioio:IOIOLibAndroidDevice:5.05'
>>> }
>>>
>>> I have successful connection with a togglebutton in AndroidStudio only.
>>> I'm trying to get the pins lined-up in SIKIO_C1.
>>>
>>> Thank you,
>>> Mark
>>>
>>> On Monday, March 24, 2014 at 4:32:37 PM UTC-4, Ytai wrote:
>>>>
>>>> Great work on that, Jordan and all who helped!
>>>> From my experience, there are *many many* users that would benefit
>>>> from this smoother learning curve into the world of IOIO and Android.
>>>> Definitely a milestone for this project. Keep up the good work!
>>>>
>>>>
>>>> On Mon, Mar 24, 2014 at 1:26 PM, Jordan McConnell <
>>>> [email protected]> wrote:
>>>>
>>>>> Hello all,
>>>>>
>>>>>
>>>>> SparkFun has just released a hardware kit based around the IOIO-OTG.
>>>>> The vision for the product is to supply a first time IOIO-OTG user with
>>>>> some basic hardware and simple examples to get their Android interacting
>>>>> with hardware as quickly as possible.
>>>>>
>>>>>
>>>>> Instead of traditional Android programming with Eclipse, we chose the
>>>>> Processing environment as we thought it would be an easier initial step to
>>>>> get into mobile programming. Drawing basic graphics and text as well as
>>>>> taking touch or text input is quite simple with Processing. Once
>>>>> comfortable there, they could move on up to the more advanced and
>>>>> traditional route for Android development or continue with Processing.
>>>>>
>>>>>
>>>>> I'm sure many here are already quite proficient with their IOIO-OTG
>>>>> and Android development, however if you would like to see more 
>>>>> information,
>>>>> here are some links from you. Maybe a friend of yours could benefit. 
>>>>> Here's
>>>>> the actual product page <https://www.sparkfun.com/products/11607>.
>>>>> Here are links to the coding examples on Github
>>>>> <https://github.com/sparkfun/SIKIO> and the WIKI
>>>>> <https://github.com/sparkfun/SIKIO/wiki> for the product and examples.
>>>>>
>>>>>
>>>>> Feel free to leave any feedback for the product here or send me an
>>>>> email directly at jordan.mcconnell –at-- sparkfun.com. I hope some
>>>>> find this product and its supporting materials useful.
>>>>>
>>>>>
>>>>> Thanks and happy tinkering,
>>>>>
>>>>> Jordan McConnell
>>>>>
>>>>> --
>>>>> 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 [email protected].
>>>>> To post to this group, send email to [email protected].
>>>>> Visit this group at http://groups.google.com/group/ioio-users.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>> --
>>> 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 [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/ioio-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/ioio-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to