android isn't just phones

Upload: kevin-mcdonagh

Post on 29-May-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/8/2019 Android isn't just phones

    1/46

    @kevinmcdonaghAndroid isn't just about phones

  • 8/8/2019 Android isn't just phones

    2/46

  • 8/8/2019 Android isn't just phones

    3/46

  • 8/8/2019 Android isn't just phones

    4/46

  • 8/8/2019 Android isn't just phones

    5/46

  • 8/8/2019 Android isn't just phones

    6/46

    W3C standards'95 - HTML4

    '96 - XML'2012? - HTML5

  • 8/8/2019 Android isn't just phones

    7/46

    New input element's in HTML5:

    tel,search,url,email,datetimedate,month,

    week,time,

    datetime-localnumber,range,color

  • 8/8/2019 Android isn't just phones

    8/46

    WebSocket API

    WebSocket protocolServer-Sent EventsWeb Storage (localStorage and sessionStorage)Web SQL DatabaseGeolocationWorkersOffline

    hasFeature("XHTML", "5.0")

  • 8/8/2019 Android isn't just phones

    9/46

    Source: Isuppli Press release 201

    Source: "Future of Embedded Systems Technology". BCC Report G-229R.

  • 8/8/2019 Android isn't just phones

    10/46

  • 8/8/2019 Android isn't just phones

    11/46

  • 8/8/2019 Android isn't just phones

    12/46

  • 8/8/2019 Android isn't just phones

    13/46

  • 8/8/2019 Android isn't just phones

    14/46

  • 8/8/2019 Android isn't just phones

    15/46

    Set Top boxes GPS Units Kiosks Self-Checkout Phones Personal Computers Medical Equipment

  • 8/8/2019 Android isn't just phones

    16/46

    3,000,000 iPads in 80 Days

  • 8/8/2019 Android isn't just phones

    17/46

  • 8/8/2019 Android isn't just phones

    18/46

  • 8/8/2019 Android isn't just phones

    19/46

  • 8/8/2019 Android isn't just phones

    20/46

  • 8/8/2019 Android isn't just phones

    21/46

  • 8/8/2019 Android isn't just phones

    22/46

  • 8/8/2019 Android isn't just phones

    23/46

    1992 - *7

    http://www.youtube.com/watch?v=1CsTH9S79qIhttp://www.youtube.com/watch?v=1CsTH9S79qI
  • 8/8/2019 Android isn't just phones

    24/46

  • 8/8/2019 Android isn't just phones

    25/46

  • 8/8/2019 Android isn't just phones

    26/46

    Byte CodeOne DEX file with shared constant poolsDex files are read only & shared within processesAlignment and Ordering to suit local systemRegister based

    Dalvik Optimisations

  • 8/8/2019 Android isn't just phones

    27/46

  • 8/8/2019 Android isn't just phones

    28/46

  • 8/8/2019 Android isn't just phones

    29/46

    IntentsIntent Receivers

  • 8/8/2019 Android isn't just phones

    30/46

    Broadcast Receivers Intent Filters listen to Broadcast Intents

  • 8/8/2019 Android isn't just phones

    31/46

    Intent Types

    Activity Action Broadcast Intents

  • 8/8/2019 Android isn't just phones

    32/46

    Intent intent = new Intent (......................);startActivity(intent);

    Intent i = new Intent();i.setAction("my.package.action");i.putExtra("number", new Integer( 99 ) );

    i.putExtra("text", new String( foo) );startSubActivity(i, ACTIVITY_INVOKE);

  • 8/8/2019 Android isn't just phones

    33/46

    Intent intent = new Intent (Intent.ACTION_DIAL,Uri.parse(tel:93675359)); startActivity(intent);

    Intent intent = new Intent (Intent.ACTION_VIEW,Uri.parse(http://www.droidcon.co.uk));startActivity(intent);

  • 8/8/2019 Android isn't just phones

    34/46

    Intent intent = new Intent (Intent.ACTION_VIEW, Uri.parse(scheme://));startActivity(intent);

  • 8/8/2019 Android isn't just phones

    35/46

    Intent intent = new Intent (Intent.ACTION_VIEW,Uri.parse(http://www.droidcon.co.uk));

    startActivity(intent);

  • 8/8/2019 Android isn't just phones

    36/46

    public class CameraPressed extends Broadcast Receiver {

    @Overridepublic void onReceive(Context context, Intent intent) {

  • 8/8/2019 Android isn't just phones

    37/46

    CRUD with HTTP verbs (post/get/put/delete)Simplicity in data sources through a unified interface

    query()insert()update()delete()getType()onCreate()

  • 8/8/2019 Android isn't just phones

    38/46

    Dim ScreensSuspend long tasks

    Warn about I/ODon't poll+

  • 8/8/2019 Android isn't just phones

    39/46

    Receive messageCheck scheme

    Check contentsIntercept SMSPass Extras

  • 8/8/2019 Android isn't just phones

    40/46

    Generate suggested todosSuspend resourcesChange Answering machine

    Auto responders to emailSuspend ServicesAuto download shows/podcasts

  • 8/8/2019 Android isn't just phones

    41/46

  • 8/8/2019 Android isn't just phones

    42/46

  • 8/8/2019 Android isn't just phones

    43/46

  • 8/8/2019 Android isn't just phones

    44/46

  • 8/8/2019 Android isn't just phones

    45/46

    28th/29th OctoberLargest everAndroid Conference!

    In London!

    www.droidcon.co.uk

    http://www.droidcon.co.uk/http://www.droidcon.co.uk/
  • 8/8/2019 Android isn't just phones

    46/46

    @novodawww.novoda.com

    @kevinmcdonaghTel: 07981932411