1. #1
    Sencha User
    Join Date
    Oct 2011
    Location
    Dutch!
    Posts
    20
    Vote Rating
    0
    A387 is on a distinguished road

      0  

    Default Answered: ST2 and Phonegap

    Answered: ST2 and Phonegap


    Hi there guys, me again

    I recently upgraded to ST2 and now the integration with Phonegap seems to be broken. Helluuppp
    The window is white, nothing actually happens. No errors or whatsoever.

    This is what I try:

    index.html
    HTML Code:
    <script src="phonegap-1.3.0.js" type="text/javascript" charset="utf-8"></script>
    <link rel="stylesheet" href="lib/sencha/sencha-touch.css" type="text/css">
    <link rel="stylesheet" type="text/css" href="theming/page.css"/>
    <script src="lib/sencha/sencha-touch-all.js" type="text/javascript"></script>
    <script type="text/javascript" src="app/app.js"></script>
    app.js
    Code:
    Ext.setup({
        viewport: {
            autoMaximize: false
        },
            
        onReady: function() {
            console.log('ready');
    
    
            var app = new Ext.Application({
                console.log('new app');
            });
        }
    });
    I've read something about 'ondeviceready' etc, but those approaches are for ST1, isn't it?

  2. https://github.com/rdougan/barebones-phonegap

    Rob Dougan (core dev on ST2 team) has this barebones PhoneGap and ST2 app on his github

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,782
    Answers
    3465
    Vote Rating
    833
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      1  

    Default


    https://github.com/rdougan/barebones-phonegap

    Rob Dougan (core dev on ST2 team) has this barebones PhoneGap and ST2 app on his github
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

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

  4. #3
    Sencha User
    Join Date
    Oct 2011
    Location
    Dutch!
    Posts
    20
    Vote Rating
    0
    A387 is on a distinguished road

      0  

    Default


    Haha, first line: '<!-- BUG WITH BETA 1: you must remove this line to run in a normal browser. -->'...

    Thanks for the link!

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi