Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Organized folders, updated config file for blackberry.invoked

  • Loading branch information...
commit 530c83eb9f5f89ea218f9e10ab839fb21a9a9aa8 1 parent 809f686
@haahmad haahmad authored
View
14 invoke/README
@@ -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
+
View
4 invoke/invokable/build-deploy.sh
@@ -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
View
2  invokable/config.xml → invoke/invokable/config.xml
@@ -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>
View
BIN  invokable/device/invokable.bar → invoke/invokable/device/invokable.bar
Binary file not shown
View
0  invokable/index.html → invoke/invokable/index.html
File renamed without changes
View
BIN  invokable/invokable.zip → invoke/invokable/invokable.zip
Binary file not shown
View
BIN  invokable/simulator/invokable.bar → invoke/invokable/simulator/invokable.bar
Binary file not shown
View
0  invoker/webworks-1.0.0.7.js → invoke/invokable/webworks-1.0.0.7.js
File renamed without changes
View
0  invoker/HTML5_Logo_512.png → invoke/invoker/HTML5_Logo_512.png
File renamed without changes
View
4 invoke/invoker/build-deploy.sh
@@ -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
View
0  invoker/config.xml → invoke/invoker/config.xml
File renamed without changes
View
BIN  invoker/device/invoker.bar → invoke/invoker/device/invoker.bar
Binary file not shown
View
6 invoker/index.html → invoke/invoker/index.html
@@ -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;
View
0  invoker/invocations.js → invoke/invoker/invocations.js
File renamed without changes
View
BIN  invoker/invoker.zip → invoke/invoker/invoker.zip
Binary file not shown
View
0  invoker/jquery-1.7.1.min.js → invoke/invoker/jquery/jquery-1.7.1.min.js
File renamed without changes
View
0  invoker/jquery.mobile-1.1.0.min.css → invoke/invoker/jquery/jquery.mobile-1.1.0.min.css
File renamed without changes
View
0  invoker/jquery.mobile-1.1.0.min.js → invoke/invoker/jquery/jquery.mobile-1.1.0.min.js
File renamed without changes
View
BIN  invoker/simulator/invoker.bar → invoke/invoker/simulator/invoker.bar
Binary file not shown
View
0  invokable/webworks-1.0.0.7.js → invoke/invoker/webworks-1.0.0.7.js
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.