Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Organized folders, updated config file for blackberry.invoked

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

0 comments on commit 530c83e

Please sign in to comment.
Something went wrong with that request. Please try again.