M mandargholap Member Licensed User Longtime User May 13, 2014 #1 I have downloaded the USBSerial 2.3 zip and open the project. When I am trying to run the program, it is showing unknown type :UsebSerial. Are you missing a library reference. IN my Project i have set the path to the folder where I have kep both USB_SERIAL.jar and usb-serial-for-android-v010.jar file. The AsyncStreams variable is getting reference but not the UsbSerial. PL.find attached the screenshot. Thanks Mandar Attachments Error.PNG 71.8 KB · Views: 752
I have downloaded the USBSerial 2.3 zip and open the project. When I am trying to run the program, it is showing unknown type :UsebSerial. Are you missing a library reference. IN my Project i have set the path to the folder where I have kep both USB_SERIAL.jar and usb-serial-for-android-v010.jar file. The AsyncStreams variable is getting reference but not the UsbSerial. PL.find attached the screenshot. Thanks Mandar
Erel B4X founder Staff member Licensed User Longtime User May 13, 2014 #2 Have you checked UsbSerial in the libraries tab? Upvote 0
M mandargholap Member Licensed User Longtime User May 13, 2014 #3 Thanks for the prompt reply. Pl. find attached screenshot of the jar file location and the path setting. Attachments Library_Path.PNG 91.6 KB · Views: 674 Upvote 0
Thanks for the prompt reply. Pl. find attached screenshot of the jar file location and the path setting.
Erel B4X founder Staff member Licensed User Longtime User May 13, 2014 #4 You should go to the libraries tab in the right side of the IDE and check UsbSerial. It is explained in the Beginner's guide: http://www.b4x.com/android/documentation.html Upvote 0
You should go to the libraries tab in the right side of the IDE and check UsbSerial. It is explained in the Beginner's guide: http://www.b4x.com/android/documentation.html
M mandargholap Member Licensed User Longtime User May 15, 2014 #5 Thanks Erel. I got it. I have small query. I have compiled the UsbSerial2.3 program. But when I am connecting my Samsung mobile to PC, I am getting No USB device connected error? Pl suggest. Upvote 0
Thanks Erel. I got it. I have small query. I have compiled the UsbSerial2.3 program. But when I am connecting my Samsung mobile to PC, I am getting No USB device connected error? Pl suggest.
Erel B4X founder Staff member Licensed User Longtime User May 15, 2014 #6 Are you trying to use UsbSerial with a device connected to a PC? It will not work. If USB debugging is enabled and a proper driver is installed then you can use ADB to create a TCP/IP connection. Upvote 0
Are you trying to use UsbSerial with a device connected to a PC? It will not work. If USB debugging is enabled and a proper driver is installed then you can use ADB to create a TCP/IP connection.
M msucho Member Licensed User Longtime User Sep 8, 2014 #7 Hi Erel: I am triyng to compile the USB-Serial example, and every time I do the compiler show me theses lines: ------------------------------------------------------------------------------------------------------------------ Convert byte code - optimized dex. Error A referenced library is missing: usb-serial-for-android-v010 ----------------------------------------------------------------------------------------------------------------- Then the compile process freeze for long time. What is wrong? Thanks in advance. Marcelo Upvote 0
Hi Erel: I am triyng to compile the USB-Serial example, and every time I do the compiler show me theses lines: ------------------------------------------------------------------------------------------------------------------ Convert byte code - optimized dex. Error A referenced library is missing: usb-serial-for-android-v010 ----------------------------------------------------------------------------------------------------------------- Then the compile process freeze for long time. What is wrong? Thanks in advance. Marcelo
Erel B4X founder Staff member Licensed User Longtime User Sep 9, 2014 #8 What is the UsbSerial library version? Upvote 0