Questions tagged [accessory]

Mode which allows Android-powered devices that cannot act as a USB host to still interact with USB hardware. In this mode, the attached Android USB accessory acts as the host, provides power to the USB bus, and enumerates connected devices.

123 questions
2
votes
1 answer

Android ADK - Connect multiple devices

Is it possible, to connect more than one accessory to my device using the ADK? For example using a nexus and a usb hub. Could I connect two arduino boards?
user977915
  • 21
  • 1
2
votes
0 answers

Swift 3 External Accessory Issues

I'm essentially attempting to port parts of the EADemo (in Obj-C) that Apple provides for communication with an MFi device. The demo works. It recognizes when the MFi accessory is attached. I have spent quite some time searching to determine my…
2
votes
2 answers

Distinguish between accessoryView and Row on touch

I want users to get a different result if they click on an accessory image in a table cell rather than the row. To capture their tap on the accessory, I am using following method: - (void)tableView:(UITableView *)tableView…
user1904273
  • 4,058
  • 11
  • 37
  • 82
2
votes
2 answers

Can android bluetooth accessories force the device to launch an application?

I am wondering if a piece of hardware can be developed (probably over bluetooth for example) that could launch an existing android application on your device. I can't seem to find any documentation on this kind of functionality. Has anybody come…
2
votes
0 answers

USB hub + android device

developers! I have to connect active (powered from the outlet) hub to android device that supports otg. Actually there will be not one hub, but the cascade of 5 hubs connected one by another. So there will be several usb busses. I'd like to ask if…
Vladimir Tsyshnatiy
  • 877
  • 1
  • 9
  • 19
2
votes
1 answer

Android accessory mode with multiple peripherals

Android allows the development of USB accessories using USB Host mode and USB Accessory mode. If I connect a peripheral using accessory mode, would that make the phone unable to connect to other peripherals or to a desktop computer until the…
Daniel
  • 1,830
  • 22
  • 40
2
votes
2 answers

How to programmatically exit from Android Accessory Mode

I've a system with an Android Tablet + an embedded board implementing AOA Protocol. All works fine, embedded board when connected to Android device send ACCESSORY_START command and Android enters in AOA mode. Then normal flow between two works fine…
2
votes
1 answer

what is the difference between USB host and USB Accessory?

Can anyone please tell me what is the difference between USB Host and USB Accessory? To send digital Data from android device through USB what mode should I use? Thanks..
user2447044
  • 59
  • 2
  • 8
2
votes
1 answer

'AndroidAccessory' does not name a type error when I try to verify Hello World sketch from Beginning Android ADK with Arduino

So I've been working through the book and now I find myself stuck at page 49-50 trying to establish the first hint of communication between Android and my MEGA ADK 2560 R3 board. I should include that I have downloaded the updated USB host shield…
2
votes
4 answers

How to connect to the Accessory correctly with BluetoothManager?

I am trying to connect an accessory in my application without doing setting in “setting->bluetooth”. I have followed the steps from this link: http://www.pocketmagic.net/2012/07/bluetooth-and-ios-use-bluetooth-in-your-iphone-apps/#.UTKqLKVvdha It's…
2
votes
1 answer

android enumerate USB application

I have an application that uses USB accessory. The app is setup to auto detect the device using the intent filter when the device is plugged in and then starts the application. My manifest follows the android development example:
2
votes
1 answer

FT311D Accessory Launch Application from Google Play

I am using the FT311D Device from FTDI on my USB accessory - http://www.ftdichip.com/Android.htm This device will place the Android Phone into a Slave mode and my USB Accessory will be the master. Here is what I would like to do: Insert the…
user731513
  • 21
  • 1
2
votes
2 answers

Android cannot find accessory device after enabling WiFi debugging

I'm developing an Android Accessory using a Galaxy Nexus phone and the official Arduino ADK board. I'm using all the standard Arduino libraries available here. I'd like to be able to debug my Android code at runtime so I followed Googles'…
Tansir1
  • 1,709
  • 2
  • 14
  • 27
2
votes
3 answers

UITableViewCell imageView repeating

I am fairly new to iphone development, and I am trying to create my own "invite your friends" system using UITableViewCell. I Have checked other posts, but i do not know how to fix it. One problem i am having right now is, my UITableViewCell…
danny huang
  • 155
  • 9
1
vote
2 answers

Android USB Accessory

I have upgrade table from 2.3.3 to 4.0. It is working fine. Now, I have installed ADB test application from sample code. But it doesn't show anything. only black screen is there when I attacttached usb mouse or keyboard.Mouse and Keyboard working…
user861973
  • 779
  • 3
  • 11
  • 25
1 2
3
8 9