MOBILE DEVELOPMENT
    WITH PHONEGAP
            Daniel Ramos
       Sr.Mobile Engineer

           @dannyGeek

      #cosit2012
Phonegap

 WTF???
Phonegap , WHAT??


 PhoneGap is an open source framework for
 quickly building cross-platform mobile apps
 using HTML5, Javascript and CSS.


  http://www.youtube.com/watch?feature=player
  _detailpage&v=wOH4aGows40
How much does
PhoneGap cost?
Phonegap                              $$$


 PhoneGap is an open source implementation of
 open standards and FREE. That means developers
 and companies can use PhoneGap for mobile
 applications that are free, commercial, open source,
 or any combination of these..
How does it work?
https://build.phonegap.com
Build
  DEMO
https://build.phonegap.com/apps/194298/share
Download
&
Archives
PhoneGap 2.0.0

     1   • Cordova WebView

         • Command Line Tooling
     2     (CLI) (Android, iOS and
           BlackBerry)

     3   • Cordovajs
PhoneGap 2.0.0

     4   • Windows Phone support

         • Improvement to iOS app
     5     creation

         • Web Inspector Remote
     6     (Weinre)
I want it now!
where start?
Getting Started Guides

         • Getting Started with
     1     Android

         • Getting Started with
     2     Blackberry

     3   • Getting Started with iOS
Command-
Line Usage
Command-Line Usage
•   Create a project
•   Build a project
•   Launch emulator
•   Logging
DEMO
COMMAND-LINE
USAGE
Supported
Features
Supported Features




    http://phonegap.com/about/feature
Apache
Cordova
Documentation
Apache Cordova Documentation




    http://docs.phonegap.com/en/2.0.0/index.html
DEMO
             CAMARA
http://docs.phonegap.com/en/2.0.0/cordova_c
amera_camera.md.html#Camera
WHAT’S COMING?
Upcoming changes for Cordova
 iOS 2.1.0

                                      Removal of the
                                       VERSION file
                                      dependency in
                                          code
                         Removal of
iOS 6




                         the use of
                        CORDOVALIB
          Automatic
          Reference
          Counting
        (ARC) support

                        Time Spent
PhoneGap 2.1.0

         • Automatic Reference
     3     Counting (ARC) support

         • Removal of the (.pkg)
     4     Installer

     5   • Cordovajs
PhoneGap 2.1.0
         • Command-line scripts
     7     supports spaces in
           pathnames, symlinks

         • Whitelist format is less
     8     strict

         • New JavaScript->Native
     9     bridge
Want to Contribute?
• First, make sure you have signed the Apache
  CLA.
• Next, clone the git repository for the project
  you are wishing to contribute to.
• Finally, to share your changes with the
  community, you can send a pull request on
  GitHub to the Apache git mirrors.

http://incubator.apache.org/cordova/#contribute
Resources
• Phonegap youtube
  http://www.youtube.com/phonegap

• Getting Started with PhoneGap
  http://tv.adobe.com/watch/adc-presents-
  phonegap/getting-started-with-phonegap/

• Tools:
  http://phonegap.com/tool

• Blog
• http://phonegap.com/blog
QUESTIONS?


@DANNYGEEK
TALLER:
                     DESARROLLO MÓVIL CON
                     PHONEGAP PARA
                     ANDROID
                     16:00 – 20:00 HRS
http://www.cosit.mx/2012/desarrollo-movil-
con-phonegap-para-android/

Mobile Development with PhoneGap

Editor's Notes

  • #4 <iframe width="640" height="360" src="http://www.youtube.com/embed/wOH4aGows40?feature=player_detailpage" frameborder="0" allowfullscreen></iframe>
  • #20 http://docs.phonegap.com/en/2.0.0/index.html
  • #22 http://docs.phonegap.com/en/2.0.0/index.html
  • #25 Use a section header for each of the topics, so there is a clear transition to the audience.
  • #27 This is another option for an overview slide.
  • #28 This is another option for an overview slide.