Has any one compile serial usb class (serialusbfn.dll) from platform builder and it is working ?
The problem is i need to replace serialusbfn.dll with my own usb serial class dll.
Currently i am developing an application which will use serialusbfn.dll(default windows mobile 5.0 driver) to communicate with my custom usb hardware. It is working. Now i want to replace serialusbfn.dll with my own "serialusbfn.dll", maybe i name it as "waterusb.dll". But it doesn't work.
What did i do
==========
I compiled my "waterusb.dll" using platform builder 5.0, by including the USB Function -serial into the OS design without any modification on the code. After completion, i rename "serialusbfn.dll" to "waterusb.dll". Then i copy "waterusb.dll" into the Fon. After that i modify the registry on the fon so that when communication using "Serial_Class" it will point to "waterusb.dll". But it is not working.
Anyone has any idea ??
no body done this before ?
I have google nexs 4, kitkat 4.4 updated to
I have debugger mode enabled
I try to reset abd from my eclipse i get
[2013-12-24 23:18:49 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2013-12-24 23:18:50 - DeviceMonitor] Connection attempts: 1
my device is detected by my computer..but when i try running application, my eclipse doesnt detect it?
please help
my project build target android 4.4
jdk compliance 1.6
minmiunm required sdk android 2.2 froyo chosen
target sdk: api 18
compile with: api 19 android 4.4 kitkat
so anyone?
my winbdows is windows 8
problem is not from device, because it works on windows 7...and another pc.
I also done this http://developer.android.com/sdk/win-usb.html#top
Hi
Are you sure you have ADB set up properly? You may want to get to know ADB here. At least run the devices command to see where the problem is. What you should try is restarting both Windows and your phone (we all know windows...). If that doesn't work you'll want to try a different USB cable and socket but as you are saying the device is detected by windows so the hardware shouldn't be a problem. A complete reinstall of eclipse may be needed as well.
There is an edit button so no need to post 5! times.
i fixed it by updating driver software in device managers..and selecting the google usb driver location i donwloaded via the sdk manager
thanks
krikor1 said:
i fixed it by updating driver software in device managers..and selecting the google usb driver location i donwloaded via the sdk manager
thanks
Click to expand...
Click to collapse
Great! Have fun developing!
I have problem with debug my app on this device using eclipse. When I plug-in device and run it on eclipse, I see device on DDMS, but when I start debug app ignore brackepoint. What should I do to fix this problem?
Hello
I have a BeagleBone Black and I'm thinking of using Android for my project. Android image is available at http://bbbandroid.sourceforge.net/
But since this is a hardware project I'd be needing access to the serial port. There is no way to do this using Java code so I was reading about JNI, HAL and all that stuff. HAL seems to be too complex for my needs.
So I have a very simple question: if I build a .so using JNI does it run as root so that I can play with mmap / gpios etc?
What is the easiest method (other than doing chmod to /sys/class/gpio in init.rc) to get root permissions in the native code?
I was thinking of implementing this as a two layer thing where there's a system process (which is started at boot, as root of course) and listens on a Unix Domain Socket. My Java app will connect to the unix socket and chat with the C binary. Is it possible?
I am using an external device to test my applications on. However, lately, I have been having trouble connecting to the device with the debugger. I have tried attaching to process, wait for debugger, reinstalling official ZTE drivers from the phone. restarting device over adb. None of these methods have worked. Is the phone just not designed to be debugged through android studio or am I missing something?
Thanks in advance