usb

  1. Lakhtin_V

    Android Question Need an example of using USB OTG series ports on the latest and new libraries

    I read many posts on the forum and got confused about which library is better to use to exchange strings between two com ports on different devices. I plan to use the Lora modem on my USB OTG connector. I have already tested these modems through a regular USB terminal application, the exchange...
  2. W

    Android Question felUsbSerial v1.12 Error at random intervals ArrayIndexOutOfBoundsException, and lost characters

    Using felUsbSerial - v1.12 on Android 8.1 with FTDI PID 0x6010 The serial communication works for a variable length of time before an exception in the library. Connecting to a serial device, requesting data from it every half second or so, data out is 10 or so characters, data in is usually 10...
  3. M

    Android Question USBManager keeps asking for permission

    Hi everyone, I'm using a tablet pc panel with Android. This panel pc has a USB port that I use to communicate using a USB to TTL converter (YP-01).. the chinese ones you find on Amazon/Aliexpress (Link)... The problem is that using the USB library if the usb is removed and re-inserted it keeps...
  4. S

    Android Question Android 13 problem with app installation

    Ho to all. Sorry I'm a beginner. I have written an App with b4a to take photos, read qrcodes and send emails with success using a Xiaomi note 9. Now I have a new phone Oppo with color os and android 13, and the same app run perfectly. I try now to run some examples using USB but the phone stop...
  5. walterf25

    B4J Question COM Port (Serial) Proper Way to Close and Re-Open

    Hi Everyone, I am using the Jserial library to communicate with a device, this device enumerates 3 different COM Ports but only one can be open to communicate with the device, the other two are for debugging purposes, so far everything works as expected, however I had the need to come up with a...
  6. Star-Dust

    B4A Library SD EscPos Printer (Lan,USB, Bluetooth SPP, BLE)

    This library allows you to print with thermal printers compatible with the ESC POS language in 4 different communication channels (USB, Bluetooth SPP, BLE, LAN) you can download the ble3 library from here The DEMO version prints one minute every 2. The full version of the library will be issued...
  7. byz

    Android Question hi how i copy the usbdisk's file to DirDefaultExternal 请问如何复制U盘文件到内部储存

    i'm chinese ,my english just so so. 😅 its a big screen player, i want to like this: when the USBdisk insert,auto cpoy some files to DirDefaultExternal/prog. i found in bbs and the USB lib document,but none way,i just get the usbdevice'name(test in my phone). i saw the post...
  8. Luciano Veneziano

    Italian Il dispositivo no va in debug

    Ho scaricato l'ultima versione di B4A. Ho connesso, come la solito il telefono per una sessione di debug ma pur riconosciuto dal windows 10, il compilatore no riesce a scaricare il programma. ho installato anche b4a bridge e l'opzione sviluppatore è attiva sul telefono. Grazie di aver letto.
  9. I

    Android Question USB Serial permission

    Hi There I am testing USB serial using the sample code If manager.GetDevices.Length = 0 Then Log("No connected usb devices.") Else Dim device As UsbDevice = manager.GetDevices(0) 'assuming that there is exactly one device If manager.HasPermission(device) = False Then...
  10. P

    Android Question How to write on a USB-Stick

    Hallo, i want to export a file on a USB-Stick. I made a litte example where I can choose in the filebrowser the USB-Stick, but i find not the right way to write the file. Please can somebody tell me, where I made the mistake? Thank you.
  11. P

    German Datei auf USB-Datenträger schreiben

    Hallo, ich würde gerne eine Datei auf einen USB-Stick exportieren. Ich schaffe es zwar die vorhandenen Datenträger zur Auswahl anzuzeigen, das Schreiben klappt aber nicht. Ich habe ein Testprogramm erstellt, in dem eine kleine txt-Datei erzeugt wird und dann versucht diese zu kopieren - klappt...
  12. yaniv hanya

    Android Question does usbSerial lib should work with UART too?

    Hello, i"m using UsbSerial lib (ver 2.3) to create app that connect android to microcontroler via USB hub. now the company want to connect the microcontroler via UART. and to remove the USB hub from the tablet. should the UsbSerial connect also via UART serial? or should i use different lib? it...
  13. Peter Simpson

    B4J Tutorial 💡 CID (Caller ID) - View incoming call details using your COM port modem

    Hello All, After looking on the forum and finding basically nothing regarding using B4J for CID (Caller ID) via home or basic business phone lines, I took out my V.92 USB modem and created this simple tutorial for B4J developers to learn from. NMBR=07931XXXXXX actually displayed my full mobile...
  14. SJQ

    Android Question Rp.GetAllSafeDirsExternal returns Permission Denied

    Got a problem with Android 9 x86 We use two insertable storage devices, A Removable SD card is inserted that contains an extensive media library and when required staff must insert another USB and a process in the app writes specific statistics to this USB mass storage device. previously...
  15. A

    Android Question USB serial and multiple devices [almost solved]

    Hi there, Im using UsbSerial lib 2.3 to connect to an arduino, it works perfect BUT only if the arduino is the ONLY device connected to the USB to my Android TV BOX If I have an USB mouse connected, the program doesn't find the arduino. I can connect the arduino, run the soft, connect, and...
  16. yaniv hanya

    Android Question using usb with microchip controler

    Hello, I"m in the middle of project using android tablet to control a microchip, that in his turn control a machine. just sending serial command like- "openWaterPump", "closeWaterPump" ans so on. I did all my checking using ardoino, and it worked great. now we move to production level and we...
  17. L

    Android Question Copy file to USB stick error

    I have to copy a file in the Internal Directory to a USB stick. To select the destination path I use "ExternalSotorage" library. When I have selected the destination directory then I use ABzipunzip to zip the file, using the internal memory for source and the USB stick for destination, but it...
  18. Eodlys

    French Arduino vers B4A en USB

    Bonjour, je suis nouvelle et je débute sur le logiciel B4A. Pour un projet, nous devons recevoir des donnés envoyés de la carte Arduino au port micro-usb du téléphone Android. Nous devons ensuite afficher ces donnés dans un tableau. Le problème étant que je ne trouve aucun tutoriel que ce soit...
  19. rleiman

    Android Question [SOLVED] Connecting a USB cable directly to my pc to install apps

    Hi Everyone, Is it possible not to use the B4A bridge and compile and install an app directly to my phone using a USB cable? If yes, what's needed to do it? Thanks.
  20. max123

    Android Question Strange problem with FelUsbSerial library and 3D Printer controller running Marlin @ 250000 bps

    Hi all, I would like to write a B4A application capable of connecting to USB controllers for 3D Printers, in this regard I did some tests with the FelUsbSerial library, but I have a problem that I can not solve in any way. My 3D Printer controller is equipped with a FTDI serial converter and...
Top