×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Nov 2005
    Location
    Amman/Jordan
    Posts
    322

    custom textfiled?

    can anyone help me..
    how am i supposed to design a custom textfield ...???
    i never did sth like this ..???
    plus can i append it to a form..???

    thanx in advance

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280

    Re: custom textfiled?

    There are open source libraries you can look into like Synclast and J2ME Polish. And if you want to append your custom textfield to a form you'll need to implement it as a CustomItem (only available in MIDP 2.0).

    shmoove

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

    Re: custom textfiled?

    how am i supposed to design a custom textfield ...???

    In MIDP 2.0, you must extend the javax.microedition.lcdui.CustomItem class and implement its five abstract methods, at least. Check the tips below:

    Using Custom Items in MIDP 2.0
    http://developers.sun.com/techtopics...ps/customitem/

    plus can i append it to a form..???
    Yes, you can.

    Hope it helps!

    BR,

    Juarez Junior

  4. #4
    Regular Contributor
    Join Date
    Nov 2005
    Location
    Amman/Jordan
    Posts
    322

    Re: custom textfiled?

    Quote Originally Posted by juarezjunior
    how am i supposed to design a custom textfield ...???

    In MIDP 2.0, you must extend the javax.microedition.lcdui.CustomItem class and implement its five abstract methods, at least. Check the tips below:

    Using Custom Items in MIDP 2.0
    http://developers.sun.com/techtopics...ps/customitem/

    plus can i append it to a form..???
    Yes, you can.

    Hope it helps!

    BR,

    Juarez Junior
    really thanx ..but am quit lost in it .... am not understanding how ami supposed to make it as an input control ..????
    i don't wanna use the normal textfield cause it forses the device to open an editer ... but i don't wanna open an editor so i thought i should build my own custom textbox ..???
    i trully need some help or at lease a sample .. to get an idea how it is supposed to be done ..??

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

    Re: custom textfiled?

    Hi dakoz,

    You should read the article and understand what must be done...you'll need to do it all yourself (painting, traversal, etc).

    Another good article:

    Custom GUI development with MIDP 2.0
    http://www.ibm.com/developerworks/wi.../wi-developui/

    BR,

    Juarez Junior

  6. #6
    Regular Contributor
    Join Date
    Nov 2005
    Location
    Amman/Jordan
    Posts
    322

    Re: custom textfiled?

    am not getting the idea of how to add a key press detector ..
    am lost ..
    please people .. help ...

    i need to build a custom textbox .. that retrive the characters written directly without switching to the default edit mode ..????


    help

  7. #7
    Regular Contributor
    Join Date
    Nov 2005
    Location
    Amman/Jordan
    Posts
    322

    Re: custom textfiled?

    it seems its sth that depends on the mobile it self .... i can do nothing about it ..
    every model actes in a deffrent way ....
    am not happy about it ...

Similar Threads

  1. How to insert CMyListbox in custom CMyDialog
    By studnokia in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-09-07, 14:43
  2. Custom item not displayed correctly
    By kakoskin in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2004-10-11, 21:50
  3. Replies: 2
    Last Post: 2004-07-17, 10:11
  4. Synchronizing custom data
    By vtulai in forum OMA DM/DS/CP
    Replies: 1
    Last Post: 2004-06-04, 11:30
  5. Custom MIDI files as ringtones on 3650
    By aehrath in forum Symbian
    Replies: 1
    Last Post: 2003-06-29, 11:41

Posting Permissions

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