English 中文(简体)
What programming languages target J2ME?
原标题:

I recently received a Nokia 5000 phone. Now I want to write software for it. Trouble is, I don t know Java.

Now I ve heard of other languages which supposedly make possible development without recourse to Java, languages like CellularBASIC (which looks a bit like QBASIC) and Hecl (which seems to be based on Tcl).

Are these the only ones? Links, please!

最佳回答

(I wrote Hecl, by the way, so ask away if you have questions about it)

I think there is a version of Forth floating around, and maybe an attempt at Lua.

J2ME is still a fairly limited environment though, so you re not going to get kitchen sink languages unless they compile down to Java bytecodes. Symbian phones support some sort of Python, but that s not J2ME.

问题回答

If you are going to make an effort to learn a new language anyways, you should definitely consider Java. Not only will it help you in your current goal, but in today s market, it is a valuable skill to have.

If the vastness of the language intimidates you then you can consider learning ActionScript which is a close cousin of JavaScript. It s simple and has a C-like syntax, ships with a powerful library and costs nothing to begin with. Making stuff in ActionScript is fun.

But my first preference would still be learning Java.

The Nokia 5000 supports applications in J2ME and Flash Lite. All other languages should be implemented on top of these (mainly on J2ME). These implementations will definitely be slow and probably very restricted, as J2ME is itself slow and a cut-down version of full Java.

However you shouldn t be intimidating by Java. Download Netbeans and optionally the SDK from Nokia to get you started. If you have experience in any other object-oriented language, you should be able to code your first application quickly.





相关问题
add text in http request string url

ok i made a midlet through which i can connect to server pages and get soem information as response. For example i made a midlet through which i acced url: http://example.com/?u=nepal&t=1 Now i ...

Do I have to do a setSize() on a Vector before using it?

Given private final Vector v = new Vector(); //instance variable the following 3 lines are in an instance method in the same class. 1. int length = v.capacity(); 2. int size = v.size(); ...

Is the situation with Java ME improving?

It seems to be the consensus that developing for Java ME is not as cross platform as you might expect, particularly compared to say java SE, but it is difficult to assess how the situation is evolving....

Privileged operations in netbeans mobility

I m writing a Java ME app that will use privileged operations such as messaging. By default the user is prompted to confirm each of these operations, but I would like to run it as a background ...

ClassFormatError: 56 while using hessian in j2me

I am trying to use the hessian j2me implementation @ http://hessian.caucho.com/ using java me sdk 3.0. http://hessian.caucho.com/doc/hessian-overview.xtp#Hessian%20Client%20for%20a%20cell-phone ...

热门标签