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
有帮助吗?
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top