From 5ad90e41e3d0979328a7dc962a8461553a09bf4f Mon Sep 17 00:00:00 2001 From: Eduardo Pelegri-Llopart Date: Sat, 11 Aug 2012 13:51:34 -0700 Subject: [PATCH] Added Samples from BB10-WebWorks-Samples Also fine-tuned some verbiage in All_Samples and All_Repos --- All_Repos.md | 13 ++++++++----- All_Repos_as_One_Table.md | 13 ++++++++----- All_Samples.json | 31 +++++++++++++++++++++++++++++++ All_Samples.md | 19 +++++++++++-------- js/All_Samples.js | 4 +++- 5 files changed, 61 insertions(+), 19 deletions(-) diff --git a/All_Repos.md b/All_Repos.md index ec56edb..d6a3031 100644 --- a/All_Repos.md +++ b/All_Repos.md @@ -22,19 +22,22 @@ This page contains several tables cover all the repositories in our [GitHub Orga generated from a backing [JSON file](All_Repos.json). As an alternative presentation see [All Repos as One Table]. Also see the list of [All Samples]. -The table can be sorted (ascending/descending) on a sequence of one or more columns. To select additional -columns select the next column while pressing the 'SHIFT' (on mac) key. The table uses the following tooltips - -hover over them to learn their meaning: +The tables can be sorted on one or more columns. To select additional +columns select the next column while pressing the 'SHIFT' (on mac) key. + +The table uses the following tooltips: T, B, P, W, ?, !, -?, +? +and P. +Hover over the tips to learn their meaning. -_*Notes*_: We are interested in your feedback on how to best present this information. +We welcome your feedback on how to best present information on our Repositories.

Port Repositories

diff --git a/All_Repos_as_One_Table.md b/All_Repos_as_One_Table.md index 83da6b2..b3e49dc 100644 --- a/All_Repos_as_One_Table.md +++ b/All_Repos_as_One_Table.md @@ -11,19 +11,22 @@ This is a single-table version of [All Repos]. It provides sortable table with all the repositories in our [GitHub Organization](http://github.com/blackberry), generated from a backing [JSON file](All_Repos.json). Also see the list of [All Samples]. -The table can be sorted (ascending/descending) on a sequence of one or more columns. To select additional -columns select the next column while pressing the 'SHIFT' (on mac) key. The table uses these tooltips - -hover over them to learn their meaning: +The table can be sorted on one or more columns. To select additional +columns select the next column while pressing the 'SHIFT' (on mac) key. + +The table uses the following tooltips: T, B, P, W, ?, !, -?, +? +and P. +Hover over the tips to learn their meaning. -_*Notes*_: We are interested in your feedback on how to best present this information. +We welcome your feedback on how to best present information on our Repositories.

All Repositories

diff --git a/All_Samples.json b/All_Samples.json index 48ce419..e5e4cca 100644 --- a/All_Samples.json +++ b/All_Samples.json @@ -8,6 +8,13 @@ "warning": "optional warning", "tags": [ "an array of tags", "reserved tags are:", "html5", "native", "client" ] }, + "fileTransfer": { + "desc": "Sample applications that demonstrate how to use the blackberry.io and blackberry.io.filetransfer APIs", + "url": "https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/fileTransfer", + "repo": "BB10-WebWorks-Samples", + "repourl": "http://github.com/blackberry/BB10-WebWorks-Samples", + "tags": [ "html5", "client", "playbook", "bb10", "webworks", "filetransfer" ] + }, "GoodCitizenCascades": { "desc": "The Cascades version of the NDK Sample App named 'Good Citizen'", "url": "http://github.com/blackberry/Cascades-Community-Samples/tree/master/GoodCitizenCascades", @@ -40,6 +47,14 @@ "note": "

HelloVideoCamera is a minimalist Cascades-based video camera app. It illustrates how to set up a Cascades foreign window and connect the Camera viewfinder to it.

HelloVideoCamera has functionality for starting and sotpping the camera, changing between front and back cameras, and recording video files which are saved to the camera roll.

", "tags": [ "native", "cascades", "client", "camera", "bb10", "video" ] }, + "invoke": { + "desc": "Two sample applications that show how to use the blackberry.invoke API for WebWorks", + "url": "https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/invoke", + "repo": "BB10-WebWorks-Samples", + "repourl": "http://github.com/blackberry/BB10-WebWorks-Samples", + "note": "There are two sample applications: invokable and invoker", + "tags": [ "html5", "client", "playbook", "bb10", "webworks", "invocation"] + }, "InvokeClient": { "desc": "A simple client to invoke target apps in the Invocation Framework", "url": "https://github.com/blackberry/Cascades-Community-Samples/tree/master/InvokeClient", @@ -90,6 +105,22 @@ "warning": "Location of sample will change within the repository", "tags": [ "native", "client", "opengl", "bb10", "cascades" ] }, + "pushCapture": { + "desc": "Demonstrates how to write a BlackBerry 10 WebWorks Application that can receive push events", + "url": "https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/pushCapture", + "repo": "BB10-WebWorks-Samples", + "repourl": "http://github.com/blackberry/BB10-WebWorks-Samples", + "note": "Consult the PushService and PushPayload classes from the API reference for useful examples and a full description of how to use the push APIs", + "tags": [ "html5", "client", "playbook", "bb10", "push", "webworks"] + }, + "swipemenu.js": { + "desc": "A swipe-down menu framework for BlackBerry WebWorks", + "url": "https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/swipemenu", + "repo": "BB10-WebWorks-Samples", + "repourl": "http://github.com/blackberry/BB10-WebWorks-Samples", + "note": "Sample application that demonstrates swipemenu.js: A swipe-down menu framework for BlackBerry WebWorks SDK", + "tags": [ "html5", "client", "playbook", "bb10", "webworks"] + }, "VideoPlayerSample": { "desc": "A simple video player application that uses the MediaPlayer API", "url": "https://github.com/blackberry/Cascades-Community-Samples/tree/master/VideoPlayerSample", diff --git a/All_Samples.md b/All_Samples.md index 5c427d2..c607d5b 100644 --- a/All_Samples.md +++ b/All_Samples.md @@ -22,18 +22,21 @@ This page contains several tables cover all the samples in RIM's generated from a backing [JSON file](All_Samples.json). Also see the list of [All Repos]. -The table can be sorted (ascending/descending) on a sequence of one or more columns. To select additional -columns select the next column while pressing the 'SHIFT' (on mac) key. The table uses the following tooltips - -hover over them to learn their meaning: +The table can be sorted on one or more columns. To select additional +columns select the next column while pressing the 'SHIFT' (on mac) key. + +The table uses the following tooltips: T, -?, +? +and !. +Hover over the tips to learn their meaning. -

Samples are annotated with "Tags". -The tags used the samples below are:

- +

The following tags are used to +describe different properties of the samples:

+ -_*Notes*_: We are interested in your feedback on how to best present this information. +We welcome your feedback on how to best present information on the Samples.

HTML5 Samples

diff --git a/js/All_Samples.js b/js/All_Samples.js index 8b2b146..98fed07 100644 --- a/js/All_Samples.js +++ b/js/All_Samples.js @@ -236,7 +236,9 @@ $(document).ready(function(){ items.sort(); /* Inject */ - $('#tagsList').append(items.join(', ')); + $('#tagsList').append($('

', { + html: items.join(', ') + })).addClass("taglist"); /* TODO: add style for taglist */ /* ====================== */