Results 1 to 5 of 5

Thread: Facing issues on Sencha Touch 2 with Android 4.0.3 emulator.

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    9
    Vote Rating
    0
      0  

    Default Facing issues on Sencha Touch 2 with Android 4.0.3 emulator.

    We are facing issues on Sencha Touch 2 with Android 4.0.3 emulator.

    - After loading the application on Android 4.0.3 emulator, we just have white screen.


    - We tried following this work around. However, we are facing issue that the navigation from 'AppLaunchView' to 'LoginView' is not happening. Moreover, 'Ext.Loader' is also performing more functionalities like allocating memory for the 'Ext.define' components. For example if we try to use the 'Ext.getStore()' without the 'Ext.Loader' it always returns an 'undefined' component. But with 'Ext.Loader' we are able to get the Store appropriately.

    Has sencha fixed this problem already? If not, what is the work around ?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    Are you using MVC? Did you do a build and make sure all your classes are in the build? If you have any classes that are dynamically loading, it will halt your application from loading.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

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

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Location
    Germany, Dresden
    Posts
    35
    Answers
    3
    Vote Rating
    1
      0  

    Default

    I have the same problem in combination with an android 4.0.4 tablet instead of the emulator. same code works fine on iOS but i get a white screen on android. I've built the app with sencha command and put it into newest apache cordova 1.7

  4. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    Have you ensured that all the classes were packaged or is it trying to load files dynamically?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

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

  5. #5
    Sencha User
    Join Date
    Mar 2012
    Location
    Germany, Dresden
    Posts
    35
    Answers
    3
    Vote Rating
    1
      0  

    Default

    I'm using sencha-touch-all.js and a combined app.js which contains all classes not existing in sencha-touch-all.js. So there should be no missing class.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •