Free Sample
+ Collection

PhoneGap 3.x Mobile Application Development HOTSHOT

Progressing
Kerri Shotts

Use Phonegap 3 for development of useful and exciting real-world mobile applications for iOS and Android devices with 12 fantastic app projects in this book.
$32.99
$53.99
RRP $32.99
RRP $53.99
eBook
Print + eBook

Want this title & more?

$16.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783287925
Paperback450 pages

About This Book

  • Use PhoneGap 3.x effectively to build real, functional mobile apps ranging from productivity apps to a simple arcade game
  • Explore often-used design patterns in apps designed for mobile devices
  • Fully practical, project-based approach to give you the confidence in developing your app independently

Who This Book Is For

If you are a mobile developer who is familiar with Phonegap basics and wants to quickly create some cool mobile applications with Phonegap, this book is for you. You should have some experience working with JavaScript, HTML, CSS, and also be able to use your operating system's command-line interface. No experience with Java, C#, or Objective C is required.

Table of Contents

Chapter 1: Your First Project
What do we build?
Installing Node.js and configuring SDKs
Installing Cordova/PhoneGap
Creating your first project
Managing your project's platforms
Managing your project's plugins
Building your project
Deploying your project to a simulator/device
Game Over..... Wrapping it up
Can you take the HEAT? The Hotshot Challenge
Chapter 2: Localization and Globalization
What do we build?
Creating the template
Creating a new project based on an existing template
Introducing the YASMF v0.4 framework
Determining the user's locale
Formatting numbers and dates
Translating text
Game Over..... Wrapping it up
Can you take the HEAT? The Hotshot Challenge
Chapter 3: Mobile Application Design
What do we build?
Designing the user interface
Designing the data model
Implementing the Base Note data model
Implementing the Note Storage model
Implementing the note list view
Implementing the text note edit view
Implementing the CSS
Putting it all together
Game Over..... Wrapping it up
Can you take the HEAT? The Hotshot Challenge
Chapter 4: The File API
What do we build?
Covering the File API
Covering Promises and Q.js
Covering YASMF's FileManager file
Changing the Note Storage model
Game Over..... Wrapping it up
Can you take the HEAT? The Hotshot Challenge
Chapter 5: Working with Audio
What do we build?
Covering the Media API
Designing the user interface
Designing the data model
Implementing the data model
Covering Hammer.js
Covering the view stack
Implementing the user interface
Putting it all together
Game Over..... Wrapping it up
Can you take the HEAT? The Hotshot Challenge
Chapter 6: Working with Still Images
What do we build?
Designing the user interface
Defining the data model
Covering the Camera API
Implementing the data model
Implementing the user interface
Putting it all together
Game Over..... Wrapping it up
Can you take the HEAT? The Hotshot Challenge
Chapter 7: Capturing Video
What do we build?
Designing the user interface
Covering the Capture API
Covering native, native-like, and non-native alerts
Implementing the data model
Implementing the user interface
Putting it all together
Game Over..... Wrapping it up
Can you take the HEAT? The Hotshot Challenge
Chapter 8: Sharing Content
What do we build?
Handling device events
Working with the sharing plugin
Modifying the text note edit view
Modifying the image note edit view
Game Over..... Wrapping it up
Can you take the HEAT? The Hotshot Challenge
Chapter 9: Devices of Different Sizes
What do we build?
What is responsive design?
Response 1 – scaling up
Response 2 – changing the layout
Response 3 – split view
Game Over..... Wrapping it up
Can you take the HEAT? The Hotshot Challenge
Chapter 10: Maps and GPS
What do we build?
Designing our app's UI and its look and feel
Exploring geolocation
Designing our data models
Loading the Google Maps API
Implementing our data models
Implementing our path edit view
Putting it all together
Game Over..... Wrapping it up
Can you take the HEAT? The Hotshot Challenge
Chapter 11: Canvas Games and the Accelerometer
What do we build?
Designing the game
Implementing the Start view
Implementing the Options view
Implementing the Game view
Generating levels
Drawing on the canvas
Performing updates
Touched-based input
Accelerometer-based input
Game Over..... Wrapping it up
Can you take the HEAT? The Hotshot Challenge
Chapter 12: Building a Backend – Working with Parse
What do we build?
Configuring Parse
Modifying the Options view
Submitting scores
Displaying scores
Modifying the Start view
Game Over..... Wrapping it up
Can you take the HEAT? The Hotshot Challenge

What You Will Learn

  • Explore localization and globalization
  • Create, save, and retrieve data using persistent device storage
  • Record audio using a microphone
  • Capture images and video using a camera
  • Share content to social media networks
  • Optimize your app for tablet-sized devices
  • Locate the user's device using geolocation
  • Interact with the accelerometer to create a fun arcade game
  • Use core and third-party plugins to extend PhoneGap
  • Look at mobile application design patterns

In Detail

PhoneGap allows you to use your existing knowledge of HTML, CSS, and JavaScript to create useful and exciting mobile applications.

This book will present you with 12 exciting projects that will introduce you to the dynamic world of app development in PhoneGap. Starting with their design and following through to their completion, you will develop real-world mobile applications. Each app uses a combination of core PhoneGap technologies, plugins, and various frameworks covering the necessary concepts you can use to create many more great apps for mobile devices.

Authors

Read More