×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jun 2006
    Location
    Lahore, Pakistan
    Posts
    162

    Dialog Problem in OS 9.1

    I am facing a problems regarding dialogs in Symbian OS 9. The problem is when I open any dialog in my application and then perform some kind of activity(e,g just make a new call by using phone dialer) and then came back to my application(i,e bring my app to front), now when I pressed any of the available options to close the dialog, the application is crashed. Its not backgroud to forground problem cos if I do not make any call and just navigate any other application the application is behaved well.

    I am facing the same problem even in the setting list(where I am using "CAknEnumeratedTextPopupSettingItem" to selct one item from several items).

    I have pasted the one of my dialogs code below.

    RESOURCE DIALOG r_vopium_sms_query
    {
    flags = EGeneralQueryFlags;
    buttons = r_softkey_send_cancel;//R_AVKON_SOFTKEYS_OK_CANCEL;
    items=
    {
    DLG_LINE
    {
    type = EAknCtQuery;
    id = EGeneralQuery;
    control= AVKON_DATA_QUERY
    {
    layout = EPhoneLayout;
    label = qtn_enter_phone_number;
    control = EDWIN
    {
    flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable;
    maxlength = 17;
    width = 11;
    lines = 1;
    };
    };
    }
    };
    }



    CAknTextQueryDialog* iDialog = new( ELeave ) CAknTextQueryDialog( iTelNumber, CAknQueryDialog::ENoTone );
    iDialog->PrepareLC( R_VOPIUM_SMS_QUERY );
    result = iDialog->RunLD();
    Sajid Iqbal
    ASD, Accredited S60 Developer
    [EMAIL]saji.iq@gmail.com[/EMAIL]

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    37

    Re: Dialog Problem in OS 9.1

    What's the error code? Check epocwind.out. Probably has something to do with RunLD.

  3. #3
    Registered User
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    200

    Re: Dialog Problem in OS 9.1

    Quote Originally Posted by saji_iq
    I am facing a problems regarding dialogs in Symbian OS 9. The problem is when I open any dialog in my application and then perform some kind of activity(e,g just make a new call by using phone dialer) and then came back to my application(i,e bring my app to front), now when I pressed any of the available options to close the dialog, the application is crashed. Its not backgroud to forground problem cos if I do not make any call and just navigate any other application the application is behaved well.
    Yo write: "...make a new call..." - did you check whether you really need to *make* the call, or whether it is enough to type some numbers (and/or delete them again), but not actually press the green "Call" button?

    The reason is that the Phone screen shows a very weird behaviour when you start dialling, where it switches foreground from the "Idle" to the "Phone" application the moment you press the first key, and remembers this state. This can cause some other strange effects, and I wonder if this could be related...

    Also, if dialling a few digits is enough to repro this, it could be done in the emulator as well, potentially giving a more useful stack backtrace at the point of the crash.

  4. #4
    Registered User
    Join Date
    Jun 2006
    Location
    Lahore, Pakistan
    Posts
    162

    Re: Dialog Problem in OS 9.1

    If I type the digits etc and remove it without dialing, then there is no problem, but once i dial the call and even if i dial the call and then cancel it, the applicationis crashed with out returning any error code, the RunLD does not return anything , It seems that RunLD is crasshing.


    just for information, the same code running well in 2nd edition sdk with fp2 and fp3 devices.
    Sajid Iqbal
    ASD, Accredited S60 Developer
    [EMAIL]saji.iq@gmail.com[/EMAIL]

  5. #5
    Regular Contributor
    Join Date
    Oct 2004
    Location
    Tokyo,Japan
    Posts
    289

    Thumbs up Re: Dialog Problem in OS 9.1

    hi saji_iq,

    what problem you are facing with CAknEnumeratedTextPopupSettingItem .

    IF this CAknEnumeratedTextPopupSettingItem is not reflecting the changes ,

    then you may refer to my reploy on following link , this may help u ,

    http://discussion.forum.nokia.com/fo...903#post262903


    regards'
    neo

  6. #6
    Registered User
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    200

    Re: Dialog Problem in OS 9.1

    Quote Originally Posted by saji_iq
    If I type the digits etc and remove it without dialing, then there is no problem, but once i dial the call and even if i dial the call and then cancel it, the applicationis crashed with out returning any error code, the RunLD does not return anything , It seems that RunLD is crasshing.
    One thing you could try is copying an empty (or dummy) file to

    c:\resource\ErrRd

    This will at least give you error code on the phone rather than the application quietly going away.

Similar Threads

  1. Replies: 3
    Last Post: 2007-07-31, 13:08
  2. problem in multifield dialog
    By santosh shetty in forum Symbian User Interface
    Replies: 3
    Last Post: 2006-07-24, 16:04
  3. findbox problem with dialog?
    By palak_shah_23 in forum Symbian User Interface
    Replies: 6
    Last Post: 2006-07-14, 02:32
  4. Dialog problem
    By arunpirku in forum Symbian
    Replies: 2
    Last Post: 2005-03-03, 11:50
  5. Problem with dialog resource
    By lab1348 in forum Symbian
    Replies: 1
    Last Post: 2003-08-12, 14:43

Posting Permissions

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