PhoneGap has announced that Version 1.0 is now available. The release puts the focus on accessing native device APIs, which is new ground for the web. Other improvements include:
* Overall API stability and “pluggable” architecture
* W3C DAP API compatibility
* Contacts API
* Remote debugging tools
Today’s release also includes a new unifying bridge interface that makes adding platforms and platform extensions easy. Plus, developers will be pleased to see that the plugin development process has been simplified.
PhoneGap lets NS Basic/App Studio users package their apps for iOS, Android and other app stores. It also gives them additional API functions.
The easiest way to make use of PhoneGap is with PhoneGap Build. There is also a tutorial on using PhoneGap Build.
Here are some other NS Basic + PhoneGap resources:
From Lennie De Villiers:
WebWorks is the same as “WebKit” so you can see a lot of videos + tutorials etc on the Blackberry Developer Zone website. The WebWorks home page:
These instructions are for Windows.
- Download and install latest JDK 1.6
- Download WebWorks SDK from https://github.com/blackberry/WebWorks. You can download the Setup.exe file (size: 301.5MB)
- Install the Web Works SDK and note the location.
- Create a config.xml file (sample file below). This config.xml file indicates the name of the application, permission settings etc.
- Place your NSBasic files into the same folder that contains the config.xml file
- Rename “index.htm” to “index.html”
- Delete the off line file.
- ZIP the directory into a ZIP file. This ZIP file mustn’t contain any special characters (no underscores etc)
- Run “bbwp” from the command line giving it your ZIP file as input. For example: bbwp test.zip
- Under WebWork’s bin folder you will see “OTAInstall” and “StandardInstall”… The “StandardInstall” folder contains the COD file that you can test on the emulator.
- The WebWorks SDK comes with a 6.0 and 5.0 emulator.