Permalink
Browse files

Organized folders, updated config file for blackberry.invoked

  • Loading branch information...
haahmad committed Jul 10, 2012
1 parent 809f686 commit 530c83eb9f5f89ea218f9e10ab839fb21a9a9aa8
View
@@ -0,0 +1,14 @@
+These two applications demonstrate how to invoke and handle invocations in BB10
+
+invoker:
+ in config.xml: what to whitelist
+ in invocations.js: how to send invocations
+ using xhr level 2 to download binary image data
+ HTML5 FileSystem API to save to the shared folder
+ in index.html: how to use jQuery mobile to make applications touchscreen-friendly
+
+invokable:
+ in config:xml: what to whitelist
+ how to register an invocation target
+ in index.html: How to handle invocations though blackberry.event
+
@@ -0,0 +1,4 @@
+rm -rf device/ simulator/ invokable.zip
+zip invokable.zip * -r
+~/Documents/ci/packager4/bbwp -d invokable.zip
+blackberry-deploy -installapp -launchapp -device 169.254.0.1 -password qaqa -package device/invokable.bar
@@ -18,7 +18,7 @@
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#See the License for the specific language governing permissions and limitations under the License.
</license>
- <feature id="blackberry.invoke" version="1.0.0" required="true" />
+ <feature id="blackberry.invoked" version="1.0.0" required="true" />
<rim:invoke-target id="net.rim.webworks.invokable">
<type>APPLICATION</type>
<filter>
File renamed without changes.
Binary file not shown.
File renamed without changes
@@ -0,0 +1,4 @@
+rm -rf device/ simulator/ invoker.zip
+zip invoker.zip * -r
+~/Documents/ci/packager4/bbwp -d invoker.zip
+blackberry-deploy -installapp -launchapp -device 169.254.0.1 -password qaqa -package device/invoker.bar
File renamed without changes.
@@ -4,9 +4,9 @@
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1">
<script src="webworks-1.0.0.7.js"></script>
<script src="invocations.js"></script>
- <link rel="stylesheet" type="text/css" href="/jquery.mobile-1.1.0.min.css" />
- <script src="jquery-1.7.1.min.js"></script>
- <script src="jquery.mobile-1.1.0.min.js"></script>
+ <link rel="stylesheet" type="text/css" href="jquery/jquery.mobile-1.1.0.min.css" />
+ <script src="jquery/jquery-1.7.1.min.js"></script>
+ <script src="jquery/jquery.mobile-1.1.0.min.js"></script>
<script type="text/javascript">
function ready () {
document.getElementById("browser").onclick = invokeBrowser;
File renamed without changes.
Binary file not shown.
File renamed without changes.

0 comments on commit 530c83e

Please sign in to comment.