Tagged: tutorial Toggle Comment Threads | Keyboard Shortcuts

  • pit 4:01 pm on April 15, 2008 Permalink | Reply
    Tags: , , sample code, trees, tutorial   

    Collapsible trees with J2ME 

    Trees are not often used within j2me applications, but since it’s quite always a mess to deal with them, here’s a ready to use component for managing and drawing collapsible/scrollable trees :)
    j2me collapsible trees

    As usual, you can go to Forum Nokia Wiki for the full source code: J2me Collapsible Trees, or go to the emulator page to have a first look at a sample midlet using this component.

     
    • udin 2:32 pm on July 15, 2009 Permalink

      hai, i’m udin, can u tell me how to integrated this code to midlet.

      thanks b4.

  • pit 11:07 am on April 14, 2008 Permalink | Reply
    Tags: , , , sprite colors, tutorial   

    Customizing game sprites with J2ME 

    You know, my great passion are games, and here’s a first game-related tutorial :)

    Often in games a nice feature to give to users it the possibility to customize their own character, for example changing colors of the different parts (hairs, eyes, shirt, and so on).

    To support this features there are 2 possibilities:

    • Include a different image for each color of each different part
    • Replace colors by code

    The second options will save you the effort to create these multiple images, and will strip down your JAR size. Also, it will allow you to support a lot more colors.

    You can see a simple midlet showing how this can be done with simple code on the emulator page

    For the full source code you can visit the Forum Nokia Wiki page: J2ME Customizing Game Sprites Color

     
  • pit 10:48 am on April 10, 2008 Permalink | Reply
    Tags: , , , scrollable text, tutorial   

    Building a J2ME vertical scrollable text component 

    Everyone needs scrollable text, soon or late :)

    This is the reason why I’ve posted a simple tutorial on how vertical scrollable text can be implemented with J2ME.

    Scrollable text screenshot

    You can find it on Forum Nokia Wiki: J2me Scrollable Text tutorial

    Comments are welcome!

     
    • Jonas L 9:51 pm on July 5, 2008 Permalink

      Hi.. Nice example.. but how should the “getTextRows(…)” look like ??

    • pit 5:33 pm on July 17, 2008 Permalink

      Hi Jonas!

      I’ve added the missing method on Wiki article :)

      Hope it helps!
      Pit

    • Tyler 12:43 pm on April 25, 2009 Permalink

      Nice…
      Thanks…

    • knights123 7:15 am on August 4, 2009 Permalink

      Hi,

      I’m trying to integrate this part of code into my application.but im unable to do so..

      Can u please send the complete source code of this.

      It would be very helpful to me

      Thanks in advance.

    • dj 11:29 am on January 16, 2010 Permalink

      hi, ive tested this code but i cant seem to make the scroll up and down to work using the keycodes. can you please help me? thanks and more power!

  • pit 9:46 pm on April 9, 2008 Permalink | Reply
    Tags: , custom text field, , tutorial   

    Forum Nokia Wiki.. my first article! 

    Forum Nokia Wiki

    Yeah, I’ve finally done it!

    Forum Nokia Wiki is a precious source for any kind of mobile related problems or questions, and now I’m really happy to have found the time to post my first article, that is…

    How to implement custom Text Fields with J2ME!

    Hope you’ll find it useful :)

    EDIT: you can now test the custom Text Field component with the web emulator here.

     
    • Tyler 7:55 am on May 8, 2009 Permalink

      it is easy to implement.
      thanks.

c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel