PhoneGap is a free and open source framework that allows you to create mobile apps using standardized web APIs for the platforms you care about. It internally used the Apache Cordova device APIs.

If you want to run your UI5 app natively on mobile devices such as Android, iPhone or Windows Phone, you will require PhoneGap to package all the things you need.

PhoneGap also has a unified JavaScript API that standardizes access to native devices APIs like Accelerometer, Camera, Storage, etc. The full list of Supported Features on each device is represented as a chart.

To install PhoneGap you will need node.js as a prerequisite.

Install PhoneGap using NPM
npm install -g phonegap

To create your first app use CMD line
phonegap create hello de.uniorg.hello HelloWorld
cd hello
phonegap build android
phonegap run android

Furthermore, you are able to add additional PhoneGap Plugins to add-advanced features like a BarcodeScanner
phonegap plugin add

If you do not have a Windows GIT command line tool installed, you can download and unzip the repository to a custom filepath and add it this way
phonegap plugin add d:\UI5\PhoneGap\plugins\BarcodeScanner

The PhoneGap Developer App

The PhoneGap Developer app is a testing utility for web developers and designers using the PhoneGap framework. After installing the PhoneGap Developer app you will be able to connect to your PhoneGap desktop app to instantly view and test your work on the device.
Using The PhoneGap Developer App you can locally devlop you mobile app and test it On-The-Fly on your iOS or Android device. All you have to do is to start the phonegap server on your desktop and connect your device using the native developer app.

Adobe PhoneGap Build

PhoneGap Build takes the pain out of compiling PhoneGap apps. Get app-store ready apps without the headache of maintaining native SDKs. Our PhoneGap Build service does the work for you by compiling in the cloud.
Currently, building for IOS is only possible using an Apple Mac OSX system. To be able to build Apple iOS Apps without a Mac Book you can use the Adobe PhoneGap Build and package in the cloud.

You can build unlimited public apps and one private app. More private apps are available on a paid plan. For $10/month you will get 25 private apps.

The built apps can be installed directly from the cloud using an QR-Code or the full web link. Apple iOS apps need an additional certificate key from the Apple iOS Developer Program. You have to be part of the Apple Developer Program which has an annual membership fee of $99/year.

Special tips for building apps for iOS:

  • The setting "Enable Hydration" has to be disabled. The iOS built service will currently not work using this option.
  • Use a Development Certiticate and an iOS Development Provisioning Profile because distribution profiles can only be used on the Apple Store to provide public available apps. The built apps are only deployable to predefined devices included in the provisioning profile (added to your Apple program). 

No comments:

Post a Comment

Thank you for your comment!

The comment area is not intended to be used for promoting sites!
Please do not use such links or your comment will be deleted.


Note: Only a member of this blog may post a comment.