You are previewing PhoneGap 2.x Mobile Application Development HOTSHOT.
O'Reilly logo
PhoneGap 2.x Mobile Application Development HOTSHOT

Book Description

Create exciting apps for mobile devices using PhoneGap

  • Ten apps included to help you get started on your very own exciting mobile app

  • These apps include working with localization, social networks, geolocation, as well as the camera, audio, video, plugins, and more

  • Apps cover the spectrum from productivity apps, educational apps, all the way to entertainment and games

  • Explore design patterns common in apps designed for mobile devices

  • Many exciting and engaging suggestions that you can use to improve your apps

  • A practical guide for those with some HTML, JavaScript, and CSS experience who want to take their ideas to the next frontier: mobile apps

In Detail

Do you want to create mobile apps that run on multiple mobile platforms? With PhoneGap (Apache Cordova), you can put your existing development skills and HTML, CSS, and JavaScript knowledge to great use by creating mobile apps for cross-platform devices.

"PhoneGap 2.x Mobile Application Development Hotshot" covers the concepts necessary to let you create great apps for mobile devices. The book includes ten apps varying in difficulty that cover the gamut – productivity apps, games, and more - that are designed to help you learn how to use PhoneGap to create a great experience.

"PhoneGap 2.x Mobile Application Development Hotshot" covers the creation of ten apps, from their design to their completion, using the PhoneGap APIs. The book begins with the importance of localization and how HTML, CSS, and JavaScript interact to create the mobile app experience. The book then proceeds through mobile apps of various genres, including productivity apps, entertainment apps, and games. Each app covers specific items provided by PhoneGap that help make the mobile app experience better. This book covers the camera, geolocation, audio and video, and much more in order to help you create feature-rich mobile apps

Table of Contents

  1. PhoneGap 2.x Mobile Application Development HOTSHOT
    1. Table of Contents
    2. PhoneGap 2.x Mobile Application Development HOTSHOT
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
        1. What do we build?
        2. What does it do?
        3. Why is it great?
        4. How are we going to do it?
        5. What do I need to get started?
        6. Task 1
        7. Getting Ready
        8. Getting on with it
        9. What did we do?
        10. What else do I need to know
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Let's Get Local!
      1. What do we build?
        1. What does it do?
        2. Why is it great?
        3. How are we going to do it?
        4. What do I need to get started?
      2. Designing the app – UI/interactions
        1. Getting on with it
        2. What did we do?
      3. Designing the data model
        1. Getting ready
        2. Getting on with it
      4. What did we do?
      5. Implementing the data model
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      6. Implementing the start view
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      7. Implementing our game view
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      8. Implementing the end view
        1. Getting on with it
        2. What did we do?
      9. Putting it all together
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      10. Game Over..... Wrapping it up
      11. Can you take the HEAT? The Hotshot Challenge
    9. 2. Let's Get Social!
      1. What do we build?
        1. What does it do?
        2. Why is it great?
        3. How are we going to do it?
        4. What do I need to get started?
      2. Designing the app – UI/interaction design
        1. Getting on with it
        2. What did we do?
      3. Designing the app – the data model
        1. Getting on with it
        2. What did we do?
      4. Implementing the data model
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      5. Configuring the plugins
        1. Getting ready
        2. Getting on with it
          1. Plugin configuration for iOS
          2. Plugin configuration for Android
        3. What did we do?
        4. What else do I need to know?
      6. Implementing the social view
        1. Getting ready
        2. Getting on with it
        3. What did we do?
      7. Implementing the tweet view
        1. Getting ready
        2. Getting on with it
        3. What did we do?
        4. What else do I need to know?
      8. Game Over..... Wrapping it up
      9. Can you take the HEAT? The Hotshot Challenge
    10. 3. Being Productive
      1. What do we build?
        1. What does it do?
        2. Why is it great?
        3. How are we going to do it?
        4. What do I need to get started?
      2. Designing the user interface
        1. Getting on with it
        2. What did we do?
      3. Designing the data model
        1. Getting on with it
        2. What did we do?
      4. Implementing the data models
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      5. Implementing documents view
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      6. Implementing the file view
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      7. Game Over..... Wrapping it up
      8. Can you take the HEAT? The Hotshot Challenge
    11. 4. Let's Take a Trip
      1. What do we build?
        1. What does it do?
        2. Why is it great?
        3. How are we going to do it?
        4. What do I need to get started?
      2. Designing our UI and the look and feel
        1. Getting ready
        2. Getting on with it
        3. What did we do?
      3. Designing our data model
        1. Getting ready
        2. Getting on with it
        3. What did we do?
      4. Implementing our data model
        1. Getting ready
        2. Getting on with it
        3. What did we do?
      5. Changing our document manager
        1. Getting ready
        2. Getting on with it
        3. What did we do?
      6. Implementing our map view
        1. Getting ready
        2. Getting on with it
        3. What did we do?
        4. What else do I need to know?
      7. Game Over..... Wrapping it up
      8. Can you take the HEAT? The HotshotChallenge
    12. 5. Talking to Your App
      1. What do we build?
        1. What does it do?
        2. Why is it great?
        3. How are we going to do it?
        4. What do I need to get started?
      2. Designing the user interface and the look and feel
        1. Getting on with it
        2. What did we do?
      3. Designing the data model
        1. Getting on with it
        2. What did we do?
      4. Implementing the data model
        1. Getting ready
        2. Getting on with it
        3. What did we do?
        4. What else do I need to know?
      5. Implementing gesture support
        1. Getting ready
        2. Getting on with it
        3. What did we do?
      6. Implementing the main view
        1. Getting ready
        2. Getting on with it
        3. What did we do?
      7. Game Over..... Wrapping it up
      8. Can you take the HEAT? The Hotshot Challenge
    13. 6. Say Cheese!
      1. What do we build?
        1. What does it do?
        2. Why is it great?
        3. How are we going to do it?
        4. What do I need to get started?
      2. Designing the user interface and the look and feel
        1. Getting on with it
        2. What did we do?
      3. Designing the data model
        1. Getting on with it
        2. What did we do?
      4. Implementing the document view
        1. Getting ready
        2. Getting on with it
        3. What did we do?
        4. What else do I need to know?
      5. Implementing the image view
        1. Getting ready
        2. Getting on with it
        3. What did we do?
      6. Game Over..... Wrapping it up
      7. Can you take the HEAT? The Hotshot Challenge
    14. 7. Let's Go to the Movies!
      1. What do we build?
        1. What does it do?
        2. Why is it great?
        3. How are we going to do it?
        4. What do I need to get started?
      2. Preparing for the video thumbnail plugin
        1. Getting ready
        2. Getting on with it
          1. Configuring the project to use the plugins
          2. Creating the JavaScript interface
        3. What did we do?
      3. Implementing the video thumbnail plugin for iOS
        1. Getting ready
        2. Getting on with it
        3. What did we do?
        4. What else do I need to know?
      4. Implementing the video thumbnail plugin for Android
        1. Getting ready
        2. Getting on with it
        3. What did we do?
        4. What else do I need to know?
      5. Integrating with the video thumbnail plugin
        1. Getting ready
        2. Getting on with it
        3. What did we do?
      6. Implementing recording and importing of video
        1. Getting ready
        2. Getting on with it
        3. What did we do?
      7. Implementing video playback
        1. Getting ready
        2. Getting on with it
        3. What did we do?
      8. Game Over..... Wrapping it up
      9. Can you take the HEAT? The Hotshot Challenge
    15. 8. Playing Around
      1. What do we build?
        1. What does it do?
        2. Why is it great?
        3. How are we going to do it?
        4. What do I need to get started?
      2. Designing the game
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      3. Implementing the options view
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      4. Generating levels
        1. Getting ready
        2. Getting on with it
        3. What did we do?
        4. What else do I need to know?
      5. Drawing to the canvas
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      6. Keeping up
        1. Getting on with it
        2. What did we do?
      7. Performing updates
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      8. Handling touch-based input
        1. Getting on with it
        2. What did we do?
      9. Handling the accelerometer
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      10. Game Over..... Wrapping it up
      11. Can you take the HEAT? The Hotshot Challenge
    16. 9. Blending In
      1. What do we build?
        1. What does it do?
        2. Why is it great?
        3. How are we going to do it?
        4. What do I need to get started?
      2. Installing the plugins
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      3. Adding the navigation bar
        1. Getting ready
        2. Getting on with it
        3. What did we do?
        4. What else do I need to know?
      4. Adding the tab bar
        1. Getting ready
        2. Getting on with it
        3. What did we do?
        4. What else do I need to know?
      5. Adding the ActionSheet
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      6. Adding the message box
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      7. Adding the picker
        1. Getting on with it
        2. What did we do?
      8. Adding the e-mail composer
        1. Getting on with it
        2. What did we do?
      9. Game Over..... Wrapping it up
      10. Can you take the HEAT? The Hotshot Challenge
    17. 10. Scaling Up
      1. What do we build?
        1. What does it do?
        2. Why is it great?
        3. How are we going to do it?
        4. What do I need to get started?
      2. Designing the scaled-up UI
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      3. Implementing the scaled-up UI
        1. Getting ready
        2. Getting on with it
        3. What did we do?
        4. What else do I need to know?
      4. Designing the split-view UI
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      5. Implementing the split-view UI
        1. Getting on with it
        2. What did we do?
        3. What else do I need to know?
      6. Game Over..... Wrapping it up
      7. Can you take the HEAT? The Hotshot Challenge
    18. A. Quick Design Pattern Reference
      1. The navigation list
      2. The grid
      3. Carousel 1
      4. Carousel 2
      5. The login screen
      6. The sign-up form
      7. The table
      8. The list of choices
      9. Doing things in bulk
      10. Searching
      11. Some things to keep in mind
      12. Summary
    19. B. InstallingShareKit 2.0
    20. Index