/qooxdoo-2.1.1-sdk/documentation/manual/pages/mobile/deployment.html
HTML | 315 lines | 293 code | 17 blank | 5 comment | 0 complexity | 1ff8efd0b4247ecaeede35d928dce50d MD5 | raw file
- <!doctype html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
- <title>Deployment — qooxdoo 2.1.1 documentation</title>
-
- <link rel="stylesheet" href="../../_static/theme.css" type="text/css" />
- <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
- <link rel="stylesheet" href="../../_static/copies/reset.css" type="text/css" />
- <link rel="stylesheet" href="../../_static/copies/base.css" type="text/css" />
- <link rel="stylesheet" href="../../_static/copies/layout.css" type="text/css" />
-
- <script type="text/javascript">
- var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '../../',
- VERSION: '2.1.1',
- COLLAPSE_INDEX: false,
- FILE_SUFFIX: '.html',
- HAS_SOURCE: true
- };
- </script>
- <script type="text/javascript" src="../../_static/copies/html5shiv.js"></script>
- <script type="text/javascript" src="../../_static/copies/q.js"></script>
- <script type="text/javascript" src="../../_static/copies/q.placeholder.js"></script>
- <script type="text/javascript" src="../../_static/copies/q.sticky.js"></script>
- <script type="text/javascript" src="../../_static/copies/application.js"></script>
- <script type="text/javascript" src="../../_static/jquery.js"></script>
- <script type="text/javascript" src="../../_static/underscore.js"></script>
- <script type="text/javascript" src="../../_static/doctools.js"></script>
- <link rel="top" title="qooxdoo 2.1.1 documentation" href="../../index.html" />
- <link rel="up" title="qx.Mobile" href="../mobile.html" />
- <link rel="next" title="qx.Server" href="../server.html" />
- <link rel="prev" title="Debugging" href="debugging.html" />
- <link rel="shortcut icon" href="http://resources.qooxdoo.org/images/qx-favicon.png" />
- </head>
- <body>
- <div id="main-wrapper" class="sphinx">
- <div id="header-wrapper">
- <section id="header">
- <h1><a href="http://qooxdoo.org/">qooxdoo</a></h1>
- <nav>
- <ul>
- <!--
- <li>
- <a class="" href="http://qooxdoo.org/">home</a>
- </li>
- -->
- <li>
- <a href="http://news.qooxdoo.org">blog</a>
- </li>
- <li>
- <a class="" href="http://qooxdoo.org/demos">demos</a>
- </li>
- <li>
- <a class="" href="http://qooxdoo.org/downloads">downloads</a>
- </li>
- <li>
- <a class="active" href="http://qooxdoo.org/docs">docs</a>
- </li>
- <li>
- <a class="" href="http://qooxdoo.org/community">community</a>
- </li>
- </ul>
- </nav>
- <script type="template" id="search-options-template">
- <select>
- <option value="site">Site</option>
- <option value="manual">Manual</option>
- <option value="blog">Blog</option>
- <option value="bugs">Bugs</option>
- </select>
- </script>
- <script type="template" id="search-site-template">
- <form action="http://qooxdoo.org/" id="search-form">
- <input type="hidden" name="do" value="search">
- <input type="search" name="id" placeholder="Search"></input>
- </form>
- </script>
- <script type="template" id="search-blog-template">
- <form method="get" id="searchform" action="http://news.qooxdoo.org/" id="search-form">
- <input type="search" class="field" name="s" id="s" placeholder="Search">
- </form>
- </script>
- <script type="template" id="search-manual-template">
- <form action="../../search.html" id="search-form">
- <input type="search" name="q" placeholder="Search"></input>
- </form>
- </script>
- <script type="template" id="search-bugs-template">
- <form action="http://bugs.qooxdoo.org/buglist.cgi" id="search-form">
- <input type="search" name="quicksearch" placeholder="Search"></input>
- </form>
- </script>
- <div id="search">
- </div>
- </section>
- <div class="decoration"></div>
- </div>
-
- <section id="main">
- <section id="breadcrumb">
-
- <a href="http://qooxdoo.org">Home</a> »
- <a href="../../index.html">Manual (v2.1.1)</a>
- »
- <a href="../mobile.html" accesskey="U">qx.Mobile</a>
- »
- <a href="">Deployment</a>
- </section>
- <section id="content">
- <div class="body">
-
- <div class="section" id="deployment">
- <span id="pages-mobile-deployment-deployment"></span><h1>Deployment<a class="headerlink" href="#deployment" title="Permalink to this headline">¶</a></h1>
- <div class="section" id="deploy-your-qx-mobile-application">
- <h2>Deploy your qx.Mobile application<a class="headerlink" href="#deploy-your-qx-mobile-application" title="Permalink to this headline">¶</a></h2>
- <p>You developed a great qx.Mobile application, and want to use or test it on your mobile device.</p>
- <p>For this purpose, we propose using <a class="reference external" href="http://incubator.apache.org/cordova/">Apache Cordova</a>.</p>
- <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 "PhoneGap".</p>
- <p>On Cordova website you find detailed tutorials available which describe the deployment on different mobile platforms:</p>
- <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>
- </div>
- <div class="section" id="configure-cordova-for-deploying-your-qx-mobile-application">
- <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>
- <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
- to deploy your qx.Mobile application on your mobile device.</p>
- <p>Follow these steps:</p>
- <ol class="arabic simple">
- <li>Build your application with <tt class="docutils literal"><span class="pre">generate.py</span> <span class="pre">build</span></tt>.</li>
- <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>
- <li>Paste the following line in head part of <tt class="docutils literal"><span class="pre">assets/www/index.html</span></tt>:</li>
- </ol>
- <blockquote>
- <div><tt class="docutils literal"><span class="pre"><script</span> <span class="pre">type="text/javascript"</span> <span class="pre">charset="utf-8"</span> <span class="pre">src="cordova-1.6.0.js"></script></span></tt></div></blockquote>
- <ol class="arabic simple" start="4">
- <li>Cross-check the version of the "cordova.js" in script tag, against the version you use.</li>
- </ol>
- <p>That should do the trick. Now Cordova can deploy your qx.Mobile application on the
- 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>
- </div>
- <div class="section" id="update-application-on-your-mobile-device">
- <h2>Update application on your mobile device<a class="headerlink" href="#update-application-on-your-mobile-device" title="Permalink to this headline">¶</a></h2>
- <p>If you want to update your qx.Mobile application, you just have
- 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>.
- An update of the <tt class="docutils literal"><span class="pre">assets/www/index.html</span></tt> is not necessary.</p>
- </div>
- </div>
- </div>
- <div class="bottom-nav">
- <a class="prev" href="debugging.html"
- title="previous chapter">« Debugging</a>
- <span class="separator">|</span>
- <a class="next" href="../server.html"
- title="next chapter">qx.Server »</a>
- </div>
- </section>
- <section id="sidebar">
- <div class="sphinxsidebar">
- <div class="sphinxsidebarwrapper">
- <ul>
- <li><a class="reference internal" href="#">Deployment</a><ul>
- <li><a class="reference internal" href="#deploy-your-qx-mobile-application">Deploy your qx.Mobile application</a></li>
- <li><a class="reference internal" href="#configure-cordova-for-deploying-your-qx-mobile-application">Configure Cordova for deploying your qx.Mobile application</a></li>
- <li><a class="reference internal" href="#update-application-on-your-mobile-device">Update application on your mobile device</a></li>
- </ul>
- </li>
- </ul>
- <h4>» Next topic</h4>
- <p class="topless"><a href="../server.html"
- title="next chapter">qx.Server</a></p>
- <h4>« Previous topic</h4>
- <p class="topless"><a href="debugging.html"
- title="previous chapter">Debugging</a></p>
- <div id="searchbox" style="display: none">
- <h3>Quick search</h3>
- <form class="search" action="../../search.html" method="get">
- <input type="text" name="q" />
- <input type="submit" value="Go" />
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
- </form>
- <p class="searchtip" style="font-size: 90%">
- Enter search terms or a module, class or function name.
- </p>
- </div>
- <script type="text/javascript">
- // $('#searchbox').show(0);
- </script>
- </div>
- </div>
- </section>
- </section>
- </div>
- <div id="footer-wrapper">
- <footer id="footer">
- <div id="supported-by">
- <a href="http://1and1.com">
- <img src="http://resources.qooxdoo.org/images/1and1.png">
- </a>
- <p class="claim">
- Brought to you by <a href="http://1and1.com">1&1</a>, one of the world's leading web hosts
- </p>
- <p class="legal">
- © 1&1 Internet AG<br>
- <a href="http://qooxdoo.org/legal">Legal notice</a>
- </a>
- </div>
- <div id="sitemap">
- <div>
- <h3><a href="http://qooxdoo.org/">Home</a></h3>
- <ul>
- <li>
- <a href="http://qooxdoo.org/demos">Demos</a>
- </li>
- <li>
- <a href="http://qooxdoo.org/download">Download</a>
- </li>
- <li>
- <a href="http://news.qooxdoo.org">Blog</a>
- </li>
- <li>
- <a href="http://bugs.qooxdoo.org">Bugs</a>
- </li>
- <li>
- <a href="http://qooxdoo.org/license">License</a>
- </li>
- </ul>
- </div>
- <div>
- <h3><a href="http://qooxdoo.org/docs">Docs</a></h3>
- <ul>
- <li>
-
- <a href="http://manual.qooxdoo.org/2.1.1/pages/introduction/about.html">About</a>
- </li>
- <li>
- <a href="http://manual.qooxdoo.org/2.1.1/pages/getting_started.html">Getting Started</a>
- </li>
- <li>
- <a href="http://manual.qooxdoo.org/2.1.1/pages/website.html">Website</a>
- </li>
- <li>
- <a href="http://manual.qooxdoo.org/2.1.1/pages/mobile.html">Mobile</a>
- </li>
- <li>
- <a href="http://manual.qooxdoo.org/2.1.1/pages/desktop.html">Desktop</a>
- </li>
- <li>
- <a href="http://manual.qooxdoo.org/2.1.1/pages/server.html">Server</a>
- </li>
- </ul>
- </div>
- <div>
- <h3><a href="http://qooxdoo.org/community">Community</a></h3>
- <ul>
- <li>
- <a href="http://qooxdoo.org/community/contribution">Get Involved</a>
- </li>
- <li>
- <a href="http://qooxdoo.org/community/mailing_lists">Mailing List</a>
- </li>
- <li>
- <a href="http://qooxdoo.org/community/real_life_examples">Real Life Examples</a>
- </li>
- <li>
- <a href="http://qooxdoo.org/community/events">Events</a>
- </li>
- <li>
- <a href="http://qooxdoo.org/community/jobs_services">Jobs & Services</a>
- </li>
- <li>
- <a href="http://qooxdoo.org/contrib">Contributions</a>
- </li>
- </ul>
- </div>
- </div>
- <div id="meta">
- <div class="social">
- <a href="http://twitter.com/qooxdoo">
- <img src="http://resources.qooxdoo.org/images/twitter.png">
- </a>
- <a href="https://www.facebook.com/pages/qooxdoo/187101324711780">
- <img src="http://resources.qooxdoo.org/images/facebook.png">
- </a>
- <a href="http://feeds.feedburner.com/qooxdoo/news/content">
- <img src="http://resources.qooxdoo.org/images/feed.png">
- </a>
- </div>
- <div class="notice">
- <p class="source">
- <strong>
- <a href="../../_sources/pages/mobile/deployment.txt" rel="nofollow">Show Source</a>
- </strong>
- </p>
- <p class="page">
- © Copyright 2011-2012, qooxdoo developers.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
- </p>
- </div>
- </div>
- </footer>
- </div>
- </body>
- </html>