Presentation is loading. Please wait.

Presentation is loading. Please wait.

Phonegap Deployment CIS 136 Building Mobile Apps 1.

Similar presentations


Presentation on theme: "Phonegap Deployment CIS 136 Building Mobile Apps 1."— Presentation transcript:

1 Phonegap Deployment CIS 136 Building Mobile Apps 1

2 2

3 Phonegap Build 3  PhoneGap Build is a cloud-based service built on top of the PhoneGap framework  allows you to easily build mobile apps in the cloud  Compiles and packages the app  You receive the download URLs for all mobile platforms

4 Phonegap Build 4  A cloud service for creating apps from a single code base  creates binary files for all of the major platforms at the same time, and in one place

5 Benefits of Phonegap Build 5  Can configure app properties across all platforms  Can target specific versions of phonegap to maximize compatibility  Can make changes to app and immediately  update the code to recreate the binary  uses the Hydration feature

6 Packing the app 6  PhoneGap Build requires an application to be packaged in a specific manner that may not be intuitive  uses an open packaging model that follows the W3C Widget Packaging specification (http://www.w3.org/TR/widgets/)W3C Widget Packaging specification  PhoneGap Build only requires the assets of your application  essentially your www directory which contains your html, css, images, js files, etc.  PhoneGap Build's only requirement for your application structure is that the config.xml and index.html is in the top level of your application (in the www folder)

7 Preparing the assets 7  Code cleanup  Remove unnecessary files  ensure that the following reference is made in your index.html  Note: this is interchangeable with  Make sure the config.xml file is correct

8 Performing the Build 8  Sign up for an Adobe account (build.phonegap.com)  Zip up your app and upload it (Can use a GIT/SVN repository )  Compile the app into a binary file  Download the file onto the device


Download ppt "Phonegap Deployment CIS 136 Building Mobile Apps 1."

Similar presentations


Ads by Google