Ytai thanks,
In my usual Java software when I have a lengthy calculation I use 
SwingWorker where I override doInBackground. I suspect swing doesn't exist 
in android, or at least isn't used. Android is a different mind set, and 
one which I am not yet used to.
I looked in Git for the source code for IOIOActivity, but I didn't find it, 
probably because I don't know exactly where to look. In any case it sounds 
like a great idea to look at the source code so I can see up front the 
proper way to do things, and which calls are used. I suspect that it should 
be no big problem to bring across the main activity object so I can use 
runOnUIThread.

I'm not sure that I really need a 100% guarantee that the IOIO connection 
will be kept alive. As long as it comes back in 0.5 second or so, I can 
live with it.

First I want to see how your code handles start and stop, so I know I am 
doing something similar. If I follow your way of doing things, I am 
confident that it will be correct. If you can give me a link to the 
implementation of IOIOActivity it would be a big help.

Thanks,
Ilan

-- 
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