Questions tagged [adk]

ADK refers to an Arduino based development Kit for the Android Open Accessory Protocol

The Android Open Accessory Development Kit(ADK) contains the Hardware Design Files, Firmware for the Accessory and the Application for the Android Device. The Android Open Accessory Protocol allows to connect a USB Host to the Android Device. Official ADK Webpage

187 questions
22
votes
2 answers

Proper way to close a USB accessory connection

What is the proper way to close a connection to a UsbAccessory in Android? It seems the even in the stock Google example, if I connect and accessory, exit the app and then go back to it, the connection is not re-established. Looking closely, it…
Ytai
  • 631
  • 4
  • 9
17
votes
2 answers

Android ADK with PC as USB Host with libusb, bulk transfer error

I'm trying to make my PC the USB Host for Android 2.3.4 devices in order to be able to develop APIs without needing actual "accessories". To do this, I need to establish the PC as the USB Host and the "device" (in my case a Nexus One running…
Colin M.
  • 455
  • 1
  • 5
  • 18
15
votes
4 answers

Beginners tutorial for Arduino Mega ADK

Does anyone know of a good intro to controlling the Arduino Mega ADK with a handset? All I want to do is to control the LED on pin 13, using a very basic toggle switch app. Edit…
sgccarey
  • 492
  • 2
  • 6
  • 16
12
votes
1 answer

ADK and Eclipse woes - com.android.future and USBAccessory?

I am trying to get ADK (Accessory Development Kit) set up with Eclipse, but after updating to API 12, to run the demokit Hello World, I get the 29 errors, the first few looking like: com.android.future cannot be resolved, etc UsbAccessory cannot…
ina
  • 19,167
  • 39
  • 122
  • 201
10
votes
1 answer

build.xml gives errors when compiling a Processing sketch which includes ArduinoAdkUsb

Software involved: * Latest Android SDK (as of today - 8/29/2012) with all of the latest APIs, Tools, Extras, etc downloaded. * Processing 2.0a8 (latest build) * Arduino ADK libraries for Processing ("ArduinoADK-beta-001" folder) * My system: 64-bit…
tomosius
  • 1,369
  • 12
  • 18
9
votes
7 answers

Why doesn't the demokit program for the ADK compile in Arduino?

I have a pretty good understanding of Arduino and Java, and I decided to take a stab at trying to control my Arduino ATMega with my Samsung Galaxy 10.1 tab. I have installed API 12 with SDK manager, the ADT plugin for Eclipse, and now I am following…
Armon-LUStudent
  • 363
  • 2
  • 5
  • 17
9
votes
4 answers

Which android devices support the ADK / open accessory

Is there a list anywhere of which Android devices (phones, tablets) support the ADK / accessory mode? From what I have read, I known that the Nexus One, Nexus S and Xoom do support it. Are there any other devices (custom ROMs included) that also…
Jason
  • 160
  • 1
  • 10
9
votes
2 answers

ADK vs JDK vs SDK difference?

Lately, I am quite overwhelmed with the words that end with "DK". I know what these abbreviations stand for. ADK: Accessory Development Kit (Android) JDK: Java Development Kit SDK: Software Development Kit But I am still confused what they actually…
In-young Choung
  • 779
  • 2
  • 8
  • 22
8
votes
3 answers

suggested protocol for android-arduino communication

Using the Android Open Accessory standard, I have an android powered device talking back and forth with an arduino mega ADK microcontroller hooked up via USB. I would like to know what the best communication protocol is at the data link layer…
mustang
  • 151
  • 3
  • 9
7
votes
3 answers

A "Hello World" tutorial for Arduino and Android

A few days ago, Arduino just released a "start pack" for Android developers: http://arduino.cc/en/Main/ArduinoBoardADK The Arduino ADK is a microcontroller board based on the ATmega2560 (datasheet). It has a USB host interface to connect with…
Waza_Be
  • 39,407
  • 49
  • 186
  • 260
7
votes
3 answers

Including other Eclipse Projects in an Android application project

I have a library-only Android eclipse project (no main class, only library classes) that I want to include in my main Android Application project. I went to the Build Path and added the library project to the "Required projects on the build path"…
Randy Sugianto 'Yuku'
  • 71,383
  • 57
  • 178
  • 228
7
votes
0 answers

Android webview doesn't execute javascript from script src

The Problem The webview doesn't actually execute the scripts loaded through src from a remote location Checked and double checked The permission: That the file…
Derk-Jan
  • 1,944
  • 16
  • 24
6
votes
2 answers

How to create an Android app to control Arduino over Wi-Fi?

I have an Arduino Mega board. I've connected the WiFly module to it and established connection with my Android phone. Now I want to make a simple app for my Android, where I press a button and the LED on the Arduino board turns on. In fact, I've…
Anish
  • 740
  • 4
  • 11
  • 27
6
votes
7 answers

arduino ADK + android LED blink example compiling errors

I'm trying to make a project using the arduino ADK board http://arduino.cc/en/Main/ArduinoBoardADK and a Sony Ericsson Xperia Play running android 2.3.4. For starters all I want to do is blink a led from my android device, using the nice tutorial…
androidu
  • 4,678
  • 6
  • 36
  • 51
6
votes
1 answer

What is Nak Limit?

Am trying to understand how the Android Open Accessory API works with the Arduino ADK board, I've been able send and receive information but I just want to know how everything works. I got to this function description: int…
SoftwareDev
  • 674
  • 1
  • 6
  • 14
1
2 3
12 13