android-usb Questions
3
Solved
In an Android app, I need permission for a specific USB device (known vendor/product ID), which is permanently plugged on the Android device.
So far I've made the following observations:
when us...
Deserve asked 30/1, 2019 at 15:56
2
Solved
I have an app that uses
<uses-feature
android:name="android.hardware.usb.accessory"
android:required="true" />
I want that USB to communicate with the App1 running in the foreground and...
Elwood asked 5/11, 2017 at 6:28
2
A device owner can grant runtime permissions to a third-party app using DevicePolicyManager.setPermissionGrantState() to avoid user prompts.
But is there any way for a device owner to grant USB per...
Bywoods asked 2/5, 2019 at 10:35
2
I am building a Nougat AOSP image for Raspberry Pi 3 following these instructions: https://github.com/tab-pi/platform_manifest. And I have a UVC-compatible USB webcam (Logitech C525) that I would l...
Flatboat asked 13/9, 2018 at 10:19
1
Solved
Before Android 9 I could bypass android usb host permission confirmation dialog by using root, systemizing my app and using next usb classes https://mcmap.net/q/339172/-bypass-android-usb-host-perm...
Flail asked 7/8, 2019 at 8:56
0
Currently one of our app required to external device connectivity. So,
I want to know how to check OTG support option in settings is enabled or not programatically.
This question might explains wh...
Cymbiform asked 25/9, 2017 at 12:48
1
Solved
My goal is to send HDMI CEC commands from a standard (i.e non-system) app running on an Android box equipped with Pulse-Eight's USB dongle.
Following these instructions I successfully managed to c...
Theron asked 11/8, 2017 at 15:53
1
I currently have a working implementation that allows me to list USB devices, request permission for that USB device and then connect to them (mainly from http://developer.android.com/guide/topics/...
Ottava asked 14/1, 2016 at 17:12
3
Solved
I have 2 activities within my app. Say FirstActivity and SecondActivity. FirstActivity is the MAIN and LAUNCHER activity. SecondActivity uses usb devices. I want the prompt for USB permission to ap...
Castleberry asked 21/10, 2016 at 17:10
1
Following the simple tutorial I'm able to connect to device (usb optical mouse with ADNS-5000 chip inside) and make a bulkTransfer.
UsbInterface intf = device.getInterface(0);
UsbEndpoint endpoint...
Caulicle asked 20/7, 2016 at 14:45
1
I Was created a android application based on connecting with webcam. The application works charm while connection with webcam. But when i unplug, my mobile the application crashed and shows "unfort...
Inexpressible asked 6/2, 2016 at 9:57
2
As the title states, I am having troubles enumerating a specific USB device on a USB capable Android phone using UsbManager.getDeviceList(). I've had no trouble enumerating and communicating with o...
Stearne asked 7/11, 2015 at 1:30
1
Solved
I want to use a usb device in the following code. It successfully lists the usb devices and iterates over them. In the following code the object "device" is the usbdevice that i need to open. Every...
Lyrist asked 25/1, 2015 at 14:7
1
Solved
I am trying to use the android host api for USB storage. I have many doubts regarding same.
What all things are possible using host api. I want to see the content of USB and if possible so the no...
Nutbrown asked 9/10, 2014 at 16:37
1
© 2022 - 2024 — McMap. All rights reserved.