phonegap build - GarthDB/phonegap-day-workshop-beginner GitHub Wiki

PhoneGap Build

http://build.phonegap.com/

Table of Contents

  1. Overview
  2. Sign Up
  3. Create and Build a Project
  4. Install the App

Overview

PhoneGap Build is a compiler in the cloud. With PhoneGap Build, there's no need to install local SDKs in order to create installable binaries.

This is different from the PhoneGap Developer App, which allows you to preview your app on a device (not install it). Although, soon PhoneGap Build will support the PhoneGap Developer App!

Warning: you will need an Android device to easily install apps from PhoneGap Build. iOS and Windows Phone devices require signing certifications and unlocking, which requires a developer account or SDK.

Sign Up

  1. Go to http://build.phonegap.com/
  2. Click Register.
  3. Select the Free plan.
  4. Sign-in with or Register an Adobe ID.

Create and Build a Project

  1. Click the Upload a .zip file button.

  2. Select your downloaded phonegap-app-pgday app.

  3. Wait for the upload to complete.

  4. Click the Ready to build button.

  5. Wait for the builds to finish.

iOS will immediately fail. This happens because you have not provided an iOS provisioning profile and signing key. In order to provide these details, you would need a paid Apple Developer account.

Install the App

iOS

Unfortunately, we cannot install the iOS app without uploading the provisioning profile and signing keys.

Android

First, you will need to enable apps from outside the Play Store:

  1. Open Settings
  2. Select Security
  3. Check Unknown sources

Next, you will need a QR Code scanner:

  1. Try QR Droid Code Scanner.
  2. Now scan the QR Code displayed on PhoneGap Build.

Windows Phone

You'll need the free Windows SDK in order to install the app onto a device.

  1. Download and install Visual Studio Express.
  2. Register your device using the Windows Phone Developer Registration Tool.
  3. Download the app from PhoneGap Build
  • Click the Windows Phone icon
  1. Run the Windows Phone Application Deployment Tool