Questions tagged [usb-otg]

USB On-The-Go is a USB (Universal Serial Bus) specification that allows a device to act as Host to simpler gadgets, such as flash drives, but then also act as a "slave" device to other Hosts, such as a personal computer.

USB On-The-Go is a specification that allows a device to act as host to simpler gadgets, such as flash drives, but then also act as a slave device to other Hosts, such as a personal computer.

See:

227 questions
0
votes
1 answer

How to print pdf from my Android app with Brother HL-1110 Series Printer

I check Brother Printer's Developer site and they provide SDK without support of Ink-jet and Laser printer. But another app "StarPrint" can print on this printer but it too slow process and sometime This app cannot print any thing in brother…
Rifan
  • 424
  • 6
  • 17
0
votes
1 answer

Scan OTG mount point in android

I need to access a pen drive connected via OTG to android device. With expolorer I can find the mount point in /storage/usbdisk. But, how can I find the mount moint dynamicallu via code? Thank you! Roberto
0
votes
1 answer

How to work with USB DFU bootloader without using VBUS and ID ilne for STM32F4xx?

I need your help as i am working on a MCU STM32f439ZI and IAR IDE 7.40,and working on a USB OTG boot loader downloaded from below link. "https://github.com/mechoid9/STM32F4/tree/master/STM32F4-Discovery_FW_V1.1.0/Project/FW_upgrade" i have tested…
user3405841
  • 1
  • 1
  • 8
0
votes
0 answers

PIC32MZ USB Host mode device enumeration issue

I try to use USB keyboard with PIC32MZ1024ECG64 in USB host mode, but the PIC can recognize the keyboard only if the keyboard already connected before I release the PIC from reset. If I disconnect the keyboard and I attach it back then the PIC…
Venczel
  • 1
  • 1
0
votes
0 answers

How can I use a camera on OTG in android

I am developing an android application that has to use two external cameras simultaneously. I want to know how can I use cameras. I have gone through many other answers but that were not clear. I want to get to know how to use camera in android
Nandan A
  • 152
  • 1
  • 1
  • 10
0
votes
1 answer

Access Camera Storage via USB Host Mode on Android

I'm trying to access the SD Card on my DSLR via USB Host using my OTG cable. I believe this is through PTP. I've seen a couple of apps that could do this w/o root permission also, not only can they access it they can also control shutter speed and…
Kevin Antonio
  • 578
  • 3
  • 13
0
votes
2 answers

The cursor property in CSS does not seem to apply to USB On The Go

Mouse Cursor styling, like Col-Resize and Not-Allowed See Examples Here do not seem to apply to the mouse that appears on a phone or tablet through USB OTG. Any way to apply CSS, Javascript or other styles to the OTG mouse?
marqso
  • 61
  • 9
0
votes
1 answer

USB OTG suspend

I am working on a android phone which supports USB OTG. Suppose we connect a USB hub (bus-powered /self-powered) to the android phone and there is no device connected on the hub. Should the phone go into deep sleep (suspend)?
Raj
  • 3,300
  • 8
  • 39
  • 67
0
votes
1 answer

How to read text file from external storage in android phone

I want to read a file from android application . This file is in external storage ( pendrive) connected to android tablet via OTG cable . I have searched a lot on " how to do this " , but could not get any way . Can you please help me to do that ?
osimer pothe
  • 2,827
  • 14
  • 54
  • 92
0
votes
1 answer

Android overheating disconnects from OTG

I'm encountering a very strange problem while developing on android. My project is a bit unorthodox, so please bear with me. I'm developing a game that uses an external controller that's connected to the phone using an OTG cable. All works OK, until…
gil asher
  • 1
  • 1
0
votes
1 answer

Reading int serially via android usb

I am developing an android app where I want to read serial data via the phone's port(I use OGT cable). For this I have been using the following libray https://github.com/mik3y/usb-serial-for-android Library would read serial data as a byte array…
0
votes
0 answers

USB Host getDeviceList return empty

My device - Nexus 5 with 4.4.4 Here is my code UsbManager manager = (UsbManager) getSystemService(Context.USB_SERVICE); HashMap deviceList = manager.getDeviceList(); Log.e(TAG, "get device list = " +…
KingWu
  • 370
  • 1
  • 4
  • 21
0
votes
0 answers

Correct way of reading serial data in an android application

I've created an android application to read and display serial data sent from a computer via a USB FTDI cable plugged into the phone using a USB OTG adapter. I've managed to write a piece of code to display the data sent from the terminal program on…
Paul Alexander
  • 2,686
  • 4
  • 33
  • 69
0
votes
1 answer

External fingerprint scanner for non-rooted Android tablets

We want to develop an application where users will be using a handheld scanner for taking fingerprint of the customer via an android tablet. Now, I have a few questions: I went through many discussions here as well as on other forums, but nobody…
0
votes
0 answers

Android Serial Read from Arduino Output through USB

I have been trying to follow this tutorial to read data output from my arduino using my android phone, they are connected via OTG. https://code.google.com/p/usb-serial-for-android/ I am able to print the result in a text view, however the output is…
arun12345
  • 17
  • 5