Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User mayur_24's Avatar
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    762
    Hi,
    When my application starts it gets some data from the server and till then I need to show a wait dialog.Also before showing a dialog am calling:
    Code:
       		SetDefaultViewL(*iMyListView);
    ,the screen freezes and the dialog is not seen!!
    I have tried all permutations and combinations for the settings the dialog and setting the view,but still the dialog cannot be seen.
    Can some one point out a solution??
    Thanks.
    --Mayur.

  2. #2
    Regular Contributor navjotsingh1979's Avatar
    Join Date
    Oct 2004
    Location
    Tokyo,Japan
    Posts
    289
    HI MAyur ,

    I think your are trying to display the wait dialog in the construction phase of your App UI class ,

    i suggest a way , may be its bit longer method ,

    may be you can try things in following sequence ,


    1. Firstly set the default view by calling SetDefaultViewL(*iMyListView);

    2. then use a periodic timer , that will be called once and set a time of say (1000 microseconds) , in the call back method of ur timer ,

    first display the wait dialog , then intiate/start communication with the server and when this communication ends , stop displaying the wait dialog.


    I am suggesting this coz i fell that u should avoid doing long time consuming tasks in the construction phase of your UI !

    I hope your are using active objects for server communication job !


    I wish this help you !!!


    Regards
    NEO'

  3. #3
    Registered User mayur_24's Avatar
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    762
    Thanks a lot for the reply.
    Have fixed the issue by not calling SetDefaultViewL(*iMyListView);
    I have just added the views and then showed the progress dialog.
    After the progress dialog is dismissed I just activated the view instead of doing SetDefaultViewL.
    Thanks.
    --Mayur.

Similar Threads

  1. PIM-Api Problem: Suppressing Dialog after calling Commit()
    By mehrlich in forum Mobile Java General
    Replies: 8
    Last Post: 2010-03-01, 15:55
  2. unmodal dialog...
    By GeKI in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-10-24, 12:02
  3. CAknWaitDialog API ? ... ProcessFinishedL ?
    By aesc2 in forum Symbian User Interface
    Replies: 12
    Last Post: 2004-08-14, 09:30
  4. Wait dialog vs. Global note - problems...
    By bjorn.rudolfsson in forum Symbian User Interface
    Replies: 4
    Last Post: 2003-10-30, 10:48
  5. Wait dialog vs. Global note - problems...
    By bjorn.rudolfsson in forum Symbian C++
    Replies: 0
    Last Post: 2003-06-25, 15:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved