Slide 1

Slide 1 text

@ChrisGriffith  

Slide 2

Slide 2 text

These  opinions  and  thoughts  are  my  own,  and   may  or  may  not  reflect  the  opinions  of  the   company  that  I  work  for.   Disclaimer  

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

Who  has  built  for  mobile?  

Slide 8

Slide 8 text

Who  is  developing  for  iOS?  

Slide 9

Slide 9 text

Who  is  developing  for  Android?  

Slide 10

Slide 10 text

I  need  to  make  a  mobile  app…  

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

Objec&ve  C   Android     Flavored  Java   C#  XAML  

Slide 14

Slide 14 text

Objec&ve  C   Android     Flavored  Java   C#  XAML  

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

PhoneGap  

Slide 17

Slide 17 text

Genesis  

Slide 18

Slide 18 text

Ge=ng  Started   cordova.apache.org  

Slide 19

Slide 19 text

But  who  really  uses  HTML  in  their  app?  

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

ApplicaHon  container  that  allows  you  to  build   naHvely  installed  apps  using  HTML,  CSS  &  JavaScript       What  is  PhoneGap?  

Slide 28

Slide 28 text

What  is  PhoneGap?   Your  Code  

Slide 29

Slide 29 text

What  is  PhoneGap?   Your  Code   Na&ve  Web  View  

Slide 30

Slide 30 text

What  is  PhoneGap?   Your  Code   Na&ve  Web  View   Na&ve  APIs  

Slide 31

Slide 31 text

What  is  PhoneGap?   Your  Code   Na&ve  Web  View   Na&ve  APIs   Na&ve  App  -­‐  .apk,  .ipa,  etc  

Slide 32

Slide 32 text

What  plaQorms  support  PhoneGap?  

Slide 33

Slide 33 text

Since  it  is  HTML,  CSS  &  JSS,  can  I  use  exis&ng   tools/frameworks?  

Slide 34

Slide 34 text

Cau&on…   PhoneGap  uses  the  NATIVE  browser  on  the   device  to  render  the  HTML/CSS/JS     Keep  that  in  mind,  as  that  can  affect  the  experience  

Slide 35

Slide 35 text

Device  Access  

Slide 36

Slide 36 text

Accelerometer  -­‐  when  the  device  moves   Camera  -­‐  pictures  of  your  cat   Capture  -­‐  audio,  video,  sHlls  of  your  cat   Compass  -­‐  for  when  you're  lost   Connec&on  -­‐  type  of  connecHon   Contacts  -­‐  find  and  create  new  friends   Features  

Slide 37

Slide 37 text

Device  -­‐  device  and  OS  version  metadata   Events  -­‐  various  app/hardware  related  events   File  -­‐  naHve  file  system  access  (+  upload)   Geoloca&on  -­‐  for  when  you're  lost   Globaliza&on  -­‐  date/number/currency   formaYng     Features  

Slide 38

Slide 38 text

Media  -­‐  related  to  audio  playback  (supports   record  as  well)   No&fica&on  -­‐  visual,  audible,  and  tacHle   noHficaHons   Splashscreen  -­‐  for  your  splash  screen  needs   Storage  -­‐  Mini  database   Features  

Slide 39

Slide 39 text

PhoneGap  3.0  

Slide 40

Slide 40 text

Beyond  the  mobile  web   PhoneGap  is  extensible  with  a  “naHve  plugin”   model  that  enables  you  to  write  your  own   naHve  logic  to  access  via  JavaScript.       There  are  lots  of  open  source  plugins  at   h\ps://github.com/phonegap/phonegap-­‐ plugins       Learn  more  at  h\p://wiki.phonegap.com/w/ page/36752779/  PhoneGap%20Plugins      

Slide 41

Slide 41 text

PhoneGap  Community  (some…)  

Slide 42

Slide 42 text

Building  it   phonegap.com/start  

Slide 43

Slide 43 text

Command  Line  Interface   docs.phonegap.com/en/3.0.0/guide_cli_index.md.html  

Slide 44

Slide 44 text

Building  it   build.phonegap.com  

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

No content

Slide 48

Slide 48 text

         Park  Finder  HD      A  demonstraHon  of  jQuery  Mobile  and  PhoneGap  Build      Chris  Griffith                                                                                                        

Slide 49

Slide 49 text

                                                                                                                                                                 

Slide 50

Slide 50 text

                                                                                             

Slide 51

Slide 51 text

ConfiGAP   configap.com  

Slide 52

Slide 52 text

Building  it    

Slide 53

Slide 53 text

•  Desktop  Browser   •  Mobile  via  Web   •  Ripple  Emulator   •  Local  SDK  to  Simulator/Device   REAL  WORLD  BUILDING  

Slide 54

Slide 54 text

•  Pro:  Super  Fast   •  Pro:  No  setup   •  Pro:  Debugging  Rocks   •  Con:  UI  isn't  right   •  Con:  UX  isn't  right   •  Con:  Features  missing   •  Con:  Security  restricHons   DESKTOP  BROWSER  

Slide 55

Slide 55 text

•  Pro:  Kinda  Fast   •  Pro:  Minimal  setup   •  Pro:  UI  and  UX  tesHng   •  Con:  Features  missing   •  Con:  Security  restricHons   •  Con:  Debugging  (kinda)  sucks   MOBILE  VIA  WEB  

Slide 56

Slide 56 text

•  Pro:  Fast   •  Pro:  Similar  UI   •  Pro:  Free   •  Pro:  Security  restricHons  gone   •  Con:  Doesn't  support  100%  of  the  PhoneGap   APIs   •  Con:  SHll  not  on  the  device   RIPPLE  EMULATOR  

Slide 57

Slide 57 text

•  Go  to  the  Chrome  Web  Store:     h\ps://chrome.google.com/webstore/category/home   •  Search  for  "ripple"   •  Click  Extensions   TO  INSTALL  

Slide 58

Slide 58 text

No content

Slide 59

Slide 59 text

•  Pro:  The  Real  Deal   •  Con:  Slow(ish)   •  Con:  Not  Free   •  Con:  Debugging  can  suck   TO  BE  CLEAR:     YOU  MUST  ALWAYS  TEST  ON  A  REAL  DEVICE   LOCAL  SDK  TO  SIMULATOR/DEVICE  

Slide 60

Slide 60 text

Hydra&on  

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

Now  go  build  something!  

Slide 63

Slide 63 text

Thanks!   chris.griffi[email protected]   @chrisgriffith   h\p://chrisgriffith.wordpress.com/