From: Xiaofan C. <xia...@gm...> - 2011-04-14 23:50:07
|
On Fri, Apr 15, 2011 at 7:45 AM, Xiaofan Chen <xia...@gm...> wrote: > On Fri, Apr 15, 2011 at 1:50 AM, Hoi-Ho Chan <hoi...@gm...> wrote: >> On Thu, Apr 14, 2011 at 10:43 AM, Colin Madere <clm...@ma...> wrote: >>> >>> If anyone finds an answer to this, please email me directly since I am now >>> moving to a different potential solution and will be dropping off the list >>> since I won't be using libusb on the current project (but still am >>> interested in a solution). >>> >> >> Have you tried writing a native program (not using the NDK), push it to your >> device via adb, and run it without issue? That might point out where the >> problem lies - I've written native apps on Android using libusb without >> trouble (but logging is disabled). > > I heard about this -- logging is disabled for Android libusb. Just > wondering why it is this? Does Android ship with libusb-0.1 > and/or libusb-1.0? If not, why do you need to disable logging? I mean "if you build libusb-0.1 and libusb-1.0 by yourself, you can always enable logging, so why do you need to disable logging?" > Somebody sent me a private email asking about this and > I asked him to post in the mailing list. Apparently he > has not done that. > >> As far as I know, Android's bionic might give you slightly differently >> behavior on some of the C library functions than uclibc/glibc. -- Xiaofan |