Permalink
Browse files

Merge pull request #19 from oros/master

Merge pull request #1 from oros.
  • Loading branch information...
2 parents 37f8cee + 51b8139 commit 75f5ac263c762eeb15c44fb443fc4380aeab64cf @pelegri pelegri committed Oct 11, 2012
Showing with 123,219 additions and 0 deletions.
  1. BIN bbm/JAM41.pdf
  2. +307 −0 bbm/LICENSE
  3. BIN bbm/complete/appicon.png
  4. +80 −0 bbm/complete/bbm.html
  5. +58 −0 bbm/complete/config.xml
  6. +5,239 −0 bbm/complete/css/bbui-0.9.4.css
  7. BIN bbm/complete/img/cog.png
  8. +50 −0 bbm/complete/index.html
  9. +172 −0 bbm/complete/js/bbm.js
  10. +8,003 −0 bbm/complete/js/bbui-0.9.4.js
  11. +1,258 −0 bbm/complete/js/webworks-1.0.2.9.js
  12. BIN bbm/incomplete/appicon.png
  13. +80 −0 bbm/incomplete/bbm.html
  14. +58 −0 bbm/incomplete/config.xml
  15. +5,239 −0 bbm/incomplete/css/bbui-0.9.4.css
  16. BIN bbm/incomplete/img/cog.png
  17. +50 −0 bbm/incomplete/index.html
  18. +142 −0 bbm/incomplete/js/bbm.js
  19. +8,003 −0 bbm/incomplete/js/bbui-0.9.4.js
  20. +1,258 −0 bbm/incomplete/js/webworks-1.0.2.9.js
  21. BIN contextmenu/JAM41.pdf
  22. +307 −0 contextmenu/LICENSE
  23. BIN contextmenu/complete/appicon.png
  24. +44 −0 contextmenu/complete/config.xml
  25. BIN contextmenu/complete/img/cog.png
  26. BIN contextmenu/complete/img/hippoSquare.png
  27. +91 −0 contextmenu/complete/index.html
  28. +91 −0 contextmenu/complete/js/context.js
  29. +1,258 −0 contextmenu/complete/js/webworks-1.0.2.9.js
  30. BIN contextmenu/incomplete/appicon.png
  31. +44 −0 contextmenu/incomplete/config.xml
  32. BIN contextmenu/incomplete/img/cog.png
  33. BIN contextmenu/incomplete/img/hippoSquare.png
  34. +91 −0 contextmenu/incomplete/index.html
  35. +40 −0 contextmenu/incomplete/js/context.js
  36. +1,258 −0 contextmenu/incomplete/js/webworks-1.0.2.9.js
  37. BIN mediacards/JAM41.pdf
  38. +307 −0 mediacards/LICENSE
  39. BIN mediacards/complete/appicon.png
  40. +58 −0 mediacards/complete/config.xml
  41. +5,239 −0 mediacards/complete/css/bbui-0.9.4.css
  42. BIN mediacards/complete/img/cog.png
  43. +62 −0 mediacards/complete/index.html
  44. +72 −0 mediacards/complete/invoke.html
  45. +8,003 −0 mediacards/complete/js/bbui-0.9.4.js
  46. +166 −0 mediacards/complete/js/invoke.js
  47. +1,258 −0 mediacards/complete/js/webworks-1.0.2.9.js
  48. BIN mediacards/incomplete/appicon.png
  49. +58 −0 mediacards/incomplete/config.xml
  50. +5,239 −0 mediacards/incomplete/css/bbui-0.9.4.css
  51. BIN mediacards/incomplete/img/cog.png
  52. +62 −0 mediacards/incomplete/index.html
  53. +76 −0 mediacards/incomplete/invoke.html
  54. +8,003 −0 mediacards/incomplete/js/bbui-0.9.4.js
  55. +130 −0 mediacards/incomplete/js/invoke.js
  56. +1,258 −0 mediacards/incomplete/js/webworks-1.0.2.9.js
  57. BIN notificationshub/JAM41.pdf
  58. +307 −0 notificationshub/LICENSE
  59. BIN notificationshub/complete/appicon.png
  60. +58 −0 notificationshub/complete/config.xml
  61. +5,239 −0 notificationshub/complete/css/bbui-0.9.4.css
  62. BIN notificationshub/complete/img/cog.png
  63. +54 −0 notificationshub/complete/index.html
  64. +8,003 −0 notificationshub/complete/js/bbui-0.9.4.js
  65. +131 −0 notificationshub/complete/js/notify.js
  66. +1,258 −0 notificationshub/complete/js/webworks-1.0.2.9.js
  67. +49 −0 notificationshub/complete/notify.html
  68. BIN notificationshub/incomplete/appicon.png
  69. +58 −0 notificationshub/incomplete/config.xml
  70. +5,239 −0 notificationshub/incomplete/css/bbui-0.9.4.css
  71. BIN notificationshub/incomplete/img/cog.png
  72. +54 −0 notificationshub/incomplete/index.html
  73. +8,003 −0 notificationshub/incomplete/js/bbui-0.9.4.js
  74. +127 −0 notificationshub/incomplete/js/notify.js
  75. +1,258 −0 notificationshub/incomplete/js/webworks-1.0.2.9.js
  76. +49 −0 notificationshub/incomplete/notify.html
  77. BIN pimcontacts/JAM41.pdf
  78. +307 −0 pimcontacts/LICENSE
  79. +41 −0 pimcontacts/complete/addcontact.html
  80. BIN pimcontacts/complete/appicon.png
  81. +58 −0 pimcontacts/complete/config.xml
  82. +42 −0 pimcontacts/complete/contacts.html
  83. +5,239 −0 pimcontacts/complete/css/bbui-0.9.4.css
  84. BIN pimcontacts/complete/img/cog.png
  85. +60 −0 pimcontacts/complete/index.html
  86. +53 −0 pimcontacts/complete/js/addcontact.js
  87. +8,003 −0 pimcontacts/complete/js/bbui-0.9.4.js
  88. +154 −0 pimcontacts/complete/js/contacts.js
  89. +1,258 −0 pimcontacts/complete/js/webworks-1.0.2.9.js
  90. +41 −0 pimcontacts/incomplete/addcontact.html
  91. BIN pimcontacts/incomplete/appicon.png
  92. +58 −0 pimcontacts/incomplete/config.xml
  93. +42 −0 pimcontacts/incomplete/contacts.html
  94. +5,239 −0 pimcontacts/incomplete/css/bbui-0.9.4.css
  95. BIN pimcontacts/incomplete/img/cog.png
  96. +60 −0 pimcontacts/incomplete/index.html
  97. +56 −0 pimcontacts/incomplete/js/addcontact.js
  98. +8,003 −0 pimcontacts/incomplete/js/bbui-0.9.4.js
  99. +148 −0 pimcontacts/incomplete/js/contacts.js
  100. +1,258 −0 pimcontacts/incomplete/js/webworks-1.0.2.9.js
View
Binary file not shown.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1,80 @@
+<!--
+ * Copyright (c) 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.
+-->
+
+<div data-bb-type="screen" data-bb-effect="fade">
+ <script type="text/javascript" src="./js/bbm.js"></script>
+
+ <!-- Title. -->
+ <div id="title" data-bb-type="title" data-bb-caption="BBM Sample" data-bb-action-caption="Register" onactionclick="_bbm.register();"></div>
+
+ <!-- A profile panel that houses our connected information. -->
+ <div id="profile" style="display: none;">
+ <div data-bb-type="round-panel">
+ <!-- Display Name -->
+ <div id="displayName" data-bb-type="panel-header">Display Name</div>
+
+ <!-- Dropdown to view various BBM fields. -->
+ <select id="field" data-bb-label="BBM Field" onchange="_bbm.fieldChanged(this);">
+ <option value="status">Status</option>
+ <option value="personalMessage">Personal Message</option>
+ <option value="ppid">PPID</option>
+ <option value="handle">Handle</option>
+ <option value="appVersion">App Version</option>
+ <option value="bbmsdkVersion">BBM SDK Version</option>
+ </select>
+
+ <!-- Status and Status Message. -->
+ <div id="_status">
+ Available: <div id="status" data-bb-type="toggle" data-bb-checked="true" data-bb-on="Yes" data-bb-off="No"></div>
+ <input id="statusMessage" type="text" placeholder="Status Message" value="" />
+ <div data-bb-type="button" onclick="_bbm.setField('status');">Set Status</div>
+ </div>
+
+ <!-- Personal Message. -->
+ <div id="_personalMessage" style="display: none;">
+ <input id="personalMessage" type="text" value="" />
+ <div data-bb-type="button" onclick="_bbm.setField('personalMessage');">Set Personal Message</div>
+ </div>
+
+ <!-- PPID. -->
+ <div id="_ppid" type="text" style="display: none;">
+ <div id="ppid" type="text" value=""></div>
+ </div>
+
+ <!-- Handle. -->
+ <div id="_handle" style="display: none;">
+ <div id="handle" type="text" value=""></div>
+ </div>
+
+ <!-- App Version. -->
+ <div id="_appVersion" style="display: none;">
+ <div id="appVersion" type="text" value=""></div>
+ </div>
+
+ <!-- BBM SDK Version. -->
+ <div id="_bbmsdkVersion" style="display: none;">
+ <div id="bbmsdkVersion" type="text" value=""></div>
+ </div>
+ </div>
+ </div>
+
+ <!-- Action bar; only visible once registered. -->
+ <div data-bb-type="action-bar">
+ <div data-bb-type="action" data-bb-style="button" data-bb-img="./img/cog.png" onclick="_bbm.populate();">Refresh</div>
+ <div data-bb-type="action" data-bb-style="button" data-bb-img="./img/cog.png" onclick="_bbm.invite();">Invite</div>
+ </div>
+</div>
View
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Copyright (c) 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.
+-->
+
+<widget xmlns="http://www.w3.org/ns/widgets"
+ xmlns:rim="http://www.blackberry.com/ns/widgets"
+ version="1.0.0.0"
+ id="bbmsample"
+ xml:lang="en">
+
+ <!-- Application details. -->
+ <name>BBM Sample</name>
+ <author>Research In Motion</author>
+
+ <!-- Application startup page. -->
+ <content src="index.html"/>
+
+ <!-- Application icon. -->
+ <icon src="appicon.png" />
+
+ <!-- Allow access to external URLs. -->
+ <access uri="*" subdomains="true" />
+
+ <!-- Do not cache content. -->
+ <rim:cache disableAllCache="true" />
+
+ <!-- Focus-based navigation for BBUI.js. -->
+ <rim:navigation mode="focus" />
+
+ <!-- Required permissions. -->
+ <rim:permissions>
+ <rim:permit>bbm_connect</rim:permit>
+ </rim:permissions>
+
+ <!-- Required features for BBUI.js. -->
+ <feature id="blackberry.app" />
+ <feature id="blackberry.app.event"/>
+ <feature id="blackberry.system.event" />
+ <feature id="blackberry.ui.dialog" />
+
+ <!-- Additional features. -->
+ <feature id="blackberry.bbm.platform" />
+</widget>
Oops, something went wrong.

0 comments on commit 75f5ac2

Please sign in to comment.