Discussion Board

Results 1 to 6 of 6
  1. #1
    Hi

    I have developed an application, which read contacts from phone book and display in list. if there are more than 100 contacts in phone book than it is very difficult to go to the 90th contact.

    so i want to show a search textfield with list, when user press any character in this field, list will focus to that match contact.

    I m not able to show textfield under list, how it is possible?

    for this purpose
    I have created a form and append search field on it but i m not able to append list in form.


    Is it possible or alternate....


    Thanks in advance....



    Muhammad Faheem

  2. #2
    Regular Contributor amitmishra19's Avatar
    Join Date
    Apr 2007
    Posts
    220
    Hi There,

    There in no readymade componet available in J2ME that supports the searchable list. To have this type of functionality you need to develope your own custom control using canvas.

    Regards
    Amit

  3. #3
    Thanks for rply

    But how can i add/append high-level objects like list, search text field in canvas.

    any idea please...

    or there is any way to display both controls (list & textField) in midlet.

    Thanks in Advance

    Faheem

  4. #4
    Regular Contributor tieutue's Avatar
    Join Date
    Jun 2008
    Location
    Singapore
    Posts
    167
    Hello

    In J2ME, you can have Canvas and other Form's elements using CustomeItem (e.g. http://www.java2s.com/Code/Java/J2ME...ItemMIDlet.htm)
    ---Knowledge sharing is power---

    Hans

  5. #5
    Registered User sasikumar31's Avatar
    Join Date
    Oct 2007
    Posts
    25
    Use J2ME Polish to meet Your Requirement .Go through the below URL:

    http://www.j2mepolish.org/cms/leftse...teredlist.html

  6. #6
    Nokia Developer Champion jappit's Avatar
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,391
    Hi Muhammad Faheem,

    as told in the various other replies, you can do this in two ways:

    * using high-level UI components: basically, a Form with a TextField and some dinamically added/removed Items (CustomItems should be the best choice)

    * using low-level, Canvas-based UI: with this option you should implement the whole interface elements and user interaction from the grounds up. If you want to avoid that, you could also try to take a look at available Java ME UI frameworks to see if some of them can suit your needs

    Hope it helps,
    Pit

Similar Threads

  1. Replies: 4
    Last Post: 2009-02-17, 21:24
  2. 求助,电话本问题,请高手解答
    By Kiss_Fish in forum Symbian
    Replies: 5
    Last Post: 2005-09-27, 02:07
  3. Changing dynamically font color of text in list box...?
    By Devang Shah in forum Symbian C++
    Replies: 2
    Last Post: 2005-06-22, 17:06
  4. Replies: 1
    Last Post: 2004-03-01, 08:37
  5. Using JSP to generate WML text field
    By nai in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2003-09-08, 09:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved