×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    4

    Post Viewing Contact Details and Identifying selected field

    Hey,
    Apology if querying wrong group.

    I'm a newbie and learning. I am trying to do the following:
    1. From my application, provide list of contacts
    2. User selects a contact and wishes to view details
    3. Provide view details.
    4. User selects a field and presses Green key to call. On green key, I will like to display a note indicating which field & corresponding text has been selected.

    I am able to do 1 & 2. To do 3, there are ample of ways; but not able to get handle on step # 4. Can anybody guide me - (a) if its possible (b) and if yes, how?

    Thanks in advance,
    CS

  2. #2
    Regular Contributor
    Join Date
    Feb 2008
    Location
    Pune, India
    Posts
    340

    Re: Viewing Contact Details and Identifying selected field

    You'll have to capture the "green" key globally.
    You'll get a notification in the RunL function of your class.
    Check this link for a sample.

    Green key can be captured like this,

    Code:
    iWindowGroup.CaptureKey(EKeyYes, 0, 0); // Green key
    Refer to this for more key codes.
    Regards,
    Sainagakishore Srikantham (Kishore)

    Don't Hope, KNOW!!! ---------- Visit me at http://ssnkishore.blogspot.com ----------

  3. #3
    Registered User
    Join Date
    Sep 2007
    Posts
    4

    Re: Viewing Contact Details and Identifying selected field

    Thanks. Now, after capturing "Green" Key, I want to fetch details of the current highlighted / selected item (eg: Number / Name / e-mail address / ...) along with its value.

    eg: Currently, my highlight is on name: Chris. I need to extract the field type { First Name} , value = { Chris }.

    Using above information, I can provide a pop-up of the same.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: Viewing Contact Details and Identifying selected field

    How do you show those details?

  5. #5
    Registered User
    Join Date
    Sep 2007
    Posts
    4

    Re: Viewing Contact Details and Identifying selected field

    I am directly calling viewContactDetails (ContactID)

    Quote Originally Posted by wizard_hu_ View Post
    How do you show those details?

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: Viewing Contact Details and Identifying selected field

    This method name does not sound familiar to me.
    If it launches a built-in view, it is probably not possible to get what you want.
    If it launches a listbox created by you, common listbox API-s can be used, like CurrentItemIndex.

Posting Permissions

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