Hi Ytai, I think I have found out what is going on with the Dell Streak 5 now. The Android 2.3.7 (PseudoCream custom rom) has a defect with the debug setting. I am only able to enable debug. Trying to disable debug does not actually disable it !.
So my conclusion so far is, that I have in fact not been running AOA on the Streak, but ADB after all. The fact that it cures the problem, must be due to some changes in the Android 2.3.7/PseudoCream implementation. On Wednesday, November 19, 2014 5:23:54 AM UTC+1, Ytai wrote: > > Take a careful look at the manifest file as well as the project > properties. There should be some declaration about using that library, > which may matter at runtime. Also, keep in mind that the Android 2.3.x > backport of the USB API is an optional feature that a device may or may not > support. Many don't. > > On Tue, Nov 18, 2014 at 3:43 AM, Johny Johansen <[email protected] > <javascript:>> wrote: > >> Hi Ytai, >> >> thanks for the quick reply :-) >> >>> [...] >>> I've been testing this pretty extensively (see the IOIOTortureTest >>> project as an example) and have never ran into any sort of reliability >>> problems over ADB. Must be something else going on here, or something >>> related to the specific phone you're using. In any case, can't argue with >>> the fact that it solved your problem :) >>> >>> >> I am not the only one that have had this problem, see >> http://forum.xcsoar.org/viewtopic.php?f=3&t=220 >> My Android code is not based on the XCsoar code, but a common ingredient >> is the phone, the Dell Streak 5, so you are probably right about that. >> >> >>>> But now a question regarding the AOA implementation: >>>> My Android application "linked" with the IOIOLibAccessory works on the >>>> Streak (out of debug mode), but if I try to use >>>> Microchip's BasicAccessoryDemo on the same Streak, it is unable to find >>>> the com.android.future.usb library. >>>> >>> >>> I've never used Microchip's code for Android. This is probably an issue >>> with the target against which you're building the library. Should be a >>> "Google-API" kind of a target. >>> >>> >> I have made my best efforts to use the same tool setup in the two cases, >> including using the same build target spec, Google APIs(4.3.1). >> But thanks for the confirmation, that you didn't have to do something >> special to get the AOA running on 2.3.x. I will see if I can figure out >> what the problem is. There is no problem running on a Nexus 4 where the >> future package is not needed. >> Again thanks for the quick answer :-) >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://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 http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
