KUIX midlet does not start on Nokia phones

12 messages - 2545 views

Hi,

We are trying a simplete hellow world code, in our existing application. The midlet works fine on sony erricson, however fails to start the application on any of the nokia phones. We tried with n70, n73 and 6600.

Is there a known issues on nokia phones.

Also, binaries of kuix are generic and not specific to any manufacturer etc.. is that correct

We use kxml2 api in our application.. does kuix has any clash with any of the other 3 rd party library.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com

Try to checkout the lastest kutil sources. The previous commit contains a non CLDC 1.0 compatible line.

Thank you for this.

Also, we had another problem that nokia phones does not allow creating a midlet class in the code.. We were trying to mix kuix midlet with ours by manual instatiation of the other.. and that was failing in all nokia phones.. however on se and emulator that works great..

We are no resorting to KuixInitializer approach.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com

 

I'm not sure to understand what you mean by "..nokia phones does not allow creating a midlet class in the code" !?

If the application has two midlets

Midlet A and Midlet B both inherit from MIDlet.

On innovoation of Midlet A, we wanted to created Mildet B in startApp of Midlet A. This was failing in nokia.

We did this as we had Midlet B, and wanted to integrate KUIX with in its midlet. The code works fine on SonyEricson and Emualtor but not on Nokia phones.

Now that 1.0.1 has KuixInitializer, things are smooth now.

Regards,
Nagendra

MIDlet A and B are KuixMIDlet or simply a javaME MIDlet ?

In our case MIDlet A was KuixMIDlet  and Midlet B was JavaME midlet.

KuixInitializer approach works quite fine with normal screens, without custom widgets.

In case we were to write custom widgets, then I see the need for writing our own converter, which gets overriddent with in KuixMIDlet extended midlet by overiding the method    

protected KuixConverter createNewConverterInstance()

I see that this method is not there as part of KuixInitializer.. so pl. let me know how to we use custom midlets, within our own midlets.

Regards,
Raja Nagendra Kumar,
www.tejasoft.com

 

KUIX dev team.. could you pl. let us know if this observation of ours is correct.. else.. pl. correct us..

Regards,

Nagendra

www.tejasoft.com

Any support please..

If you use your own MIDlet with your own KuixInitializer, you need to write something like this :

KuixInitializer initializer = new MyKuixInitializer();
KuixCanvas canvas = new KuixCanvas(initializer, true);
KuixConverter converter = new KuixConverter();
Kuix.initialize(null, canvas, converter);

Then you can see here that the creation of the Converter is created inline, then the only thing that you need is to instantiate your own converter and pass it to the Kuix.initialize(...) method.

Right click on your  project and select Properties. In the dialog window, select Application Descriptor and click on Tab MIDlets. and click on Add and write name of class and location +ok  +clean and build your project.