Skip to content
This repository was archived by the owner on Sep 4, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ RIM has been committed to providing the best Web support possible for its BlackB
Quick Start
-----------
```
<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
<link rel="stylesheet" href="BlackBerry-JQM-all.min.css" />
<script src="BlackBerry-JQM-all.min.js"></script>
</head>
<body>
</head>
<body>

<div data-role="page">

<div data-role="header">
<h1>My Title</h1>
</div><!-- /header -->

<div data-role="content">
<p>Hello world</p>
<div data-role="content">
<p>Hello world</p>
</div><!-- /content -->

</div><!-- /page -->
Expand All @@ -41,6 +41,15 @@ All of the files you need to get started are in ```dist/``` folder
You will notice that this example does not include jQuery or jQuery mobile, this is because all of the files need are combined into ```BlackBerry-JQM-all.min.css``` and ```BlackBerry-JQM-all.min.js```, this is done to reduce download overhead on the device and improve overall performance. If you prefer to include each file seperatly please check out the [getting started](/blackberry/jQueryMobile-BB10-Theme/blob/master/docs/README.md) documentation.


Building the kitchenSink sample
--------
1. Clone or download this repo
2. Using BlackBerry 10 WebWorks SDK, package the following assets:
* ./dist
* ./kitchenSink
* config.xml
* index.html
3. Deploy to BlackBerry 10 device (signing required) or simulator


Check out the [docs](/blackberry/jQueryMobile-BB10-Theme/blob/master/docs/README.md) for more information.
Expand Down
41 changes: 41 additions & 0 deletions config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!--
* Copyright 2012 Research In Motion Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* 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.
-->
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets"
xmlns:rim="http://www.blackberry.com/ns/widgets"
version="1.0.0.1" id="jQMBB10">

<name>jQM BB10 Theme</name>
<description>Kitchen Sink sample application that demonstrates use of the jQuery Mobile theme for BlackBerry 10</description>
<author>Jason Scott</author>

<license href="http://www.apache.org/licenses/LICENSE-2.0">
Licensed under the Apache License, Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
#You may obtain a copy of the License at
#
#http://www.apache.org/licenses/LICENSE-2.0
#
#Unless required by applicable law or agreed to in writing, software
#distributed under the License is distributed on an "AS IS" BASIS,
#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>

<content src="index.html"/>
<icon src="kitchenSink/img/generic_81_81_placeholder.png"/>

</widget>