Difference between pages "Pi BoF" and "USB and Android - Joel Stanley"

From LCA2014 Delegate Wiki
(Difference between pages)
Jump to: navigation, search
(Attendees: added some links)
 
 
Line 1: Line 1:
[[BoF_Sessions#17:40_-_18:40|'''''Tuesday 17:40 to 18:40 at ENG:LT1''''']]
+
http://mirror.linux.org.au/linux.conf.au/2014/Tuesday/138-USB_and_Android_-_Joel_Stanley.mp4
  
In case you've been living under a rock, [http://www.raspberrypi.org/faqs#introWhatIs the Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard].
+
http://mirror.internode.on.net/pub/linux.conf.au/2014/Tuesday/138-USB_and_Android_-_Joel_Stanley.mp4
  
I'll bring along some of my [http://ogpc.com.au/wiki/Category:Geekology Geekology] Raspberry Pi's, the USB TV tuner and whatever else I can cram into my luggage.
 
  
Drop by to have a look.
 
  
==Attendees==
+
'''Incomplete transcript'''
  
* [[User:Thomas_Sprinkmeier|Thomas Sprinkmeier]] (28.26 incl. [http://www.raspberrypi.org/camera Camera],  [http://www.raspbmc.com/ RaspBMC (with USB tuner)] and [http://www.raspberrypi.org/downloads NOOBS])
 
* [[User:Daniel Bryan|Daniel Bryan]]
 
* [[User:Jessica Smith|Jessica Smith]] (depending on timing of BoF)
 
* [[User:Phillip Smith|Phil Smith]] (possibly)
 
* [[User:Daryl Tester|Daryl Tester]] (intrigued, yet suspicious)
 
* [[User:Adam Ashley|Adam Ashley]] might bring a pi, or some of the other little toys they let me play with at work.
 
* Brett Downing
 
* [[User:Steven Ellis|Steven Ellis]] a strong maybe
 
* [[User:Christopher Willoughby|Chris Willoughby]] - possibly
 
* Gordon Stanton - (maybe with a Quad Core ARM dev board)
 
* Msquared (I have a spare Pi setup to bring)
 
* cardre
 
* Karl-Johan Karlsson, with a [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/ Pi-Lite red] LED array
 
  
== Links ==
+
Thank you.
* I've got some [http://ogpc.com.au/wiki/ShuttlePi/Hardware Hardware Info]
+
 
** [http://ogpc.com.au/wiki/ShuttlePi/Hardware/SD SD card info] (personal expirience only, alos see [http://elinux.org/RPi_SD_cards list of known good cards])
+
So I've spent the last 3 years making consumer electronics devices and one of the requirements that arose through that was the ability to record data out of our devices.
* [http://www.raspberrypi.org/downloads NOOBS] download page. The simplest way to boot your Pi.
+
 
* [http://scratch.mit.edu/ Scratch]. Sadly the latest version doesn't run on the Pi, but it's a great intro to programming including GPIO.
+
They ran various operating systems from embedded Linux to while 1 loops and various embedded operating systems.
* [https://github.com/yoyosamo/PiBell Wireless doorbell -> email] project. One of the Geeklings made this, with a little help...
+
 
* [http://www.freetronics.com/collections/kits/products/experimenters-kit-for-arduino Arduino] + Pi = very simple and robust IO.
+
But one thing they had in common is they could all talk USB.
 +
 
 +
And I thought "oh, that's handy, we all have a device in our pockets that speaks USB, so why not make it talk to it"
 +
 
 +
 
 +
So today, I'm going to give you a brief overview - a bit haphazard, on how to make an Android device talk USB in host mode to some kind of peripheral, and hopefully you guys can take that information away and make Android talk to all kinds of interesting devices in the future
 +
 
 +
We'll go over Android as a tool and then ...
 +
 
 +
 
 +
 
 +
And then how to take some existing code that knows how to talk to a peripheral and bring that into Android land - so in this case just C code using the Native Development kit and the Java interface that ...
 +
 
 +
 
 +
 
 +
Then I'll go over some of the gotchas there - the permissions model was one of the harder things to integrate in the system I had ...
 +
 
 +
 
 +
[[Category:Transcripts]]

Revision as of 23:29, 12 January 2014

http://mirror.linux.org.au/linux.conf.au/2014/Tuesday/138-USB_and_Android_-_Joel_Stanley.mp4

http://mirror.internode.on.net/pub/linux.conf.au/2014/Tuesday/138-USB_and_Android_-_Joel_Stanley.mp4


Incomplete transcript


Thank you.

So I've spent the last 3 years making consumer electronics devices and one of the requirements that arose through that was the ability to record data out of our devices.

They ran various operating systems from embedded Linux to while 1 loops and various embedded operating systems.

But one thing they had in common is they could all talk USB.

And I thought "oh, that's handy, we all have a device in our pockets that speaks USB, so why not make it talk to it"


So today, I'm going to give you a brief overview - a bit haphazard, on how to make an Android device talk USB in host mode to some kind of peripheral, and hopefully you guys can take that information away and make Android talk to all kinds of interesting devices in the future

We'll go over Android as a tool and then ...


And then how to take some existing code that knows how to talk to a peripheral and bring that into Android land - so in this case just C code using the Native Development kit and the Java interface that ...


Then I'll go over some of the gotchas there - the permissions model was one of the harder things to integrate in the system I had ...