1. #1
    Sencha User
    Join Date
    Aug 2011
    Location
    India
    Posts
    27
    Vote Rating
    0
    gbfriends90 is on a distinguished road

      0  

    Default Unanswered: Application working in Google Chrome but not in Android-list is not displayed

    Unanswered: Application working in Google Chrome but not in Android-list is not displayed


    Hi,

    I have developed application which contains 2 panels.

    root panel,subRoot panel.

    Root panel will contain tool bar and list.And in the same way subRoot panel will contain toolbar and list

    Depending on item tap in list the subRoot panel list items varies.

    My problem is when I tap item in root panel, the subRoot panel appears.But only toolbar is appearing ,list is absent.

    Application works good in Google Chrome but in android this problem raises

    In Android 2.3.3 I debug the code,it doesn't show any errors.

    Do any one know what the problem is?

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

      0  

    Default


    Hi gbfriends90.
    That's weird. Did you set the layout type as 'fit' on your roots panel?

    Hope this helps.
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    Owner at SIMACS

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

    TUX components bundle for Sencha Touch 2.x.x
    https://github.com/AndreaCammarata/TUX


  3. #3
    Sencha User
    Join Date
    Aug 2011
    Location
    India
    Posts
    27
    Vote Rating
    0
    gbfriends90 is on a distinguished road

      0  

    Default


    Hi wierd,

    Thanks for your reply.I should say one thing , root Panel is defined inside the launch function and subRoot panel is declared outside.

    Now i set the size as 100% before showing the subRoot panel,so that the application works fine now in android emulator.

    But my doubt is that code works fine in Google chrome,but why not in android before.

    Thanks in advance!!!
    Last edited by gbfriends90; 3 Oct 2011 at 8:20 AM. Reason: Grammar mistake

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Posts
    42
    Vote Rating
    0
    Answers
    2
    anthoang is on a distinguished road

      0  

    Default


    I'm having a similiar problem to the original poster's post. I am developing in Sencha Touch 2.0 preview version. I have a docked toolbar which is displayed at the top and a scrollable list. The docked toolbar displays fine, but the list doesn't appear on my android browser. I even tried installing other webkit browsers in my android (Ultralight Browser, Ninesky Browser) and I get the same results - the list doesn't appear.

    However, my list does appear on my PC-Google Chrome and PC-Safari.

    so the results of my testings so far:

    Google Chrome(PC) - works fine
    Safari(PC) - works fine
    iPhone(Safari) - works fine
    Android(chrome) - LIST IF NOT DISPLAYED
    Android(any webkit browser) - LIST IS NOT BEING DISPLAYED

Thread Participants: 2