I'm assuming you're using OpenAccessory? It is not unlikely that there are problems in this area, my impression is that this feature of Android was poorly designed and even more poorly implemented in some cases. It is also possibly that there's a bug somewhere in the IOIO code that interacts with it. Can you check the logs generated by running your failure case and attach them?
On Tue, Sep 5, 2017 at 1:41 AM, Maximillian <[email protected]> wrote: > Hi, > > I have some issue in IOIOActivity. > > My Android app have several screen. > > First, user will enter the app to main screen. > > From main screen, user can tap a button to go to Transaction Screen. > > Transaction Screen uses TransactionActivity. > > TransactionActivity extend IOIOActivity. > > When I enter TransactionActivity, I get a toast connected to IOIO. > > When I press back, I get a toast disconnected from IOIO. > > Here is the problem, when I click the transaction button to enter > transaction screen again, > I can't connect to IOIO and didn't get any toast. > The app freeze and I need to force close the app via task manager. > > When I start the app again, it works just like before, works for the 1st > transaction, then freeze again for the 2nd transaction. > > This only happens when I connect my phone to IOIO using cable. > > When I use IOIOBridge to debug via PC, everything went smooth for the 2nd > transaction afterward. > > So I kind of frustated cannot debug it. > > Can anybody tell me what I'm missing here? > > I believe just missed something silly here. > > Thanks > > -- > 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.
