×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    290

    Password alphanumeric and numeric

    Hi,


    i want to use "CAknPasswordSettingItem" in my SettingsPage. First i construct a CAknSettingItemList and then Port IP address username and password.
    But i have to deal with the possiblity to enter a mixture of letter and number (or even special items as "#").

    Please give me a hint how to accomplish that task.


    Greetz
    Franky

  2. #2
    Registered User
    Join Date
    May 2007
    Location
    Poland
    Posts
    606

    Re: Password alphanumeric and numeric

    Hello,
    while you are constructing your CAknPasswordSettingItem using:
    Code:
    CAknPasswordSettingItem( TInt aIdentifier, enum TAknPasswordSettingItemMode aMode, TDes& aPassword );
    as an aMode set:
    Code:
    CAknPasswordSettingItem::EAlpha
    in resource file for this resource just set:
    Code:
    type = EEikCtSecretEd;
    and it should work as you want

    good luck

  3. #3
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    290

    Re: Password alphanumeric and numeric

    Hi,

    @nuker85:

    but does this mean that i have only the choice to use CAknPasswordSettingItem::EAlpha or CAknPasswordSettingItem::ENumeric at a time but not both?
    So the password item will accept only numeric or aplhanumeric (number or letter)?


    Greetz
    Franky

  4. #4
    Registered User
    Join Date
    May 2007
    Location
    Poland
    Posts
    606

    Re: Password alphanumeric and numeric

    If you will set it to ENumeric only digits 0 - 9 will be avaliable.

    If you set it to EAlpha you will be able to change between letters and digits like it is while writing sms. You will be also able to put special characters with (*).

    good luck

    Nuker85

  5. #5
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    290

    Re: Password alphanumeric and numeric

    Hi,

    Ok! Thank you!



    Franky

Similar Threads

  1. Allowing numeric characters in text box using jsp - different in 2nd & 3rd edition ph
    By ddbhasin in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2007-10-24, 08:22
  2. Serving numeric events to foreground application
    By jordi.albacar in forum Symbian
    Replies: 4
    Last Post: 2007-05-17, 15:02
  3. 7650: Alphanumeric Pin ?
    By Denmark in forum Bluetooth Technology
    Replies: 1
    Last Post: 2003-09-08, 10:49
  4. Numeric input into WML cards
    By stevewaring in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2002-10-26, 22:30

Posting Permissions

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