PageRenderTime 51ms CodeModel.GetById 36ms RepoModel.GetById 1ms app.codeStats 0ms

/qooxdoo-2.1.1-sdk/documentation/manual/pages/mobile/deployment.html

https://bitbucket.org/vegansk/test_qooxdoo
HTML | 315 lines | 293 code | 17 blank | 5 comment | 0 complexity | 1ff8efd0b4247ecaeede35d928dce50d MD5 | raw file
  1. <!doctype html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Deployment &mdash; qooxdoo 2.1.1 documentation</title>
  6. <link rel="stylesheet" href="../../_static/theme.css" type="text/css" />
  7. <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
  8. <link rel="stylesheet" href="../../_static/copies/reset.css" type="text/css" />
  9. <link rel="stylesheet" href="../../_static/copies/base.css" type="text/css" />
  10. <link rel="stylesheet" href="../../_static/copies/layout.css" type="text/css" />
  11. <script type="text/javascript">
  12. var DOCUMENTATION_OPTIONS = {
  13. URL_ROOT: '../../',
  14. VERSION: '2.1.1',
  15. COLLAPSE_INDEX: false,
  16. FILE_SUFFIX: '.html',
  17. HAS_SOURCE: true
  18. };
  19. </script>
  20. <script type="text/javascript" src="../../_static/copies/html5shiv.js"></script>
  21. <script type="text/javascript" src="../../_static/copies/q.js"></script>
  22. <script type="text/javascript" src="../../_static/copies/q.placeholder.js"></script>
  23. <script type="text/javascript" src="../../_static/copies/q.sticky.js"></script>
  24. <script type="text/javascript" src="../../_static/copies/application.js"></script>
  25. <script type="text/javascript" src="../../_static/jquery.js"></script>
  26. <script type="text/javascript" src="../../_static/underscore.js"></script>
  27. <script type="text/javascript" src="../../_static/doctools.js"></script>
  28. <link rel="top" title="qooxdoo 2.1.1 documentation" href="../../index.html" />
  29. <link rel="up" title="qx.Mobile" href="../mobile.html" />
  30. <link rel="next" title="qx.Server" href="../server.html" />
  31. <link rel="prev" title="Debugging" href="debugging.html" />
  32. <link rel="shortcut icon" href="http://resources.qooxdoo.org/images/qx-favicon.png" />
  33. </head>
  34. <body>
  35. <div id="main-wrapper" class="sphinx">
  36. <div id="header-wrapper">
  37. <section id="header">
  38. <h1><a href="http://qooxdoo.org/">qooxdoo</a></h1>
  39. <nav>
  40. <ul>
  41. <!--
  42. <li>
  43. <a class="" href="http://qooxdoo.org/">home</a>
  44. </li>
  45. -->
  46. <li>
  47. <a href="http://news.qooxdoo.org">blog</a>
  48. </li>
  49. <li>
  50. <a class="" href="http://qooxdoo.org/demos">demos</a>
  51. </li>
  52. <li>
  53. <a class="" href="http://qooxdoo.org/downloads">downloads</a>
  54. </li>
  55. <li>
  56. <a class="active" href="http://qooxdoo.org/docs">docs</a>
  57. </li>
  58. <li>
  59. <a class="" href="http://qooxdoo.org/community">community</a>
  60. </li>
  61. </ul>
  62. </nav>
  63. <script type="template" id="search-options-template">
  64. <select>
  65. <option value="site">Site</option>
  66. <option value="manual">Manual</option>
  67. <option value="blog">Blog</option>
  68. <option value="bugs">Bugs</option>
  69. </select>
  70. </script>
  71. <script type="template" id="search-site-template">
  72. <form action="http://qooxdoo.org/" id="search-form">
  73. <input type="hidden" name="do" value="search">
  74. <input type="search" name="id" placeholder="Search"></input>
  75. </form>
  76. </script>
  77. <script type="template" id="search-blog-template">
  78. <form method="get" id="searchform" action="http://news.qooxdoo.org/" id="search-form">
  79. <input type="search" class="field" name="s" id="s" placeholder="Search">
  80. </form>
  81. </script>
  82. <script type="template" id="search-manual-template">
  83. <form action="../../search.html" id="search-form">
  84. <input type="search" name="q" placeholder="Search"></input>
  85. </form>
  86. </script>
  87. <script type="template" id="search-bugs-template">
  88. <form action="http://bugs.qooxdoo.org/buglist.cgi" id="search-form">
  89. <input type="search" name="quicksearch" placeholder="Search"></input>
  90. </form>
  91. </script>
  92. <div id="search">
  93. </div>
  94. </section>
  95. <div class="decoration"></div>
  96. </div>
  97. <section id="main">
  98. <section id="breadcrumb">
  99. <a href="http://qooxdoo.org">Home</a> &raquo;
  100. <a href="../../index.html">Manual (v2.1.1)</a>
  101. &raquo;
  102. <a href="../mobile.html" accesskey="U">qx.Mobile</a>
  103. &raquo;
  104. <a href="">Deployment</a>
  105. </section>
  106. <section id="content">
  107. <div class="body">
  108. <div class="section" id="deployment">
  109. <span id="pages-mobile-deployment-deployment"></span><h1>Deployment<a class="headerlink" href="#deployment" title="Permalink to this headline"></a></h1>
  110. <div class="section" id="deploy-your-qx-mobile-application">
  111. <h2>Deploy your qx.Mobile application<a class="headerlink" href="#deploy-your-qx-mobile-application" title="Permalink to this headline"></a></h2>
  112. <p>You developed a great qx.Mobile application, and want to use or test it on your mobile device.</p>
  113. <p>For this purpose, we propose using <a class="reference external" href="http://incubator.apache.org/cordova/">Apache Cordova</a>.</p>
  114. <p>It gives you the possibility to deploy native applications, that run the qooxdoo mobile JavaScript code in an wrapped native browser, in the App Stores or directly on your mobile device. A free distribution of Cordova is also available, it is called &quot;PhoneGap&quot;.</p>
  115. <p>On Cordova website you find detailed tutorials available which describe the deployment on different mobile platforms:</p>
  116. <p><a class="reference external" href="http://docs.phonegap.com/en/1.6.1/guide_getting-started_index.md.html#Getting%20Started%20Guides">Cordova Getting Started Tutorial</a></p>
  117. </div>
  118. <div class="section" id="configure-cordova-for-deploying-your-qx-mobile-application">
  119. <h2>Configure Cordova for deploying your qx.Mobile application<a class="headerlink" href="#configure-cordova-for-deploying-your-qx-mobile-application" title="Permalink to this headline"></a></h2>
  120. <p>After you installed cordova, and followed the introductions of <a class="reference external" href="http://docs.phonegap.com/en/1.6.1/guide_getting-started_index.md.html#Getting%20Started%20Guides">Cordova Getting Started Tutorial</a>, you are able
  121. to deploy your qx.Mobile application on your mobile device.</p>
  122. <p>Follow these steps:</p>
  123. <ol class="arabic simple">
  124. <li>Build your application with <tt class="docutils literal"><span class="pre">generate.py</span> <span class="pre">build</span></tt>.</li>
  125. <li>Duplicate content of your qx.Mobile build folder, into Cordova deploy folder <tt class="docutils literal"><span class="pre">assets/www</span></tt> including the <tt class="docutils literal"><span class="pre">index.html</span></tt>.</li>
  126. <li>Paste the following line in head part of <tt class="docutils literal"><span class="pre">assets/www/index.html</span></tt>:</li>
  127. </ol>
  128. <blockquote>
  129. <div><tt class="docutils literal"><span class="pre">&lt;script</span> <span class="pre">type=&quot;text/javascript&quot;</span> <span class="pre">charset=&quot;utf-8&quot;</span> <span class="pre">src=&quot;cordova-1.6.0.js&quot;&gt;&lt;/script&gt;</span></tt></div></blockquote>
  130. <ol class="arabic simple" start="4">
  131. <li>Cross-check the version of the &quot;cordova.js&quot; in script tag, against the version you use.</li>
  132. </ol>
  133. <p>That should do the trick. Now Cordova can deploy your qx.Mobile application on the
  134. connected Mobile Device. For executing the deployment, have a look on <a class="reference external" href="http://docs.phonegap.com/en/1.6.1/guide_getting-started_index.md.html#Getting%20Started%20Guides">Cordova Getting Started Tutorial</a>.</p>
  135. </div>
  136. <div class="section" id="update-application-on-your-mobile-device">
  137. <h2>Update application on your mobile device<a class="headerlink" href="#update-application-on-your-mobile-device" title="Permalink to this headline"></a></h2>
  138. <p>If you want to update your qx.Mobile application, you just have
  139. to copy the folders <tt class="docutils literal"><span class="pre">resource</span></tt> and <tt class="docutils literal"><span class="pre">script</span></tt> into Cordova's deploy folder <tt class="docutils literal"><span class="pre">assets/www/</span></tt>.
  140. An update of the <tt class="docutils literal"><span class="pre">assets/www/index.html</span></tt> is not necessary.</p>
  141. </div>
  142. </div>
  143. </div>
  144. <div class="bottom-nav">
  145. <a class="prev" href="debugging.html"
  146. title="previous chapter">« Debugging</a>
  147. <span class="separator">|</span>
  148. <a class="next" href="../server.html"
  149. title="next chapter">qx.Server »</a>
  150. </div>
  151. </section>
  152. <section id="sidebar">
  153. <div class="sphinxsidebar">
  154. <div class="sphinxsidebarwrapper">
  155. <ul>
  156. <li><a class="reference internal" href="#">Deployment</a><ul>
  157. <li><a class="reference internal" href="#deploy-your-qx-mobile-application">Deploy your qx.Mobile application</a></li>
  158. <li><a class="reference internal" href="#configure-cordova-for-deploying-your-qx-mobile-application">Configure Cordova for deploying your qx.Mobile application</a></li>
  159. <li><a class="reference internal" href="#update-application-on-your-mobile-device">Update application on your mobile device</a></li>
  160. </ul>
  161. </li>
  162. </ul>
  163. <h4>» Next topic</h4>
  164. <p class="topless"><a href="../server.html"
  165. title="next chapter">qx.Server</a></p>
  166. <h4>« Previous topic</h4>
  167. <p class="topless"><a href="debugging.html"
  168. title="previous chapter">Debugging</a></p>
  169. <div id="searchbox" style="display: none">
  170. <h3>Quick search</h3>
  171. <form class="search" action="../../search.html" method="get">
  172. <input type="text" name="q" />
  173. <input type="submit" value="Go" />
  174. <input type="hidden" name="check_keywords" value="yes" />
  175. <input type="hidden" name="area" value="default" />
  176. </form>
  177. <p class="searchtip" style="font-size: 90%">
  178. Enter search terms or a module, class or function name.
  179. </p>
  180. </div>
  181. <script type="text/javascript">
  182. // $('#searchbox').show(0);
  183. </script>
  184. </div>
  185. </div>
  186. </section>
  187. </section>
  188. </div>
  189. <div id="footer-wrapper">
  190. <footer id="footer">
  191. <div id="supported-by">
  192. <a href="http://1and1.com">
  193. <img src="http://resources.qooxdoo.org/images/1and1.png">
  194. </a>
  195. <p class="claim">
  196. Brought to you by <a href="http://1and1.com">1&amp;1</a>, one of the world's leading web hosts
  197. </p>
  198. <p class="legal">
  199. © 1&amp;1 Internet AG<br>
  200. <a href="http://qooxdoo.org/legal">Legal notice</a>
  201. </a>
  202. </div>
  203. <div id="sitemap">
  204. <div>
  205. <h3><a href="http://qooxdoo.org/">Home</a></h3>
  206. <ul>
  207. <li>
  208. <a href="http://qooxdoo.org/demos">Demos</a>
  209. </li>
  210. <li>
  211. <a href="http://qooxdoo.org/download">Download</a>
  212. </li>
  213. <li>
  214. <a href="http://news.qooxdoo.org">Blog</a>
  215. </li>
  216. <li>
  217. <a href="http://bugs.qooxdoo.org">Bugs</a>
  218. </li>
  219. <li>
  220. <a href="http://qooxdoo.org/license">License</a>
  221. </li>
  222. </ul>
  223. </div>
  224. <div>
  225. <h3><a href="http://qooxdoo.org/docs">Docs</a></h3>
  226. <ul>
  227. <li>
  228. <a href="http://manual.qooxdoo.org/2.1.1/pages/introduction/about.html">About</a>
  229. </li>
  230. <li>
  231. <a href="http://manual.qooxdoo.org/2.1.1/pages/getting_started.html">Getting Started</a>
  232. </li>
  233. <li>
  234. <a href="http://manual.qooxdoo.org/2.1.1/pages/website.html">Website</a>
  235. </li>
  236. <li>
  237. <a href="http://manual.qooxdoo.org/2.1.1/pages/mobile.html">Mobile</a>
  238. </li>
  239. <li>
  240. <a href="http://manual.qooxdoo.org/2.1.1/pages/desktop.html">Desktop</a>
  241. </li>
  242. <li>
  243. <a href="http://manual.qooxdoo.org/2.1.1/pages/server.html">Server</a>
  244. </li>
  245. </ul>
  246. </div>
  247. <div>
  248. <h3><a href="http://qooxdoo.org/community">Community</a></h3>
  249. <ul>
  250. <li>
  251. <a href="http://qooxdoo.org/community/contribution">Get Involved</a>
  252. </li>
  253. <li>
  254. <a href="http://qooxdoo.org/community/mailing_lists">Mailing List</a>
  255. </li>
  256. <li>
  257. <a href="http://qooxdoo.org/community/real_life_examples">Real Life Examples</a>
  258. </li>
  259. <li>
  260. <a href="http://qooxdoo.org/community/events">Events</a>
  261. </li>
  262. <li>
  263. <a href="http://qooxdoo.org/community/jobs_services">Jobs &amp; Services</a>
  264. </li>
  265. <li>
  266. <a href="http://qooxdoo.org/contrib">Contributions</a>
  267. </li>
  268. </ul>
  269. </div>
  270. </div>
  271. <div id="meta">
  272. <div class="social">
  273. <a href="http://twitter.com/qooxdoo">
  274. <img src="http://resources.qooxdoo.org/images/twitter.png">
  275. </a>
  276. <a href="https://www.facebook.com/pages/qooxdoo/187101324711780">
  277. <img src="http://resources.qooxdoo.org/images/facebook.png">
  278. </a>
  279. <a href="http://feeds.feedburner.com/qooxdoo/news/content">
  280. <img src="http://resources.qooxdoo.org/images/feed.png">
  281. </a>
  282. </div>
  283. <div class="notice">
  284. <p class="source">
  285. <strong>
  286. <a href="../../_sources/pages/mobile/deployment.txt" rel="nofollow">Show Source</a>
  287. </strong>
  288. </p>
  289. <p class="page">
  290. &copy; Copyright 2011-2012, qooxdoo developers.
  291. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
  292. </p>
  293. </div>
  294. </div>
  295. </footer>
  296. </div>
  297. </body>
  298. </html>