For my new job I had to integrate Urban Airship with an Android Phonegap application.
UA's documentation only provides an example for iPhone apps, so if you are
looking for a way to integrate an Android phonegap with UA look no further!

The task is going to require you to write your own phonegap plugin with a
javascript and a java part, without further ado: