PhoneGap and AngularJS for Cross-platform Development

Build exciting cross-platform applications using PhoneGap and AngularJS

PhoneGap and AngularJS for Cross-platform Development

Starting
Yuxian, Eugene Liang

Build exciting cross-platform applications using PhoneGap and AngularJS
$19.99
$32.99
RRP $19.99
RRP $32.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 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 139781783988921
Paperback122 pages

About This Book

  • Create a simple web-based app using AngularJS
  • Build PhoneGap apps for iOS and Android with AngularJS, HTML, and CSS
  • Learn how to use PhoneGap’s command-line interface to build mobile applications using easy-to-follow, step-by-step exercises

Who This Book Is For

This book is intended for people who are not familiar with AngularJS and who want to take their PhoneGap development skills further by developing apps using different JavaScript libraries. People with some knowledge of PhoneGap, HTML, CSS, and JavaScript will find this book immediately useful.

Table of Contents

Chapter 1: Introduction to AngularJS
A brief overview of AngularJS
A simple to-do list using AngularJS
Summary
Chapter 2: Getting Ready for PhoneGap
Preparing for PhoneGap development
Command-line interface for both Android and iOS
AngularJS on PhoneGap
Creating a to-do list app using AngularJS on PhoneGap
Summary
Chapter 3: From a Simple To-do List to an Advanced To-do List
Rewriting the simple to-do list app
Wiring up a backend server
Preparing for PhoneGap
Testing our code on iOS
Testing our code on Android
Summary
Chapter 4: Adding Authentication Capabilities Using PhoneGap Plugins
Adding Facebook Connect to the to-do list app
Facebook login for PhoneGap
From web to PhoneGap
The to-do list app with Facebook Login on PhoneGap
Summary
Chapter 5: Sprucing Up the App Using Animations and Mobile Design
Adding animations to your web app
Adding mobile CSS styles to your app
Porting your web app to PhoneGap
Summary
Chapter 6: Getting Ready to Launch
Deploying server.py
Using phonegap.com
Preparing your PhoneGap app for an Android release
iOS
Summary

What You Will Learn

  • Learn about the features of AngularJS and use it to organize your code
  • Create RESTful web apps using AngularJS
  • Reduce the hassle of developing PhoneGap apps using the command-line interface
  • Quickly integrate AngularJS to enhance authentication capabilities via PhoneGap plugins
  • Use AngularJS touch modules to optimize your PhoneGap app
  • Build a cross-platform application with PhoneGap and AngularJS
  • Learn how to use the concepts of two-way data binding and directives along with PhoneGap for mobile application development

In Detail

PhoneGap is a mobile development framework that allows developers to build cross-platform mobile applications. Building PhoneGap apps is traditionally done using HTML, CSS, jQuery Mobile, Eclipse Editor, and/or Xcode. The process can be cumbersome, from setting up your editor to optimizing your usage of jQuery, and so on. However, AngularJS, a new but highly popular JavaScript framework, eases these tasks with APIs to get access to mobile APIs such as notifications, geo-location, accelerometers, and more. Starting with the absolute basics of building an AngularJS application, this book will teach you how to quickly set up PhoneGap apps using the command-line interface.

You will learn how to create simple to advanced to-do lists and add authentication capabilities using PhoneGap's plugins. You will enhance your skills by writing a PhoneGap app using your newly learned AngularJS skills. Furthermore, you will learn about adding animation and interactive designs to your mobile web apps using PhoneGap plugins. By the end of the book, you will know everything you need to launch your app on both Android and iOS devices.

Authors

Table of Contents

Chapter 1: Introduction to AngularJS
A brief overview of AngularJS
A simple to-do list using AngularJS
Summary
Chapter 2: Getting Ready for PhoneGap
Preparing for PhoneGap development
Command-line interface for both Android and iOS
AngularJS on PhoneGap
Creating a to-do list app using AngularJS on PhoneGap
Summary
Chapter 3: From a Simple To-do List to an Advanced To-do List
Rewriting the simple to-do list app
Wiring up a backend server
Preparing for PhoneGap
Testing our code on iOS
Testing our code on Android
Summary
Chapter 4: Adding Authentication Capabilities Using PhoneGap Plugins
Adding Facebook Connect to the to-do list app
Facebook login for PhoneGap
From web to PhoneGap
The to-do list app with Facebook Login on PhoneGap
Summary
Chapter 5: Sprucing Up the App Using Animations and Mobile Design
Adding animations to your web app
Adding mobile CSS styles to your app
Porting your web app to PhoneGap
Summary
Chapter 6: Getting Ready to Launch
Deploying server.py
Using phonegap.com
Preparing your PhoneGap app for an Android release
iOS
Summary

Book Details

ISBN 139781783988921
Paperback122 pages
Read More