Remove all references to the PhoneGap library that is linked to the BlackBerry
Hybrid Web Container.
Leaving PhoneGap in place does not cause any issues, but does increase overall application size
by about 500KB.
- Open the AmpBrowserScreen.java file for editing and comment
out this line:
//m_browserField.addListener( new HWCBrowserFieldListener(new HWCWidgetConfigImpl(), m_browserField) );
- Right-click the HybridWebContainer project and choose
Properties..
- Under Java Build Path, click the Libraries tab.
- Remove these libraries:
- PhoneGapExtension.jar
- WebWorksCommon.jar
- WebWorksExtension.jar
- WebWorksFramework.jar
- Delete the same jar files from the libs folder.
- Delete the xml folder, which hosts
plugins.xml.