×

Discussion Board

Results 1 to 5 of 5

Hybrid View

  1. #1
    Registered User
    Join Date
    Jan 2013
    Posts
    21

    Unhappy ListSelectionChange in j2me

    hii sir i am working on module with Exclusive List Selection Change event in j2me That is Displayable List .. But in j2me it is not supporting List Selection Change Event ,That Is As soon as We select Some Item On the List Some Action Should Get performed,
    I tried with GetSelectedIndex() but it is only giving me on Button Click but i Want On Selection change basis Instead of button click ....

    Is there any easy way To get the Listselection Change event in j2me..
    please help asap..





    Thanks Swati!!

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

    Re: ListSelectionChange in j2me

    The List Screen has no events, other than for Commands (such as the default SELECT_COMMAND).

    Perhaps you wanted to set the List type to IMPLICIT, rather than EXCLUSIVE? Then you will get a commandAction event when an item is selected.

    Graham.

  3. #3
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: ListSelectionChange in j2me

    To add to what Graham suggested, The other option shall be to implement custom list in Canvas.

    Regards
    Gopal
    Twitter : @balagopalks
    Linkedin : @balagopalks

  4. #4
    Registered User
    Join Date
    Jan 2013
    Posts
    21

    Re: ListSelectionChange in j2me

    ok thankss sir

    i want to develop a module that will show the way ... for user on the nokia map
    just like the feature finding the way on nokia maps
    with all possible real time traffic info etc i googled a lot but dint get any idea about how it will actuallly work through code in javame
    is there any specific site which will help me to develop this kind of app
    please help asap

    thankss swati!!

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

    Re: ListSelectionChange in j2me

    Did you look on the wiki?

    There's a huge number of code examples there...

Similar Threads

  1. How to create J2me(java)Project combining with J2me Polish
    By pavanragi in forum Mobile Java General
    Replies: 1
    Last Post: 2012-08-02, 11:08
  2. j2me jar file import to another j2me application
    By prakashohile in forum Mobile Java General
    Replies: 8
    Last Post: 2012-04-18, 09:19
  3. Text Field Focus Problem with J2me(j2me Polish)
    By pollux.java in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2010-10-20, 06:25
  4. J2ME Polish or LWUIT or what for commercial J2ME software?
    By SebastianM in forum Mobile Java General
    Replies: 10
    Last Post: 2010-08-18, 13:04
  5. How to sign midlet in j2me using Operator or Manufacturer in j2me
    By bfchaudharimca in forum Mobile Java General
    Replies: 2
    Last Post: 2008-08-15, 15:25

Posting Permissions

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