Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User shashankgr8's Avatar
    Join Date
    Mar 2009
    Posts
    33
    hi,

    i am facing one problem, i have a list of item where on key press i want to change the quantity, i know its not possible to write key press event on High level GUI, so i am planning to use Alert with textbox, any body have any idea how to implement this??

    actually i want the textbox in the way nokia set ask for password,
    plz help me, I will be thankful to u

    thnaks and Regards
    shashank Shekhar

  2. #2
    Nokia Developer Champion jitu_goldie's Avatar
    Join Date
    Sep 2008
    Location
    Noida, U.P.
    Posts
    1,330
    Quote Originally Posted by shashankgr8 View Post
    hi,

    i am facing one problem, i have a list of item where on key press i want to change the quantity, i know its not possible to write key press event on High level GUI, so i am planning to use Alert with textbox, any body have any idea how to implement this??

    actually i want the textbox in the way nokia set ask for password,
    plz help me, I will be thankful to u

    thnaks and Regards
    shashank Shekhar
    I dont get u clearly please tell me about these bold lines. Whats the need of alert with textbox?
    thanks,
    jitu_goldie..

    KEEP TRYING..

  3. #3
    Registered User shashankgr8's Avatar
    Join Date
    Mar 2009
    Posts
    33
    thanks jitu thanks for replying


    the this is in a choicegroup list i m showing item price quantity and item name i need to update the quantity, but once i will use simple textbox then it will not look good. so i am planning to use alert with textbox same as nokia phone ask for security number once u tried to connect with bluetooth any idea

  4. #4
    Nokia Developer Champion jitu_goldie's Avatar
    Join Date
    Sep 2008
    Location
    Noida, U.P.
    Posts
    1,330
    Quote Originally Posted by shashankgr8 View Post
    thanks jitu thanks for replying


    the this is in a choicegroup list i m showing item price quantity and item name i need to update the quantity, but once i will use simple textbox then it will not look good. so i am planning to use alert with textbox same as nokia phone ask for security number once u tried to connect with bluetooth any idea
    So why dont u append TextField and ChoiceGroup on a form. Take use of itemlistener for choicegroup to check the state changed. isnt it.
    thanks,
    jitu_goldie..

    KEEP TRYING..

  5. #5
    Registered User shashankgr8's Avatar
    Join Date
    Mar 2009
    Posts
    33
    i want to use textbox with alert

  6. #6
    Nokia Developer Champion Tiger79's Avatar
    Join Date
    Apr 2007
    Posts
    2,697
    afaik an Alert doesnt support a textbox...

  7. #7
    Nokia Developer Champion jitu_goldie's Avatar
    Join Date
    Sep 2008
    Location
    Noida, U.P.
    Posts
    1,330
    As tiger already said this is not possible yet.
    thanks,
    jitu_goldie..

    KEEP TRYING..

  8. #8
    Nokia Developer Champion Tiger79's Avatar
    Join Date
    Apr 2007
    Posts
    2,697
    I'd say if that is really rally what you want you might look into LWUIT and/or j2me Polish and see if they support such a feature...

  9. #9
    Registered User ammanage's Avatar
    Join Date
    Apr 2009
    Posts
    6
    Thank you very much for your all advices. I appreciate it.

  10. #10
    Registered User shashankgr8's Avatar
    Join Date
    Mar 2009
    Posts
    33
    hey i found one more problem as key value varying from mobile to mobile. Actually i was using cnvas where on all mobile down key pressed value were -2 now on motorolla its varying. and even the value of down key also varies on every motorolla mobile any solution

  11. #11
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Quote Originally Posted by shashankgr8 View Post
    hey i found one more problem as key value varying from mobile to mobile. Actually i was using cnvas where on all mobile down key pressed value were -2 now on motorolla its varying. and even the value of down key also varies on every motorolla mobile any solution
    Hi shashankgr8,
    Yeah Moto devices has the different key codes as of the Nokia,Sony,and Samsung devices have.I wonder that the Moto devices itself varying with the keycode.Which moto devices you are talking about?
    What I have seen so far id that the MOTO devices has the code-6 for the DOWN key.Please share your experience.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  12. #12
    Registered User shashankgr8's Avatar
    Join Date
    Mar 2009
    Posts
    33
    hi raj, i have used planty of series of moto devices and i found that even if one mobile has the key code -6 on other mobile it is like -8 or some thing not even those keys even fire key code is also different.

    but any how number key are always same.

    Quote Originally Posted by raj_J2ME View Post
    Hi shashankgr8,
    Yeah Moto devices has the different key codes as of the Nokia,Sony,and Samsung devices have.I wonder that the Moto devices itself varying with the keycode.Which moto devices you are talking about?
    What I have seen so far id that the MOTO devices has the code-6 for the DOWN key.Please share your experience.

Similar Threads

  1. Alert with both Yes & No Commands
    By g.castaldi in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2012-12-14, 06:44
  2. Change language for alert soft button in j2me
    By trandinhduy in forum Mobile Java General
    Replies: 2
    Last Post: 2009-05-04, 07:49
  3. Using images within an Alert
    By ayushv2005 in forum Mobile Java General
    Replies: 2
    Last Post: 2008-09-18, 09:01
  4. Alert confusion
    By Peanuts1971 in forum Mobile Java General
    Replies: 2
    Last Post: 2007-05-29, 04:40
  5. Alert not displaying
    By dhanyap in forum Mobile Java General
    Replies: 2
    Last Post: 2006-11-20, 16:45

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