lwuit

LWUIT Deadlock (lwuit dialog VS System dialog)

Hi, I have a deadlock problem when I try to make some I/O operations that needs user permission. When user click the button I start a new thread which is responsible for performing IO operations, and I display lwuit "please wait" dialog. Dialog is dismissed by IO thread from callback method. Problem is that, when system dialog appears (...

Custom creation of cells in a LWUIT Table in J2ME

I am trying to create a LWUIT Table in my J2ME application where all cells in one column are of a particular type e.g. TextField taking decimal input. Could anyone please suggest of achieving this or even another approach I could take? ...

Problems with LWUIT in J2ME on Nokia E72

Well, I'm developing a app in my cellphone that is going to connect to my PC, the problem is that everytime that I return a URLRequest to the cellphone, it shows the previous Form on the screen and not de actual one, for example this is what goes in my actionListener: public void actionPerformed(ActionEvent ae) { if (ae.getCommand(...

Big image with many icon or one image one icon?

I have to display around 100 icons (each 50x50) in Button. I am downloading big png Image which contains all 100 icons, then I create each icon using Image.subImage() method. But my application getting OutOfMemoryError. I am thinking about 2 solution for this: 1) download 100 icons as tar(combined into single) file. So i can create ico...

LWUIT in a enterprise J2ME application ?

We are developing a J2ME application and sometimes we face constraints while working with the default lcdui library. Whenever we want some extra in the UI, the only option is to work with canvas which is not so easy. Now we are thinking to use LWUIT as UI library instead of ludui but having some question before starting - Is LWUIT matu...

kXML and LWUIT to build an RSS Reader

Hello people. New here. I'm currently doing an RSS Reader for J2ME for a device called Samsung Corby. Here is my question. Is there anyone who are doing RSS Readers with kXML and LWUIT before? I got the basic idea for kXML, but for LWUIT to work with kXML, there's no sample code or sample app that I can refer to. Need help. ...

LWUIT and kXML Parser

Uncaught exception: java.lang.Error: Static initializer: java.lang.NullPointerException, 0 - java.lang.Class.throwError(), bci=57 - java.lang.Class.initialize(), bci=221 - com.sun.lwuit.Component.(), bci=5 - com.sun.lwuit.Container.(), bci=1 - com.sun.lwuit.Form.(), bci=8 - com.sun.lwuit.Form.(), bci=1 - com.midlet.RSSMidlet.(),...

J2ME LWUIT TabbedPane: How to add mutliple components in a tab?

How can multiple components ( for example a Label, a Textfield and a Button ) can be added in a single Tab? I tried creating a new Form with multiple components, then added that form into the TabbedPane as new Tab, but it threw an exception : java/lang/IllegalArgumentException: A form cannot be added to a container. Any help/ideas/hint...

ZXING and LWUIT

Hello I am using LWUIT to develop ZXING application which stops taking video when video come across with a QR code. I have seen j2me codes for zxing. Unforunately I found out that I cannot use some codes coz Canvas has been used a lot which LWUIT has no canvas.You have sample codes for LWUIT users to stop gettting video when camera saw...

What's the LWUIT theme resource syntax for borders, gradients and such?

LWUIT ships with great Resource Editor but this doesn't allow your resources definitions to be versioned or edited easily. So I'm using the ANT task and editor.jar to build my resource bundles from my IDE (Netbeans). This works great for simple declarations as found in the docs and the demo application. Example from LWUIT demo: bgCol...

LWUIT : problem in showing arabic words ?

Hi i have problam in showing arabic words in LWUIT , the arabic words characters are separated and reversed , but it`s work true on nokia , how can i slove this problem ? thanks ...

LWUIT : arabic font problem

Hi how can i add arabic Characters to bitmap font and show in application ? how can i do it on localization section ? when i use system font it`s shows seprated and reserved on some phones , i want to make bitmap font to show arabic strings correctly on all phones thanks ...

use *.bmf bitmap font on LWUIt ?

Hi , i make bitmap font with j2mepolish font editor , is it possible to use this bitmap font on LWUIT ? how ? thanks ...