You can copy IOIOActivity into your activity (instead of extending it) and make some modifications. For example, start a TimerTask with the desired timeout in onStart(), when you're calling the IOIOApplicationHelper's start(), which called stop() on the Helper. Cancel this task when setup() is entered.
On Thu, Jan 2, 2014 at 7:44 PM, Larry <[email protected]> wrote: > I'd like to set my application to timeout (x number of seconds) while > trying to connect to the IOIO-OTG, display a simple msg that a connection > was not made, but continue to execute the application without any IOIO > interaction. Is there a way to do this? How would I do this in IOIOHello > app? > > For example, it would be nice if setup() had # of seconds to timeout as an > option with a return value of true/false for success. > > Thanks in advance for any advice! > > -- > 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/groups/opt_out. > -- 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/groups/opt_out.
