Hybrid View

  1. #1
    Sencha User
    Join Date
    Apr 2009
    Posts
    14
    Vote Rating
    0
    Answers
    1
    Smeraldo is on a distinguished road

      0  

    Default Unanswered: Build my App for Production (Sencha Touch 2.0.1.1)

    Unanswered: Build my App for Production (Sencha Touch 2.0.1.1)


    Hi, I'm trying to build my App for production.

    I am following this guide: http://docs.sencha.com/touch/2-0/?print=/guide/building

    B
    ut my index.html file is very different from the example:

    HTML Code:
    <!DOCTYPE HTML><html manifest="" lang="en-US"><head>    <meta charset="UTF-8">    <title>WorldcApp</title>    <style type="text/css">         /**         * Example of an initial loading indicator.         * It is recommended to keep this as minimal as possible to provide instant feedback         * while other resources are still being loaded for the first time         */        html, body {            height: 100%;            background-color: #1985D0        }
            #appLoadingIndicator {            position: absolute;            top: 50%;            margin-top: -15px;            text-align: center;            width: 100%;            height: 30px;            -webkit-animation-name: appLoadingIndicator;            -webkit-animation-duration: 0.5s;            -webkit-animation-iteration-count: infinite;            -webkit-animation-direction: linear;        }
            #appLoadingIndicator > * {            background-color: #FFFFFF;            display: inline-block;            height: 30px;            -webkit-border-radius: 15px;            margin: 0 5px;            width: 30px;            opacity: 0.8;        }
            @-webkit-keyframes appLoadingIndicator{            0% {                opacity: 0.8            }            50% {                opacity: 0            }            100% {                opacity: 0.8            }        }    </style>	<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>	<!-- The line below must be kept intact for Sencha Command to build your application -->	<script id="microloader" type="text/javascript" src="sdk/microloader/development.js"></script></head><body>    <div id="appLoadingIndicator">        <div></div>        <div></div>        <div></div>    </div></body></html>
    How can I do?

    Thanks in advance!

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,624
    Vote Rating
    434
    Answers
    3104
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Looks like you are using Sencha Command, take a look at this guide http://docs.sencha.com/touch/2-0/#!/guide/command
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

Tags for this Thread