Difference between pages "Main Page" and "USB and Android - Joel Stanley"

From LCA2014 Delegate Wiki
(Difference between pages)
Jump to: navigation, search
m (Photos and Video from the conference)
 
 
Line 1: Line 1:
<big>'''Welcome to the Linux.conf.au 2014 wiki'''</big>
+
http://mirror.linux.org.au/linux.conf.au/2014/Tuesday/138-USB_and_Android_-_Joel_Stanley.mp4
  
This wiki is provided for those attending linux.conf.au 2014. Feel free to add and share information here for the benefit of all delegates.
+
http://mirror.internode.on.net/pub/linux.conf.au/2014/Tuesday/138-USB_and_Android_-_Joel_Stanley.mp4
  
To use this wiki, please [[Special:Userlogin|login]] using your ID from http://linux.conf.au<br />
 
  
Map of College Accommodation and University https://mapsengine.google.com/map/edit?mid=zF52JBvjZpOU.k_aH0N3I0eE8
 
  
LCA first timers guide. Thanks to Simon Lyall http://www.darkmere.gen.nz/2007/0129.html
+
'''Incomplete transcript'''
  
  
==Miniconfs==
+
Thank you.
* [[Miniconfs]]
+
  
==Accommodation==
+
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.
  
* [[Campus accommodation]]
+
They ran various operating systems from embedded Linux to while 1 loops and various embedded operating systems.
  
==Conference Schedule Calendar==
+
But one thing they had in common is they could all talk USB.
  
* [http://www.linux.conf.au/programme/schedule/ical Conference Schedule in iCal format]
+
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"
  
Social Events and BoFs below.
 
  
==Eating and Drinking==
+
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
  
* [[Food Drink & Coffee]]
+
We'll go over Android as a tool and then ...
  
==About Perth==
 
  
* [[About Perth]]
 
  
==Airport shuttle transport ==
+
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 ...
  
  
'''The bus pickup location has changed, you need to go to [https://maps.google.com.au/maps?f=q&source=s_q&hl=en&geocode=&q=UWA+Car+park+22&aq=&sll=-32.010396,135.119128&sspn=151.052721,13.710938&vpsrc=6&ie=UTF8&hq=UWA+Car+park+22&hnear=&ll=-31.976381,115.818086&spn=0.003297,0.005702&t=m&z=19&cid=737628713216191141&iwloc=A Car park 22]'''
 
  
 +
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 ...
  
The driver will be told to run every 1:30 hours.
 
If there are no people to go to the airport at the allotted departure time the driver will be told to wait until the next departure time. There will not be random runs that upset the schedule.
 
  
 
+
[[Category:Transcripts]]
Saturday 11/01/14
+
* Pick up from UWA '''Car park 22'''(next to Administration Building) [https://maps.google.com.au/maps?f=q&source=s_q&hl=en&geocode=&q=UWA+Car+park+22&aq=&sll=-32.010396,135.119128&sspn=151.052721,13.710938&vpsrc=6&ie=UTF8&hq=UWA+Car+park+22&hnear=&ll=-31.976381,115.818086&spn=0.003297,0.005702&t=m&z=19&cid=737628713216191141&iwloc=A Car park 22]
+
* 4 AM - 10 PM Saturday domestic terminals T3 and T4
+
* 2 PM Saturday international terminal T1(1 trip only)
+
 
+
There is a free shuttle bus transfer between domestic and international terminals
+
 
+
If you are flying in please put your name on the wiki below if you haven't already
+
{|class="wikitable style="color:black; border-style: solid; border-collapse: collapse; border-width: 2px;" width="85%"
+
|+ Shuttle to the Conference - Adams Coachlines
+
|-
+
! scope="col" style="border-style: solid; border-width: 2px"| Date
+
! scope="col" style="border-style: solid; border-width: 2px"| Terminals
+
! scope="col" style="border-style: solid; border-width: 2px"| Times
+
|-
+
| scope="col" style="border-style: solid; border-width: 1px"| Saturday 4th of January
+
| scope="col" style="border-style: solid; border-width: 1px"| Perth Domestic T3 + T4
+
| scope="col" style="border-style: solid; border-width: 1px"| Continuous Runs between 2pm - Midnight
+
|-
+
| scope="col" style="border-style: solid; border-width: 1px"| Sunday 5th of January
+
| scope="col" style="border-style: solid; border-width: 1px"| Perth Domestic T3 + T4
+
| scope="col" style="border-style: solid; border-width: 1px"| Continuous Runs between 7am + Midnight
+
|-
+
| scope="col" style="border-style: solid; border-width: 1px; background-color:grey;"| Sunday 5th of January
+
| scope="col" style="border-style: solid; border-width: 1px; background-color:grey;"| Perth International T1
+
| scope="col" style="border-style: solid; border-width: 1px; background-color:grey;"| Single Pickup - 4.15pm
+
|-
+
| scope="col" style="border-style: solid; border-width: 1px"| Monday 6th of January
+
| scope="col" style="border-style: solid; border-width: 1px"| Perth Domestic T3 + T4
+
| scope="col" style="border-style: solid; border-width: 1px"| Continuous Runs between 7am + 12:30pm
+
|-
+
| scope="col" style="border-style: solid; border-width: 1px; background-color:grey;"| Monday 6th of January
+
| scope="col" style="border-style: solid; border-width: 1px; background-color:grey;"| Perth International T1
+
| scope="col" style="border-style: solid; border-width: 1px; background-color:grey;"| Single Pickup - 4.15pm
+
|}
+
 
+
For people who were expecting the shuttle on the Tuesday, contact 0498 699 864 or send an email to contact@lca2014.linux.org.au
+
 
+
{|class="wikitable style="color:black; border-style: solid; border-collapse: collapse; border-width: 2px;" width="85%"
+
|+ Shuttle from the Conference - Adams Coachlines
+
|-
+
! scope="col" style="border-style: solid; border-width: 2px"| Date
+
! scope="col" style="border-style: solid; border-width: 2px"| Terminals
+
! scope="col" style="border-style: solid; border-width: 2px"| Times
+
|-
+
| scope="col" style="border-style: solid; border-width: 1px"| Friday 10th of January
+
| scope="col" style="border-style: solid; border-width: 1px"| Perth Domestic T3 + T4
+
| scope="col" style="border-style: solid; border-width: 1px"| Continuous Runs between 2pm + 10pm.
+
|-
+
| scope="col" style="border-style: solid; border-width: 1px; background-color:grey;"| Friday 10th of January
+
| scope="col" style="border-style: solid; border-width: 1px; background-color:grey;"| Perth International T1
+
| scope="col" style="border-style: solid; border-width: 1px; background-color:grey;"| Single Pickup - 2pm
+
|-
+
| scope="col" style="border-style: solid; border-width: 1px"| Saturday 11th of January
+
| scope="col" style="border-style: solid; border-width: 1px"| Perth Domestic T3 + T4
+
| scope="col" style="border-style: solid; border-width: 1px"| Continuous Runs between 4am + 10pm
+
|-
+
| scope="col" style="border-style: solid; border-width: 1px; background-color:grey;"| Saturday 11th of January
+
| scope="col" style="border-style: solid; border-width: 1px; background-color:grey;"| Perth International T1
+
| scope="col" style="border-style: solid; border-width: 1px; background-color:grey;"| Single Pickup - 2pm
+
|}
+
 
+
 
+
[https://lca2014.linux.org.au/maps/DomesticAirportMap.pdf Airport Map PDF]
+
 
+
[https://lca2014.linux.org.au/images/Bus.JPG Photo of Bus full size 2.5MB]
+
 
+
[https://lca2014.linux.org.au/images/Bus_small.JPG Photo of Bus small 99kB]
+
 
+
=== Public transport to/from airport ===
+
The 37 bus goes to/from the domestic airport.
+
[http://www.transperth.wa.gov.au/timetablePDFs/Eastern%20100%2020130303.pdf PDF timetable]
+
 
+
There is a [http://www.perthairport.com.au/ToTheAirport/Shuttles.aspx free airport shuttle bus] between the domestic and international airports.  (This page also covers the paid service.)
+
 
+
FYI, Perth public transport journeys can be looked up using [http://maps.google.com.au/ Google Maps].  We're special. :-)
+
 
+
==Airport Arrivals Departures==
+
 
+
* [[Arrivals_Departures]]
+
 
+
== Activities things to do, see and go==
+
 
+
* [[Things to do, see and places to go]]
+
* [[Raffle]]
+
 
+
==Internet, Mobile Cellular Phones==
+
 
+
* [[Internet Mobile Phones 3G and 4G]]
+
 
+
==Child care==
+
 
+
* [[Child care]]
+
 
+
==Partners programme==
+
 
+
* [[Partners programme]]
+
 
+
==Social Events==
+
 
+
* [[Social Events]]
+
 
+
==Shops and Supplies==
+
 
+
* [[Shops and Supplies]]
+
 
+
==Registrations using Persona==
+
 
+
* [[Registrations using Persona]]
+
 
+
==Speakers Travel==
+
 
+
* [[Speakers Travel Assistance]]
+
 
+
==Volunteers==
+
+
* [[Conference Volunteers]]
+
 
+
==Transport==
+
 
+
* [[Transport around Perth]]
+
 
+
==BoFs==
+
 
+
* [[BoF Sessions]]
+
 
+
==Internet & Network Access==
+
 
+
* [[Internet & Network Access]]
+
 
+
==Maps==
+
 
+
Maps of University of Western Australia conference venues
+
 
+
* [[Maps]]
+
 
+
==Job Board==
+
 
+
* [[Job Board]]
+
 
+
== Photos and Video from the conference ==
+
 
+
* [http://timvideos.us Online Streaming of the conference]
+
* [[Photos]]
+
* [https://googledrive.com/host/0B2KTxndVFSKuSjZKTDRaTlpJcmM Audio interviews by Onno Benschop]
+
* Official Videos of talks (uploaded as they become available)
+
** [http://mirror.linux.org.au/pub/linux.conf.au/2014/Monday/ Videos from Monday]
+
** [http://mirror.linux.org.au/pub/linux.conf.au/2014/Tuesday/ Videos from Tuesday]
+
 
+
== Lightning Talks ==
+
 
+
This year the lightning talks are on Wednesday morning after the official opening.
+
 
+
* See [[Lightning Talks]]
+

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 ...