Book Image

PhoneGap Beginners Guide (third edition)

Book Image

PhoneGap Beginners Guide (third edition)

Overview of this book

Table of Contents (22 chapters)
PhoneGap Beginner's Guide Third Edition
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Related Plugin Resources
Index

Building and deployment


Once you are done with your development, you might want to test the application on a real mobile device. Each mobile platform will have a different kind of binary format for the applications. For example, Android application files will have the .apk extension. Similarly, each platform will have a different format for the application.

To create binary files for all platforms from your source code, you need to build the application either locally or by using a cloud service.

If you are building the application locally, you need to run the command-line interface, and the required platform's SDK should be installed on the machine. The CLI supports the following combinations on each operating system:

Windows

Linux

Mac

Amazon Fire OS

Android

BlackBerry 10

Windows Phone 7

Windows Phone 8

Windows 8

Firefox OS

Amazon Fire OS

Android

BlackBerry 10

Firefox OS

iOS (only on Mac)

This table makes it clear that you can't build an iOS application on a Windows machine or a Windows...