Integrate
PhoneGap
(Cordova) plug-ins with the Android
Hybrid Web Container.
In general, adding a custom plug-in to
Hybrid Web Container
is identical to adding a plug-in to any PhoneGap application. The basic steps are as
follows (see the
PhoneGap Wiki for details).
- Create an Android project.
- Include
Cordova
dependencies.
- Implement the plug-in class.
- Implement the plug-in JavaScript.