To better support Web applications on mobile phones and provide better user experience and results. blackBerry provides a Widget development platform. based on the Support Technology of BlackBerry Browser, Widgets provide comprehensive support for HTML, CSS, and Javascript. At the same time, through the platform API provided by BlackBerry, widgets can be seamlessly integrated into the BlackBerry solution, the PUSH technology, including BlackBerry, can be applied to the Widget development process.
Download development tools
Before developing widgets, developers need to download the corresponding development tool, BlackBerry Widget SDK, which provides some command line tools for packaging and compiling widgets. BlackBerry also provides Webplug-in designed for Eclipse. Through this plug-in, it provides a series of graphical development guidance. The text is developed based on Eclipse's Webplug-in.
The BlackBerryWebPlug-inforEclipse version used in this article is: v2.0beta1 (as follows): http://na.BlackBerry.com/eng/developers/browserdev/eclipse.jsp
Development procedure
Step 1
Start Eclipse, File New Project, select BlackBerry Widget Project, and then select Next:
Step 2
. After entering the information, select Next
Step 3
Next, the project view is displayed. The system has configured the config.xmland index.html files. On the wizard page in the workspace, you can also view some BlackBerry routine wizard.