Developping your own Java extension

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello,

    If you want to port your C++ extension to Java, you can download the extension kit at the following address:

    Please login to see this link.

    You will need Netbeans to use it. It is quite simple and very close to the C++ extension kit.

    In case of problem do not hesitate to contact me me or post in this thread.

    Francois
    PM: Please login to see this link.

  • No. I will be converting the Java extensions to mobile. So if you want one extension in mobile, just do the Java version, and send the sources to me.

    Francois
    PM: Please login to see this link.

  • What about phone-specific extensions for keyboard/scroll button/touch/etc input that have been discussed over Please login to see this link. and Please login to see this link.. I find this very important for general usability of Java mobile runtime in the future, enabling developers to implement proper UIs to their apps and games, which is now a bit challenging (e.g. for Nokia devices, two essential "menu/action" buttons are not supported).

    What is the "plan" here, are you perhaps aiming to use some 3rd party to develop these sort of extensions, or is it up to the community to tackle this by creating their own extensions? Can the regular Java SDK be used to program these type of extensions or would it need a Java Mobile SDK? Thanks.

  • I see that it isn't possible to develop an extension who is only present in the Java runtime. Would it be possible to make a Java only extension in the future?

    Why I ask is because I would like to access a GPS device in the ME version. This is bluetooth accessed but emulates a serial interface in Windows (so you can access it using the serial object there). However, in exemple code I have seen on Sun's website, you would access this as an bluetooth with serial service (0x1101) on a Java ME mobile. So it is two completly diffent way to access it in Windows and Java ME. A Windows C extension would have to read the serial port and a Java version would have to read Bluetoth. So they aren't really related so it seams a bit odd to have to make a C extension for that?

  • No this is not possible. Think about it, the editors are in C++. You want to be able to edit your new extension in MMF dont you? So the original extension has to be in C++. It does not have to do much, in can be a no-op thingt in runtime. But the editing part must be there.

    Francois
    PM: Please login to see this link.

  • You would have to make a C++ dummy extension that only has the menus and property stuff. When running the .exe version of your app it just wouldn't do anything, but when exporting to Java it would work.

    Please login to see this picture. Please login to see this link. - Please login to see this picture.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!