J2ME - Thinlet port

J2ME APIs Add comments

Overview:

Some time ago the thinlet project dropped support for J2ME, but during my search for a XUL API for J2ME, I could not find a more suitable one. Therefore, I first customized the old version for some of my requirements, later on some new features of the thinlet API for J2SE were back ported to this J2ME version. And now its in a state where I think CLDC can compete with CDC using thinlet and maybe more than that

Features:

  • Developed on j2me-wtk and Nokia Series 60, testing on Nokia 3650
  • MIDP 1.0, CLDC-1.0 Compliant, i.e. can be used on any kind of J2ME device
  • All features supported by thinlet API for J2SE
  • Full screen text editing for text boxes, with dictionary (T9) support
  • Jump mode support (left arrow to activate controls by mnemonic number)
  • Touch screen support

Status:

  • In production, and being used in my other projects
  • Also used by other developers, there used to be Yahoo! group
Download:

download
Download: tazzixthinlet.zip
Version: 0.1
Updated: March 11, 2008
Size: 469.95 KB
Downloaded: 364

Powered by Drain Hole

Screenshots:

Initial version, modified color scheme, and an IM application:

21 Responses to “J2ME - Thinlet port”

  1. Jay Kris Says:

    Hi , is it possible to share the source code. Thanks, Jay Kris

  2. tazzix Says:

    Sure, actually there used to be a yahoo group where all the files and some patches could be found, I think it has been shut down. I am emailing you the files for now and in future will upload files here in post the links when and if there is an update.

  3. ken Says:

    hi, I would also like a copy of this code. Is there a link where I could download it? Thanks.

  4. tazzix Says:

    hello ken, sent you an email, I think I will just post the text and file in a new post in this category, but just being lazy for this ;)

  5. Kodis Says:

    Could u please send me the thinlet j2me port files. Appreciate it..

  6. doris Says:

    could you also email me the source code?
    thanks in advance!

  7. tazzix Says:

    kodis, doris, sorry for the delay, I was on vacations. Just sent you the files.

  8. Hans Says:

    Could you please send me the thinlet j2me port files. Do you alse have an example how to use it. Thanks.

  9. tazzix Says:

    Hans, sent you the files, there are samples with the code.

  10. nycrom Says:

    Hello,

    i need the thinlet j2me port files and samples too please!

  11. D|3-H4rD Says:

    Hi all,
    can i have sources of this Midlet?

  12. David Beers Says:

    I’m very interested in the thinlet port files, too. Thanks in advance!

  13. Ashish Says:

    Kindly send me this code also…. wating for you mail with code

  14. tazzix Says:

    I am looking for a download plugin to wordpress and soon you will see a download link here, maybe next weekend.

  15. tazzix Says:

    UPDATE:

    A version controlled download link has been added to this post. Please use it to download the code and samples.

  16. Elias Says:

    Thank you for posting the source code, I downloaded it and tried to compile the sample application and I get this error:

    java.lang.NullPointerException
    at com.sun.cldc.i18n.Helper.getStreamReader(+15)
    at com.sun.cldc.i18n.Helper.getStreamReader(+7)
    at java.io.InputStreamReader.(+9)
    at Thinlet.parse(+8)
    at Thinlet.parse(+8)
    at Thinlet.parse(+26)
    at Thinlet.parse(+6)
    at DemoCanvas.(+26)
    at Demo.startApp(+16)
    at javax.microedition.midlet.MIDletProxy.startApp(+7)
    at com.sun.midp.midlet.Scheduler.schedule(+270)
    at com.sun.midp.main.Main.runLocalClass(+28)
    at com.sun.midp.main.Main.main(+80)

    and this is the build file

    regards
    Elias

  17. tazzix Says:

    Elias,

    Please make sure the XML file is in the jar and is not obfuscated. If that does not help then you will need to debug the project in your IDE, I use netbeans and BB JDE so can help you with the specifics for these.

  18. wrappinguduke Says:

    wondering if thinlet widgets and awt components can be combined together in a project?

  19. tazzix Says:

    @wrappinguduke: on the desktop that should be possible, thought the new thinlets for J2SE look marvellous and you may not want to put AWT with it, but on the mobile side the javax.microedition.ui components can not be mixed with thinlets on the same screen because of the rule that you can either use high level or low level components only.

  20. lguo Says:

    I’m interested by your project “thinlet port”.
    Can you send me your codes for more research?

    And I have a question about how to include more than one screens which are defined by diferente xml files in a midlet.

    Thanks very much.

  21. tazzix Says:

    @Iguo: there is a download link in the original post, top of this page. You can switch XML whenever you want by calling the functions in the API, please refer to the sample application.

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Login