1. #1
    Sencha User
    Join Date
    Nov 2008
    Posts
    2
    Answers
    1
    Vote Rating
    0
    lee chang yeon is on a distinguished road

      0  

    Default Answered: Why should not work on the mobile devices?

    Answered: Why should not work on the mobile devices?


    Currently, we are progressing Mobile App project by the sencha touch 2.0.
    However, some problems occurred it app does work no the mobile devices.
    But the browser(safari, chrome) is on the works very well.


    I need your help.
    Please find attached the wrong part from the source.
    Also, see below.



    Development Environment:
    1. android 2.2
    2. sencha touch 2.0 pr2




    Call in android


    WebView.getSettings().setJavaScriptEnabled(true);
    WebView.loadUrl("file:///android_asset/index.html");


    I think .. No one anything specific issues in Android

  2. First, thank you very much for answers.


    As you said, phonegap was packed and run.


    However, the result is the same.


    Can you do the wrong place to find? In the attached file.

    Please, please.


    --- Java source ---
    public class PhoneGapActivity extends DroidGap {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    //setContentView(R.layout.main);
    super.loadUrl("file:///android_asset/www/index.html");
    }
    }

  3. #2
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,394
    Answers
    148
    Vote Rating
    22
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    Hi.
    You are wrapping your app with PhoneGap right?
    I guess the error is in your Eclipse app.
    If you follow in right way the PhoneGap tutorial you should have all your pages, scripts, etc. inside the "android_assets/www/" folder.

    So the problem could be that you are calling

    Code:
    WebView.loadUrl("file:///android_asset/index.html");
    instead of

    Code:
    WebView.loadUrl("file:///android_asset/www/index.html");
    Let me know if this solve your issue.
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    CEO at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    http://www.tux-components.com/


  4. #3
    Sencha User
    Join Date
    Nov 2008
    Posts
    2
    Answers
    1
    Vote Rating
    0
    lee chang yeon is on a distinguished road

      0  

    Default Thank!

    Thank!


    First, thank you very much for answers.


    As you said, phonegap was packed and run.


    However, the result is the same.


    Can you do the wrong place to find? In the attached file.

    Please, please.


    --- Java source ---
    public class PhoneGapActivity extends DroidGap {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    //setContentView(R.layout.main);
    super.loadUrl("file:///android_asset/www/index.html");
    }
    }

Thread Participants: 1

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