Category: Phonegap

You cannot directly access the system feature in your PhoneGap app to extend its functionality.

PhoneGap provide various plugins that allow accessing features like – camera, geolocation, contacts, battery status etc.

The plugins are written in native language for each platform e.g. Java for Android, Objective-C for IOS, etc. It is accessed by JavaScript in PhoneGap project.

You can easily add plugin using NodeJS.

Plugin implementation is different for each platform.

In this tutorial, I am adding the battery-status plugin to PhoneGap android app. That gives battery level status of the device.

To deploy the application I am using PhoneGap Build.

Add plugin to the Android app - PhoneGap

Phonegap

PhoneGap is a framework that use to build mobile applications for multiple platforms – Android, iOS, Windows Phone, Blackberry etc.

With HTML, CSS, and JavaScript you can build an application.

You don’t have to require to re-write code for other platforms.

App built with Cordova are native apps that can be published on the app store. With the plugins, you can extend your app functionality.

You can either deploy your project online or offline.

In this tutorial, I show how you can create an Android app and deploy it using PhoneGap build.

Make android app with PhoneGap Build

Phonegap