Wednesday, 26 August 2009

Java in Brew, iPod Touch/iPhone, Android

Javaground provides Xpress Suite which ports a singla Java source code into Brew, iPod Touch/iPhone, Android. Sounds amazing but I never got to try it. But you can try it and get more info from here:

Sunday, 23 August 2009

Application not compatible with phone error

Application not compatible with phone error happen because it is not set to the proper settings supported by the phone. It is a runtime error which means it would only happen if you run it on the phone itself.

To overcome this problem, you need to find out the CLC and MIDP version supported by the phone through Google etc. For example, if the phone supports CLDC 1.1 and MIDP 2.0, select that as the settings in your IDE(eg Netbeans,Sun Wireless Toolkit). Then, compile the code and run it in the phone. It should work now.

If not, another possibility is that you are using a JSR which the phone does not support. You can again google the JSR which your phone supports.