Things to Look at When You Are Using a PhoneGap Plugin: "Makeup Of a Plugin
PhoneGap plugins consist of 2 things.
JavaScript File
Native Code File
If you download a plugin from somewhere, and it doesn’t have at least those two things then you are missing something. It is a fairly simple thing to do you write your native code and then write a JavasSript interface for it which executes the native code."
'via Blog this'