There are various ways to do this. Once of the simpler ones is to have some communication mechanism between the UI thread and the IOIO thread, such as a shared variable holding the file object, or null if nothing is to be sent. You can then use Java's wait/notify to synchronize the threads, e.g. the main thread would write to the variable, then notify, and the IOIO thread will block on wait until the variable is not null.
Hlo everyone I'm in need of help. I've a file which has to be output through ioio pins. Main problem lies in fact that I can't connect my file out strem for button activity with IoIo looper class. so if anybody have some reference or suggestion plz feel free to share. Really need some help being struck at this point for about 4-5 days. Thanks all.
--
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 https://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.