Use your business data to your advantage with the help of Syncfusion’s new data science offerings. Discover how a custom big data solution can provide your company with valuable predictions about key market trends.

PhoneGap 2.x Mobile Application Development HOTSHOT

Want this title & more?

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 139781849519403

Paperback388 pages

About This Book

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

Who This Book Is For

If you are a developer looking to create a mobile app using HTML, CSS, and JavaScript, then this book is for you. While this book should be approachable for anyone looking to create mobile apps using PhoneGap, you should have some degree of experience using HTML, CSS, and JavaScript. You should also be able to create the basic PhoneGap project in the IDE of your choice (XCode, Eclipse, or Visual Studio). Understanding Java, C#, or Objective C is not required.

Table of Contents

Chapter 1: Let's Get Local!

What do we build?

Designing the app – UI/interactions

Designing the data model

What did we do?

Implementing the data model

Implementing the start view

Implementing our game view

Implementing the end view

Putting it all together

Game Over..... Wrapping it up

Can you take the HEAT? The Hotshot Challenge

Chapter 2: Let's Get Social!

What do we build?

Designing the app – UI/interaction design

Designing the app – the data model

Implementing the data model

Configuring the plugins

Implementing the social view

Implementing the tweet view

Game Over..... Wrapping it up

Can you take the HEAT? The Hotshot Challenge

Chapter 3: Being Productive

What do we build?

Designing the user interface

Designing the data model

Implementing the data models

Implementing documents view

Implementing the file view

Game Over..... Wrapping it up

Can you take the HEAT? The Hotshot Challenge

Chapter 4: Let's Take a Trip

What do we build?

Designing our UI and the look and feel

Designing our data model

Implementing our data model

Changing our document manager

Implementing our map view

Game Over..... Wrapping it up

Can you take the HEAT? The HotshotChallenge

Chapter 5: Talking to Your App

What do we build?

Designing the user interface and the look and feel

Designing the data model

Implementing the data model

Implementing gesture support

Implementing the main view

Game Over..... Wrapping it up

Can you take the HEAT? The Hotshot Challenge

Chapter 6: Say Cheese!

What do we build?

Designing the user interface and the look and feel

Designing the data model

Implementing the document view

Implementing the image view

Game Over..... Wrapping it up

Can you take the HEAT? The Hotshot Challenge

Chapter 7: Let's Go to the Movies!

What do we build?

Preparing for the video thumbnail plugin

Implementing the video thumbnail plugin for iOS

Implementing the video thumbnail plugin for Android

Integrating with the video thumbnail plugin

Implementing recording and importing of video

Implementing video playback

Game Over..... Wrapping it up

Can you take the HEAT? The Hotshot Challenge

Chapter 8: Playing Around

What do we build?

Designing the game

Implementing the options view

Generating levels

Drawing to the canvas

Keeping up

Performing updates

Handling touch-based input

Handling the accelerometer

Game Over..... Wrapping it up

Can you take the HEAT? The Hotshot Challenge

Chapter 9: Blending In

What do we build?

Installing the plugins

Adding the navigation bar

Adding the tab bar

Adding the ActionSheet

Adding the message box

Adding the picker

Adding the e-mail composer

Game Over..... Wrapping it up

Can you take the HEAT? The Hotshot Challenge

Chapter 10: Scaling Up

What do we build?

Designing the scaled-up UI

Implementing the scaled-up UI

Designing the split-view UI

Implementing the split-view UI

Game Over..... Wrapping it up

Can you take the HEAT? The Hotshot Challenge

What You Will Learn

Explore localization and globalization tools

Interact with various social networks

Create, save, and retrieve user-created data

Learn about maps and geolocation

Interact with the camera and the photographs it creates

Work with playing and recording both audio and video

Create a fun, high-performance game

Integrate with custom plugins to extend the functionality of PhoneGap, including how to use native UI controls

Explore mobile app design patterns

Discover how to migrate a phone app to a tablet app

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.

Authors

Kerri Shotts

Kerri Shotts has worked with computers for nearly 25 years. Her love for technology and programming started when she was introduced to her first computer, which was a Commodore 64. She obtained a degree in computer science at college and eventually became a software test engineer. Later on, she worked as an Oracle Database Administrator for several years. Now, she owns her own company and works as a technology consultant. Kerri is responsible for creating, designing, and maintaining custom applications (both desktop and mobile), websites, graphics, and logos for her clients. She has been actively involved with PhoneGap for several years, and has written several native and hybrid applications. You can find her blog posts at http://www.photokandy.com. Kerri is also active on the Google Group for PhoneGap and Stack Overflow. When she isn't coding or writing, she enjoys photography, music, and fishkeeping. She is the author of three other books published by Packt Publishing, including PhoneGap 3.x Mobile Application Development Hotshot.

Alerts & Offers

Series & Level

We understand your time is important. Uniquely amongst the major publishers, we seek to develop and publish the broadest range of learning and information products on each technology. Every Packt product delivers a specific learning pathway, broadly defined by the Series type. This structured approach enables you to select the pathway which best suits your knowledge level, learning style and task objectives.

Learning

As a new user, these step-by-step tutorial guides will give you all the practical skills necessary to become competent and efficient.

Beginner's Guide

Friendly, informal tutorials that provide a practical introduction using examples, activities, and challenges.

Essentials

Fast paced, concentrated introductions showing the quickest way to put the tool to work in the real world.

Cookbook

A collection of practical self-contained recipes that all users of the technology will find useful for building more powerful and reliable systems.

Blueprints

Guides you through the most common types of project you'll encounter, giving you end-to-end guidance on how to build your specific solution quickly and reliably.

Mastering

Take your skills to the next level with advanced tutorials that will give you confidence to master the tool's most powerful features.

Starting

Accessible to readers adopting the topic, these titles get you into the tool or technology so that you can become an effective user.

Progressing

Building on core skills you already have, these titles share solutions and expertise so you become a highly productive power user.