Hi WuZhenda,
As far as I know, the emulator by default doesn’t let u do anything u want like the real mobile, such as connecting to Internet, or saving file to Storage
You must, by some ways, make it opening the options for u. One way I know is that configuring the Android manifest file.
Maybe doing “chmod” is another way, but u must do everytime u start the emulator.
Try configuring the manifest file.
Gud luck, ^^
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to
android-ndk...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/android-ndk?hl=en.
hi,all
I have ported the libusb & hidapi to the android,
but when I use ndk-build to operate the usb device on java platform,I always return false.
so I do "chmod 666 /proc/bus/usb/002/001" cmd manually to make the device can be read & write , then it return OK.
but I think when I mount the usbfs,I have made the usb can be read & write already by the cmd "mount usbfs none /proc/bus/usb -o devmode=0666".
why?
[armeabi] Compile thumb : hidapi <= hid.c
/home/helene/Téléchargements/hidapi-master/android/jni/../../libusb/hid.c:47:20: fatal error: libusb.h: No such file or directory
#include <libusb.h>
[armeabi] Compile thumb : hidapi <= hid.c
/home/helene/Téléchargements/test_hidapi/android/jni/../../libusb/hid.c:47:20: fatal error: libusb.h: No such file or directory
#include <libusb.h>
I start with android ndk, I have maybe forget something.