…the cordova scripts
…te scripts won't work
- Modify concat of phonegap.js to add dependencies first.
…phone deployment and building in the build files (resolves issue #3, JIRA 116). Finally, specified the correct properties to tweak in the error messages.
The 2.1 update to the BlackBerry WebWorks SDK no longer installs FledgeHook.exe or FledgeHook.dll. The original intention of these files was to manage the lifecycle of a simulator launched from an Eclipse plugin environment. It has been confirmed with BlackBerry WebWorks developers that FledgeHook was intentionally removed from the latest SDK update. http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/FledgeHook-removed-from-latest-SDK/td-p/1189641 Attempting to invoke the load-simulator target in a project will fail when FledgeHook.exe does not exist. - Remove invocation of FledgeHook.exe from project build.xml - Change references of Widget to WebWorks to match official name.
Purely for consistency.
This is in preparation for using the yui-compressor to minify phonegap.js when creating and updating a project.
config.xml is not longer dependent on the ANT tool. The ANT tool is now similar to PhoneGap-BlackBerry. In other words, phonegap-blackberry-widget is not longer home to a widget project. Instead, it generates standalone projects that contain the compiled extension and phonegap.js. Create and Update PhoneGap projects ----------------------------------- - ant help explains everything - Create a new PhoneGap project ant create -Dproject.path="..." - Update an existing PhoneGap project ant update -Dproject.path="..." Running a PhoneGap project -------------------------- - cd C:\my\project - ant help explains everything - Run on the simulator ant load-simulator - Run on the device ant load-device - A few maintenance tasks ant build ant clean / clean-simulator / clean-device
build.xml would write to the config.xml to customize the application name / icon / loading screen. However, it required config.xml to be malformed (the build.xml would then complete config.xml). This patch allows config.xml to be valid as a standalone file. A later patch will allow build.xml to customize config.xml.
Include a simple example in the www/index.html and js/phonegap.js
…dded application icon and default loading screen support via icon.png and Default.png images in www folder convention.