android-open-accessory-bridge implmentaion for Raspberry Pi 2 kitkat

549 views
Skip to first unread message

dcinspe...@gmail.com

unread,
Jun 9, 2016, 5:31:35 PM6/9/16
to Android-rpi






Hello everyone, I am working on a project for work I have a Raspberry pi model 2 model B with KitKat 4.4.2 installed and are in need of some help.

 I have a USB accessory that i wish to use with the raspberry pi as if the pi was an actual phone or tablet (I'm telling you now that it already works with lots of android devices)
the issue I am having is that when I connect my device up to the pi over USB I do not get this notification and so in the end my device does not communicate with its proprietary APP
the bellow picture is what I am looking for when I connect my device, my device worksI have tested it on a few android devices.

Note USB Debugging is enabled on the PI
normaly has to be for this to work
I'm not trying to say that normal USB devices don't work because they do

after some reasearch these are some links I found
https://source.android.com/devices/accessories/aoa2.html
http://www.ftdichip.com/Android.htm
https://github.com/walac/pyusb/blob/master/docs/tutorial.rst
https://developer.android.com/guide/topics/connectivity/usb/accessory.html#discovering-a
https://github.com/chris-blay/android-open-accessory-bridge

Hope this helps you help Clancey Aggen

Dc Inspection

unread,
Jun 14, 2016, 6:07:24 PM6/14/16
to Android-rpi
More findings :) the first link is a video showing what files are needed

the second link is the missing file

https://www.youtube.com/watch?v=jJ7t08vU9Ag

http://www.java2s.com/Code/Jar/c/Downloadcomandroidfutureusbaccessoryjar.htm

the third link is the issue I'm on

http://developer.samsung.com/forum/thread/a/201/158694

https://www.eclipse.org/downloads/download.php?file=/oomph/epp/mars/R2/eclipse-inst-linux64.tar.gz&mirror_id=272



com.android.future.usb.accessory.jar file was missing this file is required in order for this to work, I downloaded the file and tried to just copy paste it where it needed to be under system/framework I got an error from my file manager saying permission denied so looks like I need to install the forth link.


anyone out there who can help me?

also I could not get my USB thum drives to read for some reason, not sure it they worked before but there not working, Andorid Kitkat Pi 2 Es file manager.

Reply all
Reply to author
Forward
0 new messages