Permalink
Browse files

fixed packaging issue for 1.1.0

  • Loading branch information...
1 parent d1dad1f commit c81c02b54ecc2a1b71eb322621fe560cbeba4b71 stevengill committed Oct 5, 2011
Showing with 4,103 additions and 20,313 deletions.
  1. BIN iOS/PhoneGap-1.1.0.dmg
  2. +1 −1 iOS/PhoneGap-1.1.0.dmg.SHA1
  3. +7 −6 webOS/LICENSE
  4. +75 −0 webOS/Makefile
  5. +39 −98 webOS/README.md
  6. +1 −1 webOS/VERSION
  7. +0 −274 webOS/build.xml
  8. +9 −0 webOS/framework/appinfo.json
  9. +14 −0 webOS/framework/dashboard.html
  10. +0 −7 webOS/framework/ext/.classpath
  11. +0 −29 webOS/framework/ext/.project
  12. +0 −3 webOS/framework/ext/.settings/net.rim.browser.tools.debug.widget.prefs
  13. +0 −12 webOS/framework/ext/.settings/org.eclipse.jdt.core.prefs
  14. +0 −18 webOS/framework/ext/BlackBerry_App_Descriptor.xml
  15. +0 −137 webOS/framework/ext/src/com/phonegap/PhoneGapExtension.java
  16. +0 −214 webOS/framework/ext/src/com/phonegap/accelerometer/Accelerometer.java
  17. +0 −60 webOS/framework/ext/src/com/phonegap/api/IPlugin.java
  18. +0 −103 webOS/framework/ext/src/com/phonegap/api/Plugin.java
  19. +0 −171 webOS/framework/ext/src/com/phonegap/api/PluginManager.java
  20. +0 −229 webOS/framework/ext/src/com/phonegap/api/PluginManagerFunction.java
  21. +0 −136 webOS/framework/ext/src/com/phonegap/api/PluginResult.java
  22. +0 −296 webOS/framework/ext/src/com/phonegap/camera/Camera.java
  23. +0 −96 webOS/framework/ext/src/com/phonegap/camera/PhotoListener.java
  24. +0 −39 webOS/framework/ext/src/com/phonegap/device/Device.java
  25. +0 −54 webOS/framework/ext/src/com/phonegap/file/Entry.java
  26. +0 −72 webOS/framework/ext/src/com/phonegap/file/File.java
  27. +0 −987 webOS/framework/ext/src/com/phonegap/file/FileManager.java
  28. +0 −659 webOS/framework/ext/src/com/phonegap/file/FileUtils.java
  29. +0 −361 webOS/framework/ext/src/com/phonegap/geolocation/Geolocation.java
  30. +0 −122 webOS/framework/ext/src/com/phonegap/geolocation/GeolocationListener.java
  31. +0 −62 webOS/framework/ext/src/com/phonegap/geolocation/GeolocationResult.java
  32. +0 −25 webOS/framework/ext/src/com/phonegap/geolocation/GeolocationStatus.java
  33. +0 −122 webOS/framework/ext/src/com/phonegap/geolocation/Position.java
  34. +0 −31 webOS/framework/ext/src/com/phonegap/geolocation/PositionOptions.java
  35. +0 −119 webOS/framework/ext/src/com/phonegap/http/FileTransfer.java
  36. +0 −52 webOS/framework/ext/src/com/phonegap/http/FileUploadResult.java
  37. +0 −247 webOS/framework/ext/src/com/phonegap/http/FileUploader.java
  38. +0 −55 webOS/framework/ext/src/com/phonegap/http/HttpUtils.java
  39. +0 −196 webOS/framework/ext/src/com/phonegap/json4j/JSON.java
  40. +0 −1,112 webOS/framework/ext/src/com/phonegap/json4j/JSONArray.java
  41. +0 −107 webOS/framework/ext/src/com/phonegap/json4j/JSONArtifact.java
  42. +0 −44 webOS/framework/ext/src/com/phonegap/json4j/JSONException.java
  43. +0 −1,356 webOS/framework/ext/src/com/phonegap/json4j/JSONObject.java
  44. +0 −21 webOS/framework/ext/src/com/phonegap/json4j/JSONString.java
  45. +0 −47 webOS/framework/ext/src/com/phonegap/json4j/JSONStringer.java
  46. +0 −575 webOS/framework/ext/src/com/phonegap/json4j/JSONWriter.java
  47. +0 −11 webOS/framework/ext/src/com/phonegap/json4j/internal/JSON4JNumber.java
  48. +0 −36 webOS/framework/ext/src/com/phonegap/json4j/internal/JSON4JPBackReader.java
  49. +0 −43 webOS/framework/ext/src/com/phonegap/json4j/internal/JSON4JStringReader.java
  50. +0 −45 webOS/framework/ext/src/com/phonegap/json4j/internal/JSON4JStringWriter.java
  51. +0 −98 webOS/framework/ext/src/com/phonegap/json4j/internal/NumberUtil.java
  52. +0 −332 webOS/framework/ext/src/com/phonegap/json4j/internal/Parser.java
  53. +0 −342 webOS/framework/ext/src/com/phonegap/json4j/internal/Serializer.java
  54. +0 −91 webOS/framework/ext/src/com/phonegap/json4j/internal/SerializerVerbose.java
  55. +0 −104 webOS/framework/ext/src/com/phonegap/json4j/internal/Token.java
  56. +0 −608 webOS/framework/ext/src/com/phonegap/json4j/internal/Tokenizer.java
  57. +0 −68 webOS/framework/ext/src/com/phonegap/media/AudioCaptureListener.java
  58. +0 −121 webOS/framework/ext/src/com/phonegap/media/AudioCaptureOperation.java
  59. +0 −63 webOS/framework/ext/src/com/phonegap/media/AudioControl.java
  60. +0 −75 webOS/framework/ext/src/com/phonegap/media/CameraControl.java
  61. +0 −164 webOS/framework/ext/src/com/phonegap/media/CaptureControl.java
  62. +0 −75 webOS/framework/ext/src/com/phonegap/media/CaptureMode.java
  63. +0 −190 webOS/framework/ext/src/com/phonegap/media/CaptureOperation.java
  64. +0 −72 webOS/framework/ext/src/com/phonegap/media/ImageCaptureListener.java
  65. +0 −149 webOS/framework/ext/src/com/phonegap/media/ImageCaptureOperation.java
  66. +0 −492 webOS/framework/ext/src/com/phonegap/media/MediaCapture.java
  67. +0 −32 webOS/framework/ext/src/com/phonegap/media/MediaQueue.java
  68. +0 −92 webOS/framework/ext/src/com/phonegap/media/VideoCaptureListener.java
  69. +0 −113 webOS/framework/ext/src/com/phonegap/media/VideoCaptureOperation.java
  70. +0 −376 webOS/framework/ext/src/com/phonegap/network/ConnectionInfoAction.java
  71. +0 −59 webOS/framework/ext/src/com/phonegap/network/IsReachableAction.java
  72. +0 −60 webOS/framework/ext/src/com/phonegap/network/Network.java
  73. +0 −72 webOS/framework/ext/src/com/phonegap/notification/AlertAction.java
  74. +0 −57 webOS/framework/ext/src/com/phonegap/notification/AlertDialog.java
  75. +0 −149 webOS/framework/ext/src/com/phonegap/notification/BeepAction.java
  76. +0 −74 webOS/framework/ext/src/com/phonegap/notification/ConfirmAction.java
  77. +0 −89 webOS/framework/ext/src/com/phonegap/notification/ConfirmDialog.java
  78. +0 −118 webOS/framework/ext/src/com/phonegap/notification/Notification.java
  79. +0 −53 webOS/framework/ext/src/com/phonegap/notification/VibrateAction.java
  80. +0 −419 webOS/framework/ext/src/com/phonegap/pim/Contact.java
  81. +0 −60 webOS/framework/ext/src/com/phonegap/ui/SpacerField.java
  82. +0 −96 webOS/framework/ext/src/com/phonegap/util/ApplicationUtils.java
  83. +0 −72 webOS/framework/ext/src/com/phonegap/util/Log.java
  84. +0 −30 webOS/framework/ext/src/com/phonegap/util/LogFunction.java
  85. +0 −144 webOS/framework/ext/src/com/phonegap/util/Logger.java
  86. +0 −91 webOS/framework/ext/src/com/phonegap/util/StringUtils.java
  87. +0 −9 webOS/framework/ext/src/library.xml
  88. +263 −0 webOS/framework/index.html
  89. +36 −0 webOS/framework/menu.css
  90. +1,828 −0 webOS/framework/phonegap-1.0.0.js
  91. +0 −635 webOS/javascript/_phonegap.js
  92. +0 −133 webOS/javascript/accelerometer.js
  93. +0 −109 webOS/javascript/camera.js
  94. +0 −25 webOS/javascript/console.js
  95. +0 −954 webOS/javascript/contact.js
  96. +0 −46 webOS/javascript/device.js
  97. +0 −1,458 webOS/javascript/file.js
  98. +0 −91 webOS/javascript/filetransfer.js
  99. +0 −219 webOS/javascript/geolocation.js
  100. +0 −357 webOS/javascript/media.js
  101. +0 −114 webOS/javascript/network.js
  102. +0 −77 webOS/javascript/notification.js
  103. +0 −33 webOS/javascript/position.js
  104. +38 −0 webOS/js/acceleration.js
  105. +112 −0 webOS/js/accelerometer.js
  106. +33 −0 webOS/js/application.js
  107. +92 −0 webOS/js/audio.js
  108. +39 −0 webOS/js/camera.js
  109. +48 −0 webOS/js/contacts.js
  110. +41 −0 webOS/js/debugconsole.js
  111. +77 −0 webOS/js/device.js
  112. +58 −0 webOS/js/file.js
  113. +211 −0 webOS/js/geolocation.js
  114. +46 −0 webOS/js/map.js
  115. +60 −0 webOS/js/mojo.js
  116. +19 −0 webOS/js/mouse.js
  117. +40 −0 webOS/js/network.js
  118. +118 −0 webOS/js/notification.js
  119. +103 −0 webOS/js/orientation.js
  120. +356 −0 webOS/js/phonegap-core.js
  121. +66 −0 webOS/js/position.js
  122. +53 −0 webOS/js/service.js
  123. +39 −0 webOS/js/sms.js
  124. +24 −0 webOS/js/telephony.js
  125. +67 −0 webOS/js/window.js
  126. +10 −0 webOS/js/windowproperties.js
  127. +0 −7 webOS/lib/license.js
  128. +80 −0 webOS/lib/thumbs.0.5.2.js
  129. +0 −30 webOS/lib/yuicompressor/LICENSE
  130. +0 −140 webOS/lib/yuicompressor/README
  131. BIN webOS/lib/yuicompressor/yuicompressor-2.4.2.jar
  132. +0 −92 webOS/template/plugin/build.xml
  133. +0 −10 webOS/template/plugin/plugin.properties
  134. +0 −42 webOS/template/plugin/src/com/phonegap/plugins/Example.java
  135. +0 −31 webOS/template/plugin/src/com/phonegap/plugins/ExampleAction.java
  136. +0 −35 webOS/template/plugin/www/javascript/example.js
  137. +0 −270 webOS/template/project/build.xml
  138. +0 −47 webOS/template/project/lib/ant-contrib/LICENSE.txt
  139. BIN webOS/template/project/lib/ant-contrib/ant-contrib-1.0b3.jar
  140. +0 −52 webOS/template/project/project.properties
  141. +0 −52 webOS/template/project/www/config.xml
  142. +0 −972 webOS/template/project/www/index.html
  143. +0 −482 webOS/template/project/www/json2.js
  144. BIN webOS/template/project/www/resources/icon.png
  145. BIN webOS/template/project/www/resources/icon_hover.png
  146. BIN webOS/template/project/www/resources/loading_foreground.png
View
Binary file not shown.
@@ -1 +1 @@
-SHA1(PhoneGap-1.1.0.dmg)= a53dfff177e6ce22ee0432f893ac3e960725e5d1
+SHA1(PhoneGap-1.1.0.dmg)= 5ba848bfdc0a950db8fcad9dcca7ac24849df095
View
@@ -1,19 +1,19 @@
PhoneGap is available under *either* the terms of the modified BSD license *or* the
MIT License (2008). As a recipient of PhonegGap, you may choose which
license to receive this code under (except as noted in per-module LICENSE
-files). Some modules may not be the copyright of Nitobi. These
+files). Some modules may not be the copyright of Nitobi. These
modules contain explicit declarations of copyright in both the LICENSE files in
the directories in which they reside and in the code itself. No external
contributions are allowed under licenses which are fundamentally incompatible
with the MIT or BSD licenses that PhoneGap is distributed under.
-The text of the MIT and BSD licenses is reproduced below.
+The text of the MIT and BSD licenses is reproduced below.
-------------------------------------------------------------------------------
The "New" BSD License:
**********************
-Copyright (c) 2005-2011, Nitobi Software Inc.
+Copyright (c) 2005-2010, Nitobi Software Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -31,7 +31,7 @@ modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
@@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The MIT License
*****************
-Copyright (c) <2011> <Nitobi Software Inc., et. al., >
+Copyright (c) <2010> <Nitobi Software Inc., et. al., >
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -61,4 +61,5 @@ Copyright (c) <2011> <Nitobi Software Inc., et. al., >
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
+ THE SOFTWARE.
+
View
@@ -0,0 +1,75 @@
+GREP = /usr/bin/grep
+CUT = /usr/bin/cut
+SHELL = /bin/sh
+CHMOD = chmod
+CP = cp
+MV = mv
+NOOP = $(SHELL) -c true
+RM_F = rm -f
+RM_RF = rm -rf
+TEST_F = test -f
+TOUCH = touch
+UMASK_NULL = umask 0
+DEV_NULL = > /dev/null 2>&1
+MKPATH = mkdir -p
+CAT = cat
+MAKE = make
+OPEN = open
+ECHO = echo
+ECHO_N = echo -n
+JAVA = java
+PGVERSION = 1.0.0
+
+NAME = `$(CAT) framework/appinfo.json | $(GREP) '"id"' | $(CUT) -d \" -f 4`
+VERSION = `$(CAT) framework/appinfo.json | $(GREP) '"version"' | $(CUT) -d \" -f 4`
+
+all :: js copy_js package deploy run
+
+custom :: js copy_js package deploy
+
+clean :: clean_libs
+
+clean_libs:
+ -$(RM_RF) lib
+
+package:
+ palm-package framework/
+
+deploy:
+ palm-install $(NAME)_$(VERSION)_all.ipk
+
+run:
+ palm-launch $(NAME)
+
+copy_js:
+ cp lib/phonegap.js framework/phonegap-$(PGVERSION).js
+
+js: lib/phonegap.js
+
+lib/phonegap.js: js/phonegap-core.js js/acceleration.js js/accelerometer.js js/application.js js/audio.js js/camera.js js/contacts.js js/debugconsole.js js/device.js js/file.js js/geolocation.js js/map.js js/mojo.js js/mouse.js js/network.js js/notification.js js/orientation.js js/position.js js/service.js js/sms.js js/telephony.js js/window.js js/windowproperties.js lib/thumbs.0.5.2.js
+ $(MKPATH) lib
+ $(RM_F) $@
+ $(CAT) js/phonegap-core.js >> $@
+ $(CAT) js/acceleration.js >> $@
+ $(CAT) js/accelerometer.js >> $@
+ $(CAT) js/application.js >> $@
+ $(CAT) js/audio.js >> $@
+ $(CAT) js/camera.js >> $@
+ $(CAT) js/contacts.js >> $@
+ $(CAT) js/debugconsole.js >> $@
+ $(CAT) js/device.js >> $@
+ $(CAT) js/file.js >> $@
+ $(CAT) js/geolocation.js >> $@
+ $(CAT) js/map.js >> $@
+ $(CAT) js/mojo.js >> $@
+ $(CAT) js/mouse.js >> $@
+ $(CAT) js/network.js >> $@
+ $(CAT) js/notification.js >> $@
+ $(CAT) js/orientation.js >> $@
+ $(CAT) js/position.js >> $@
+ $(CAT) js/service.js >> $@
+ $(CAT) js/sms.js >> $@
+ $(CAT) js/telephony.js >> $@
+ $(CAT) js/window.js >> $@
+ $(CAT) js/windowproperties.js >> $@
+ $(CAT) lib/thumbs.0.5.2.js >> $@
View
137 webOS/README.md 100644 → 100755
@@ -1,112 +1,53 @@
-PhoneGap BlackBerry WebWorks
-============================
-
-[PhoneGap framework](http://www.phonegap.com/) for __BlackBerry OS 5.0 and 6.0__. The framework is implemented using the [BlackBerry WebWorks SDK](http://us.blackberry.com/developers/browserdev/widgetsdk.jsp).
-
-Directory Structure
--------------------
-
- framework/ ... BlackBerry WebWorks JavaScript Extension (PhoneGap native code)
- javascript/ .. PhoneGap JavaScript (Non-concatenated, non-minified)
- lib/ ......... Third party tools (YUICompressor for JS minification)
- template/ .... Project template for creating a new projects
-
-Introduction
-------------
-
-BlackBerry WebWorks is a framework for developing hybrid applications for BlackBerry devices that support __Blackberry OS 5.0 and higher__. BlackBerry WebWorks is not supported on BlackBerry OS 4.x.
-
-The WebWorks framework allows developers to create applications using web content and resources (HTML/CSS/JavaScript) that are able to access device features through the [Blackberry WebWorks API](http://www.blackberry.com/developers/docs/widgetapi/). In addition, the framework allows developers to create their own WebWorks JavaScript Extensions to expose additional device capabilities through JavaScript APIs. These extensions are written using the native BlackBerry Java API.
-
-The phonegap-blackberry-webworks platform allows web developers to develop applications targeting BlackBerry 5.0 and higher devices using the common [PhoneGap API](http://docs.phonegap.com). When possible, PhoneGap makes use of the WebWorks JavaScript API; however, most PhoneGap features are implemented in the native Java environment as a WebWorks JavaScript Extension.
-
-
-Getting Started
-===============
-
-Several guides are available on the [PhoneGap Wiki](http://wiki.phonegap.com) to help you get started developing for the phonegap-blackberry-webworks platform. This guide will help you install and configure the BlackBerry WebWorks development environment, and the phonegap-blackberry-webworks platform. It will also step you through the process of creating a PhoneGap project.
-
-[Getting Started with PhoneGap BlackBerry WebWorks](http://wiki.phonegap.com/w/page/31930982/Getting-Started-with-PhoneGap-BlackBerry-WebWorks)
-
-This guide is for advanced developers who wish to develop their own phonegap-blackberry-webworks plugin.
-
-[How To Create a PhoneGap Plugin for PhoneGap BlackBerry WebWorks](http://wiki.phonegap.com/w/page/35799737/How-To-Create-a-PhoneGap-Plugin-for-BlackBerry-WebWorks)
-
-
-Installing the phonegap-blackberry-webworks Framework
+PhoneGap webOS
=====================================================
+PhoneGap webOS is a skeleton HP webOS application, along with JavaScript wrapper libraries, which allow a developer to build an application for an HP webOS device using web technologies. This same code can be built for iPhone, BlackBerry, Symbian, and more to come ...
-Cloning the phonegap-blackberry-webworks repository always provides you with the latest (EDGE) version of the PhoneGap code. To clone the repository, do the following:
-
- $ cd C:\some\path\
- $ git clone git://github.com/phonegap/phonegap-blackberry-webworks.git
-
-As an alternative, you can download packaged releases of PhoneGap from the [PhoneGap web site](http://phonegap.com). If choosing this method, simply unzip the PhoneGap packaged code and navigate to the BlackBerry/WebWorks directory. The steps below remain the same.
-
-
-Creating a New PhoneGap Project
--------------------------------
-
-The PhoneGap build script enables you to create multiple, independent PhoneGap projects.
-
-(Note: The PhoneGap build script requries Apache ANT 1.8 or higher. See the [Getting Started guide](http://wiki.phonegap.com/w/page/31930982/Getting-Started-with-PhoneGap-BlackBerry-WebWorks) for instructions on how to install and configure Apache ANT).
-
-The build script packages the PhoneGap source code and resources into each project you create. This allows you to easily distribute the project to other BlackBerry WebWorks developers. To create a PhoneGap project:
-
- $ cd phonegap-blackberry-webworks
- $ ant help
-
- $ ant create -Dproject.path="C:\development\my_new_project"
-
- $ cd C:\development\my_new_project
- $ ant help
-
-For each project, you need to tell ANT where you installed the BlackBerry WebWorks SDK, which packages and compiles your code into a deployable application. You can specify the location of the BlackBerry WebWorks Packager (BBWP) by editing __project.properties__ in the project directory.
-
- [edit project.properties]
-
-Building and Deploying a Project
---------------------------------
-
-The PhoneGap build scripts automate common tasks, such as compiling your project, and deploying it to simulators or devices. To see what options are available, use:
-
- $ cd C:\development\my_new_project
- $ ant help
-
-To build your project into a deployable application (.cod/.jad) file:
-
- $ ant build
-
-To build your project and load it in a BlackBerry simulator:
-
- $ ant load-simulator
-
-To build your project and load it onto a USB-attached device:
-
- $ ant load-device
+Pre-requisites
+-----------------------------------------------------
+You should have VirtualBox (virtual machine software which runs the Palm emulator) and the webOS SDK installed. Both of these can be found at [Palm's Developer Site](http://developer.palm.com/index.php?option=com_content&view=article&id=1545).
-Updating the PhoneGap Framework
--------------------------------
+Set up your environment and install the skeleton app
+-----------------------------------------------------
+Open a terminal, and navigate to the root PhoneGap webOS folder (where this readme.md file is located). A Makefile resides here; running make here will package your application, and install it to either the emulator, or the device. Or you can run make on individual target tasks:
-As you develop your application, there may be updates made to the PhoneGap source code. To incorporate PhoneGap changes into your project, use the build script as follows:
+ - `make js` - builds phonegap.js from source javascript files to libs/phonegap.js
+ - `make copy_js` - copies libs/phonegap.js to framework/phonegap.js - modify this path if you want phonegap.js in another location
+ - `make package` - builds the webOS app (located in framework/) into an webOS .ipk installer package in the phonegap_root/palm/ folder
+ - `make deploy` - installs the .ipk package to a device if detected, otherwise the emulator if its running
- $ cd phonegap-blackberry-webworks
- $ git pull origin master
+If a connected webOS device is detected, the application will be installed to the device. If not, and the emulator is running, the application will be installed to the emulator. To run the emulator, search for Palm Emulator.app in the finder, and run it.
- $ ant update -Dproject.path="C:\development\my_new_project"
+Build your PhoneGap app
+-----------------------------------------------------
+Navigate to `phonegap_root/webOS_new/framework/`; this is where your application will reside. If you have already built a phonegap application on another platform, drop your html,js, css and assets into this folder (starting with the required index.html). Don't forget phonegap.js!
-Troubleshooting
-===============
+Just open framework/ in your favourite editor, build your web app, and run the appropriate make command indicated above. Edit appinfo.json to set your app id (see Notes below), version, etc.
-__Q: I uploaded my application to the BlackBerry device, but it will not open or run.__
+PhoneGap-webOS doesn't need to do any native initialization, but it does fire a `deviceready` that guarantees all the PhoneGap APIs are in place. You can run your code at `deviceready` like so:
-__A:__ Try hard resetting the device by pressing and hold ALT + CAPS LOCK + DEL. You must press and hold each key in sequence and not all at once. Some devices require _either_ the right or left CAPS LOCK key to be pressed. Some devices also require this combination to be pressed twice.
+ document.addEventListener('deviceready', function() {
+ // do cool PhoneGap things
+ }, false);
-__Q: My simulator screen is not refreshing and I see blocks on a clicked position.__
+To enable a javascript debug console, open a new terminal window and type:
+ phonegap-log app_id
+Where the app id is your app id as set in `appinfo.json`
+This will tail your log file; it will default to the device if detected, otherwise it will read logs from the emulator.
+To log from your JS code, use `console.log`
-__A:__ Windows 7 and the simulator's graphics acceleration do not mix. On the simulator, set View -> Graphics Acceleration to Off.
+Notes & Caveats
+-----------------------------------------------------
+ - In order to use the vibration API on palm, your application needs to have a "com.palm.*" namespace, as vibration on webOS is a private API. The caveat of doing this is that you are essentially indicating that your app should pretend to be a "Palm app" (rather than a Nitobi app, for example) ... and as a result your app will be denied from the Palm app catalog.
+ - Currently the map.show function can only accept one position, as Palm uses google maps as its native maps application, and it only can take one marker as a parameter.
+ - Touch event not supported, natively. PhoneGap now includes event handlers for mouse & touch events - please see the example app bundled with PhoneGap-webOS
+ - If using Lawnchair, the only supported adaptor is webkitsqlite.
+ - html select boxes are implemented by phonegap, not supported natively (believe it or not). only the most basic functionality is implemented, so be aware using this control could cause problems.
+ - To enable verbose logging, add the file framework_config.json to your framework/www/ folder, containing the following json content: { "logLevel": 99 }
-__Q: When I use the PhoneGap [Camera.getPicture API](http://docs.phonegap.com/phonegap_camera_camera.md.html#camera.getPicture) on my device, the camera never returns to my application. Why does this happen?__
-__A:__ PhoneGap uses a JavaScript Extension to invoke the native camera application so the user can take a picture. When the picture is taken, PhoneGap will close the native camera application by emulating a key injection (pressing the back/escape button). On a physical device, users will have to set permissions to allow the application to simulate key injections. Setting application permissions is device-specific. On a Storm2 (9550), for example, select the BlackBerry button from the Home screen to get to All Applications screen, then Options > Applications > Your Application. Then select Edit Default Permissions > Interactions > Input Simulation and set it to 'Allow'. Save your changes.
+Helpful Links
+-----------------------------------------------------
+ - PhoneGap API Docs: [docs.phonegap.com](http://docs.phonegap.com)
+ - PhoneGap Wiki: [phonegap.pbworks.com](http://phonegap.pbworks.com)
+ - Palm webOS developer site: [developer.palm.com](http://developer.palm.com)
View
@@ -1 +1 @@
-1.0.0rc2
+1.1.0
Oops, something went wrong.

0 comments on commit c81c02b

Please sign in to comment.