Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Alpha Anywhere — HTML5 Hybrid Apps With Native Features

DZone's Guide to

Alpha Anywhere — HTML5 Hybrid Apps With Native Features

Alpha Anywhere, automates Adobe's PhoneGap Build, offering a very fast and efficient method for building cross platform mobile apps that are true mobile applications with complete access to device hardware. Learn more here.

· Web Dev Zone
Free Resource

Add user login and MFA to your next project in minutes. Create a free Okta developer account, drop in one of our SDKs to your application and get back to building.

PhoneGap, an open source project of Adobe Inc., allows developers to create HTML5 hybrid apps that take advantage of device hardware features. The features include (among many others) barcode scanning, GPS and geolocation, and access to GBs of storage instead of the 5MB typically allowed by the phone browser.

While PhoneGap can save enormous amounts of time and costs compared to native development, it still requires working with native SDKs and consumes time and expertise to set up and use. To shorten the time, Adobe created a service called PhoneGap Build, which handles some of the grunt work for you.

At Alpha, we’ve taken this significantly further by automating PhoneGap Build, and more importantly, tightly integrating it with our development environment (IDE). The result is that Alpha Anywhere now offers a very fast and efficient method for building cross platform mobile apps that are true mobile applications with complete access to device hardware.

The Alpha Anywhere integration with PhoneGap Build saves you significant time in some of the following ways:

  • Alpha finds the PhoneGap Plugins you need and automatically includes them with your project.
  • Alpha gives you quick access to the applications you have created with a built-in manager screen.
  • Alpha generates the application icons and splash screens for all of the supported platforms and at all of the required resolutions.
  • Alpha includes written and tested PhoneGap JavaScript for features that are common, but complicated, like reading exif data (including Geolocation) from pictures, handling audio recording, and accessing the device’s file system to massively expand the devices ability to work with media files when working offline.

Plugin Management

Plugins are native code modules that allow your HTML5 applications to interact with device hardware. Some examples include file access and geolocation access. At the time this document was created, Alpha Anywhere had 72 built-in plugins and more are on the way. Instead of hunting down and referencing these plugins yourself, you simply check the box next to the plugins you need.

HTML5 hybrid apps with PhoneGap Build Integration

Access to Your PhoneGap Apps

From within the IDE, the developer can log in to their PhoneGap Build account and create a new business app, update an existing app, or choose to delete an app on PhoneGap Build.

We’ve also built a PhoneGap App Manager that lists all available PhoneGap Build apps and includes buttons that display the QR codes which allow the business app to be installed on a mobile device for immediate testing.

PhoneGap Build for cross platform mobile apps

 

Splash Screens and Icons

Alpha automatically generates all of the app icons and the splash screens for all of the supported platforms and at all of the required resolutions, handling both retina and non-retina displays. This is typically a day long process in itself, and we’ve boiled it down to picking a few images, taking just minutes.

Pre-written and Tested PhoneGap Code

Alpha Anwyhere includes written and tested code to extend the features of the plugins. Here are just a few examples:

Working with Pictures – Alpha lets you access the “exif “data of the pictures on the device, including where the photo was taken, it’s date/time stamp, the orientation of the camera when the image was captured, and other data.

Working with The File System – Alpha includes code for working with a large amount of data (in excess of 5MB) when offline, based on a simple or complex nested database query while the device is online. An example use case is a product catalog or a selection of customer accounts for mobile field access when online connectivity may be intermittent or simply not available.

Working with Audio – For applications that need to permit voice dictation and audio capture, Alpha includes code that saves data in a common format that works on iOS, Android, and other platforms. It also allows you to control compression to save storage space and to pause/resume audio recordings.

Summary

With PhoneGap Build Integration, Alpha Anywhere lets you build true mobile apps and saves you enormous amounts of time during initial setup, during initial development, and during iterative development for bug fixes and feature enhancements.

Click here to learn more about how to build hybrid applications with Alpha Anywhere.

Launch your application faster with Okta’s user management API. Register today for the free forever developer edition!

Topics:
html 5 ,sdk for devices ,phonegap

Published at DZone with permission of Bob Moore. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}