×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    5

    CAknMultiLineDataQueryDialog problem on device

    hello,

    For my application, I need to used an CAknMultiLineDataQueryDialog for login/passwd input.

    An emulator, my code works fine. But on device (Nokia E61), I have the first Line (login), I enter an login , and when I validate (OK) my application quit with no message.

    Thanks
    Jean

    My code :

    CAknMultiLineDataQueryDialog* dlg = CAknMultiLineDataQueryDialog::NewL( iUserLogin, iUserPasswd );
    if (!dlg->ExecuteLD( R_LOGIN_DIALOG )){
    // ....
    } else {
    // ....
    }

    with RSS :

    RESOURCE DIALOG r_login_dialog
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
    {
    DLG_LINE
    {
    type = EAknCtMultilineQuery;
    id = EMultilineFirstLine;
    control = AVKON_DATA_QUERY
    {
    layout = EMultiDataFirstEdwin;
    label = gtn_webclient_psw_dialog_username;
    control = EDWIN
    {
    flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
    width = 25;
    lines = 1;
    maxlength = KMaxUserNameLength;
    default_case = EAknEditorLowerCase;
    };
    };
    },
    DLG_LINE
    {
    type = EAknCtMultilineQuery;
    id = EMultilineSecondLine;
    control = AVKON_DATA_QUERY
    {
    layout = EMultiDataSecondSecEd;
    label = gtn_webclient_psw_dialog_password;
    control = SECRETED
    {
    num_letters = KMaxUserNameLength;
    };
    };
    }
    };
    }

  2. #2
    Super Contributor
    Join Date
    Oct 2005
    Location
    Hyderabad,India
    Posts
    1,156

    Re: CAknMultiLineDataQueryDialog problem on device

    Hi,
    i dont find anything wrong in the multiline dialog code.Are you sure whether it crashes out here in the dialog code.what happens when OK is pressed, check the codes which are executed after that too.and more over try using the same login name that you had used in the phone in the emulator too so that you may be able to figure out where it goes wrong, also check whether your app exits when CANCEL is pressed....

    Priju

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    5

    Re: CAknMultiLineDataQueryDialog problem on device

    Hi,

    Normaly on this device (E61) and on emulator , when you used a CAknMultiLineDataQueryDialog, you have first dialog for Login, you input your login, you press OK, you have a second dialog for password, you press OK for validate.

    In my application on device (not on emulator), when I press on first OK after put login, the application quit.

    Jean

  4. #4
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Braunschweig, Germany
    Posts
    345

    Re: CAknMultiLineDataQueryDialog problem on device

    When you switch the emulator to landscape mode, it is possible to get the two dialogs variant as well. Did you try this in the emulator?

    Bernd

  5. #5
    Registered User
    Join Date
    Oct 2006
    Posts
    5

    Re: CAknMultiLineDataQueryDialog problem on device

    Quote Originally Posted by Bernd42
    When you switch the emulator to landscape mode, it is possible to get the two dialogs variant as well. Did you try this in the emulator?
    With all emulator configuration (landscape or portrait) , this work well.

    Bye
    Jean

Similar Threads

  1. On device debugging using NetBeans problem
    By mckswk in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2006-11-06, 15:40
  2. Bluetooth device discovery problem in Nokia 6230i
    By jubilee in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2006-07-07, 09:24
  3. Problem with launching an application on device
    By santosh1980 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-12-20, 07:08
  4. Problem of POPUP String Item on Nokia S60 Device
    By lkihk in forum Mobile Java General
    Replies: 0
    Last Post: 2005-08-30, 11:12
  5. Device Discovery Problem
    By janneromppanen in forum Bluetooth Technology
    Replies: 5
    Last Post: 2003-08-26, 12:10

Posting Permissions

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