Since you're not using the provided application framework, what you need to
look at is not how the example applications work (because they *do* use
it), but rather how the framework itself works.
A good starting point is here:
https://github.com/ytai/ioio/blob/master/software/IOIOLibAndroid/src/main/java/ioio/lib/util/android/IOIOActivity.java
Especially pay attention to how this class interacts with
IOIOAndroidApplicationHelper, which is what eventually processes
USB-related events. You don't have to do things the exact same way, but
conceptually you'd have to have the same kind of interaction with Android.
Expect to have some learning to do and probably some trial and error in
order to cover all the corner cases of possible sequences of application
start/stop, USB connect/disconnect etc.


On Sat, Jul 9, 2016 at 10:25 PM, István Rostás <[email protected]> wrote:

> I don't know how to do it. Can you give me some orientation about it? Is
> there some missing thing to work at last?
> The existing apps don't help me, because I can't have directly none of
> activity to extend of or starting service. I would love use them, this
> would be the best way I know, as I can use the helloioio. All the three
> example app is red by me the last byte also the other stuffs but no
> solution for me.
>
>
> --
> 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 https://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 https://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to