×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    1

    Address book's Contact search functionality...

    Hi guys,
    I want to implement address book's Contact search functionality in which the LIST displays all contacts in sorted order and if u click and key like 'L' all the contacts starts with 'L' will display on the screen.
    How to implement this thing?

  2. #2
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    116

    Re: Address book's Contact search functionality...

    hi,
    There is a sutom class for this purpose called CAknSearchField that can be used for implementing what u need. it will help u in integrating the model and the controller. so any change that u make in the text box of the search editor will do the changes automatically. then once u make us of this class and integrate them u can call handlefindofferkeyeventL() in ur offerkeyeventL .
    To integrate them u need to use API's like
    void CAknFilteredTextListBoxModel::CreateFilterL ( CEikListBox * aListBox,
    CAknSearchField * aSearchField
    )
    after this just delegating the keyevents to the parent will do the search and list update automatically.
    just go through the above classes and it will help u find a good solution.
    with regards,
    Hemanth.

  3. #3
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: Address book's Contact search functionality...

    Hello there,

    Although it seems there's no problem on posting C++ code here, please note that this is the Mobile Java section.

    ashisht4u, in JME you can develop such an application, in case your target device implements JSR-75 and the PIM API Optional Package. Take a look at the tutorial below:

    Introduction To The PIM API (With Example) v1.1
    http://forum.nokia.com/info/sw.nokia..._v1_1.zip.html

    Hope it helps.

    BR,

    Juarez Junior

Similar Threads

  1. "Universal" search engine for contacts?
    By keisala in forum Symbian
    Replies: 1
    Last Post: 2004-09-04, 02:10
  2. Aphanumeric Address formats on MM1?
    By shtobias in forum General Messaging
    Replies: 0
    Last Post: 2003-09-09, 07:49
  3. Help! Help! My IP address is changing like crazy !!
    By jwynn_in_nh in forum Mobile Java General
    Replies: 0
    Last Post: 2003-07-22, 22:10
  4. Getting 7650 and 6310 address books
    By apaschou in forum Bluetooth Technology
    Replies: 1
    Last Post: 2002-12-30, 09:05

Posting Permissions

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