The Wayback Machine - https://web.archive.org/web/20200612100314/https://github.com/processing/processing-android/issues/438
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Processing 3 Library for Arduino USB Host Shield #438

Open
ghost opened this issue Feb 8, 2018 · 1 comment
Open

Processing 3 Library for Arduino USB Host Shield #438

ghost opened this issue Feb 8, 2018 · 1 comment

Comments

@ghost
Copy link

@ghost ghost commented Feb 8, 2018

Greetings!

I seek some support for Arduino USB Host of an Android Accessory.
REF: https://www.arduino.cc/en/Tutorial/AndroidAccessoryDigitalWrite

Any thoughts regarding additional information regarding the ArduinoAdkUsb object?
The Processing sample code from the Android Accessory Digital Write tutorial contains the following:

import cc.arduino.*;
import android.view.MotionEvent;
ArduinoAdkUsb arduino;
...
arduino = new ArduinoAdkUsb( this );
arduino.connect( arduino.list()[0] );
if ( arduino.isConnected() ) {
    if ( event.getAction() == MotionEvent.ACTION_DOWN )
      arduino.write('a');

The end goal is to use the Arduino USB Host Shield to control the Arduino I/O from cost effective Android hardware with open-source libraries for Arduino Accessory Development Kit (ADK) and Processing 3.

Thanks,
coast

@codeanticode
Copy link
Member

@codeanticode codeanticode commented Feb 8, 2018

@mancoast Thanks for bringing this up. It seems that the ADK mode is no longer available, at least through the Contributions Manager. This guide shows installation steps, but on Processing 2.x. I tried downloading the ADK Mode package from http://processing.arduino.cc/AdkMode.zip, but the link is broken, and cannot find any source code repo. It may be a good idea contacting the Arduino developers to get an update on the status of the project. I wonder if it could be possible to incorporate ADK support as a library for the latest version of the Android mode, so there is no need to have a separate mode for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.