Over a million developers have joined DZone.

How to Write a PhoneGap 3.0 Plugin for Android

DZone's Guide to

How to Write a PhoneGap 3.0 Plugin for Android

· Java Zone
Free Resource

What every Java engineer should know about microservices: Reactive Microservices Architecture.  Brought to you in partnership with Lightbend.

A recent post from Holly Schinsky at Devgirl's Weblog provides a thorough, well-organized and in-depth tutorial on how to create a PhoneGap 3.0 plugin for Android. After PhoneGap 3.0's release in July, a number of things have changed compared to earlier versions--Schinsky covers these changes in an earlier post--and her tutorial aims to update plugin creation for this new architecture. The post is split into four parts:

  • How to write the native Java interface
  • How to write the JavaScript interface
  • How to create your plugin according to the the plugin specification
  • How to implement your plugin

The pieces of the tutorial that have been updated for 3.0 are individually noted, which makes changes easy to track, and the post is peppered with helpful side-notes and warnings alongside the bulk of the information. Check out the full post if you're interested in PhoneGap 3.0 plugins for Android.

Microservices for Java, explained. Revitalize your legacy systems (and your career) with Reactive Microservices Architecture, a free O'Reilly book. Brought to you in partnership with Lightbend.


Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


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

{{ parent.tldr }}

{{ parent.urlSource.name }}