×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jan 2011
    Posts
    103

    Canvas+MotorolaA1200+Canvas+TextField

    hi,
    I am working on the project where i want to make login screen i.e 2 textfield 2 buttons.and i have to ue canvas only.I cannot able to use LWUIT becaus i am usng CLDC1.0 and MIDP 2.0.

    Not the thing is i am using this application in motorola A1200 which is having english qwerty kerpan.I had write my code for typing in keypressed event.But in my login screen the keyboard is not appearing .So that i enter the key and check its code.
    My problem is:-
    1)I want to use canvas but can;t able to get keypad from where i can type.


    Plz help me.

    Thank you

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: Canvas+MotorolaA1200+Canvas+TextField

    You should ask Motorola (support channels) whether it is possible to show the software keyboard in subclasses of Canvas. However, on many other platforms like Nokia Series 40 you might loose Copy&Paste functionality for the TextField with such an emulated TextField approach.

    Have you considered to use the high-level API? Like a subclass of ‘Form’ with Item like ‘TextField’ plus two commands. Another option might be the Screen subclass ‘TextBox’, two in a row. If you are used to LWUIT, I am sure you are able to patch the parts your are using for CLDC 1.0. Or you consider to use J2ME Polish. Did that help?

  3. #3
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Canvas+MotorolaA1200+Canvas+TextField

    Also, see your previous thread on this issue.

    Some Motorola devices have their own UI API. You will need to go to the Motorola developer site to get the developer documentation for your device.

    Graham.

Similar Threads

  1. textfield in canvas ?
    By rak_eshz in forum Mobile Java General
    Replies: 9
    Last Post: 2010-07-26, 16:19
  2. Textfield on canvas
    By m_brahmin58 in forum Mobile Java Games
    Replies: 13
    Last Post: 2010-07-01, 06:00
  3. textfield on canvas?
    By 180ºrevolution in forum Mobile Java Media (Graphics & Sounds)
    Replies: 6
    Last Post: 2010-06-30, 14:04
  4. Textfield in Canvas ?
    By bidyut84 in forum Mobile Java General
    Replies: 2
    Last Post: 2010-02-03, 05:45
  5. TextField in Canvas
    By dhiraj.deka in forum Mobile Java General
    Replies: 1
    Last Post: 2009-12-10, 05:26

Posting Permissions

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