Question

I need to avoid using Android USB API and just get access to USB device file (like /dev/bus/usb/002/002 file) from my android app. Is there any opportunity to do it without rooting?

Now i'm getting permission error (from child process):

W/System.err( 9368): avrdude: ser_open(): can't open device "/dev/bus/usb/002/002": Permission denied
W/System.err( 9368): ioctl("TIOCMGET"): Invalid argument
Était-ce utile?
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top