Messages by test

8 topics, 24 messages
Kuix technical support » compilation error

Hi everyone,

when do i get this type of exception

Uncaught exception java/lang/OutOfMemoryError: org/kalmeo/util/LinkedList$LinkedListEnumeration.

thanks

 

Kuix technical support » Different xml for different screen in application

it is a simulator ,the application was working fine all this days , I made some changes  to Xml , after that it is happenning .I jhave pasted my Xml in the other queteion , I think you know the question of outof memory while debuging .

 

Kuix technical support » Error

I made all the changes as you suggested , except the gridlayout, but still i am getting the same error at the same point.

 

Collected 27896 bytes of garbage (28196/524288 bytes free)
java.lang.OutOfMemoryError
        at org.kalmeo.util.xml.LightXmlParser.parse(LightXmlParser.java:279)
        at org.kalmeo.kuix.core.Kuix.parseXml(Kuix.java:305)
        at org.kalmeo.kuix.core.Kuix.loadXml(Kuix.java:195)
        at org.kalmeo.kuix.core.Kuix.loadScreen(Kuix.java:119)
        at org.kalmeo.kuix.core.Kuix.loadScreen(Kuix.java:107)
        at com.vhc.mc.frame.MCFrame.firstWSCall(MCFrame.java:287)
        at com.vhc.mc.frame.MCFrame.startMIDlet(MCFrame.java:193)
        at com.vhc.mc.frame.MCFrame.onAdded(MCFrame.java:64)
        at org.kalmeo.util.frame.FrameHandler.pushFrame(FrameHandler.java:100)
        at com.vhc.mc.midlet.MobileConnect.initDesktopContent(MobileConnect.java:28)
        at org.kalmeo.kuix.core.KuixCanvas.initialize(KuixCanvas.java:257)
        at org.kalmeo.kuix.core.KuixMIDlet.startApp(KuixMIDlet.java:395)
        at javax.microedition.midlet.MIDletProxy.startApp(MIDletProxy.java:44)
        at com.sun.midp.midlet.Scheduler.schedule(+270)
        at com.sun.midp.main.Main.runLocalClass(+28)
        at com.sun.midp.main.Main.main(+80)
Execution completed.

 

If I am using the same dataprovider for two different screens do I have to call the dataprovider everytime i load the screen?

or do I have to create the different dataproviders for different xml?

 

 

 

Kuix technical support » Different xml for different screen in application

If am trying to load my application to mobile ,and select run it starts loading after a while the application stops downloading  and the window closes.

Kuix technical support » Error

If I am running onthe simulator it works fine but when I start the debug it is throughing the exception

Kuix technical support » Error


    
  

 

Kuix technical support » Error

Hi Everyone ,

I am getting the following error ,

java.lang.OutOfMemoryError
        at org.kalmeo.util.xml.LightXmlParser.parse(LightXmlParser.java:279)
        at org.kalmeo.kuix.core.Kuix.parseXml(Kuix.java:305)
        at org.kalmeo.kuix.core.Kuix.loadXml(Kuix.java:195)
        at org.kalmeo.kuix.core.Kuix.loadScreen(Kuix.java:119)
        at org.kalmeo.kuix.core.Kuix.loadScreen(Kuix.java:107)
        at com.vhc.mc.frame.MCFrame.firstWSCall(MCFrame.java:270)
        at com.vhc.mc.frame.MCFrame.startMIDlet(MCFrame.java:179)
        at com.vhc.mc.frame.MCFrame.onAdded(MCFrame.java:59)
        at org.kalmeo.util.frame.FrameHandler.pushFrame(FrameHandler.java:100)
        at com.vhc.mc.midlet.MobileConnect.initDesktopContent(MobileConnect.java:28)
        at org.kalmeo.kuix.core.KuixCanvas.initialize(KuixCanvas.java:257)
        at org.kalmeo.kuix.core.KuixMIDlet.startApp(KuixMIDlet.java:395)
        at javax.microedition.midlet.MIDletProxy.startApp(MIDletProxy.java:44)
        at com.sun.midp.midlet.Scheduler.schedule(+270)
        at com.sun.midp.main.Main.runLocalClass(+28)
        at com.sun.midp.main.Main.main(+80)
Execution completed.

 

 

thanks,

Kuix technical support » Error

Hi Everyone ,

I am getting the following error ,

java.lang.OutOfMemoryError
        at org.kalmeo.util.xml.LightXmlParser.parse(LightXmlParser.java:279)
        at org.kalmeo.kuix.core.Kuix.parseXml(Kuix.java:305)
        at org.kalmeo.kuix.core.Kuix.loadXml(Kuix.java:195)
        at org.kalmeo.kuix.core.Kuix.loadScreen(Kuix.java:119)
        at org.kalmeo.kuix.core.Kuix.loadScreen(Kuix.java:107)
        at com.vhc.mc.frame.MCFrame.firstWSCall(MCFrame.java:270)
        at com.vhc.mc.frame.MCFrame.startMIDlet(MCFrame.java:179)
        at com.vhc.mc.frame.MCFrame.onAdded(MCFrame.java:59)
        at org.kalmeo.util.frame.FrameHandler.pushFrame(FrameHandler.java:100)
        at com.vhc.mc.midlet.MobileConnect.initDesktopContent(MobileConnect.java:28)
        at org.kalmeo.kuix.core.KuixCanvas.initialize(KuixCanvas.java:257)
        at org.kalmeo.kuix.core.KuixMIDlet.startApp(KuixMIDlet.java:395)
        at javax.microedition.midlet.MIDletProxy.startApp(MIDletProxy.java:44)
        at com.sun.midp.midlet.Scheduler.schedule(+270)
        at com.sun.midp.main.Main.runLocalClass(+28)
        at com.sun.midp.main.Main.main(+80)
Execution completed.

 

 

thanks,

Kuix technical support » Error

Hi Everyone ,

I am getting the following error ,

java.lang.OutOfMemoryError
        at org.kalmeo.util.xml.LightXmlParser.parse(LightXmlParser.java:279)
        at org.kalmeo.kuix.core.Kuix.parseXml(Kuix.java:305)
        at org.kalmeo.kuix.core.Kuix.loadXml(Kuix.java:195)
        at org.kalmeo.kuix.core.Kuix.loadScreen(Kuix.java:119)
        at org.kalmeo.kuix.core.Kuix.loadScreen(Kuix.java:107)
        at com.vhc.mc.frame.MCFrame.firstWSCall(MCFrame.java:270)
        at com.vhc.mc.frame.MCFrame.startMIDlet(MCFrame.java:179)
        at com.vhc.mc.frame.MCFrame.onAdded(MCFrame.java:59)
        at org.kalmeo.util.frame.FrameHandler.pushFrame(FrameHandler.java:100)
        at com.vhc.mc.midlet.MobileConnect.initDesktopContent(MobileConnect.java:28)
        at org.kalmeo.kuix.core.KuixCanvas.initialize(KuixCanvas.java:257)
        at org.kalmeo.kuix.core.KuixMIDlet.startApp(KuixMIDlet.java:395)
        at javax.microedition.midlet.MIDletProxy.startApp(MIDletProxy.java:44)
        at com.sun.midp.midlet.Scheduler.schedule(+270)
        at com.sun.midp.main.Main.runLocalClass(+28)
        at com.sun.midp.main.Main.main(+80)
Execution completed.

 

 

thanks,

Kuix technical support » Different xml for different screen in application

Please reply, if I am wrong pls let me know.

thanks

Kuix technical support » Different xml for different screen in application

Hello Everyone,

I want to use different XML for different screen , I know it is possible , but the size of the application increases very much.

To , reduce the size of the jar and Jad , by adding and removing widgets,by using the one xml , will help me?

When I tried to do add and remove widgets, I am getting outofmemory Exception .

 I am not able toload my application into mobile, eventhought it is working fine on the simulator(with different xml for different screen).

 please Help.

Thankyou,

Kuix technical support » Exceptions

Hi all,

Here are the two exceptions I am getting when I am trying to make the webservice call. I checked my code ,I am not able to find any error .Please.... Help me out how to figure it.

Uncaught exception java/lang/OutOfMemoryError: com/vhc/mc/ws/vhportal/VirtualHoldPortal: Unable to expand permanent memory .
Uncaught exception java/lang/NullPointerException.

I am using Kuix for UI

thanks

Kuix technical support » Style for alert

Here is my style sheet

text {
    align: center;
    font-style: normal;
    color: #000000;
    border-color: #f19300;
}

screenTopbar text {
    color: white;
    padding: 1 2 1 2;
}
screenTopbar {
    font-style: bold;
    bg-color: #cccccc;
    border: 0 0 1 0;
    border-color: #f19300;
}
textfield {
    align: center;
     font-style: normal;
    color: #000000;
    bg-color: #C0C0C0;
    border-color: #808080;
    min-size: 5 2;
}
textfield:hover{
  border-color: #000000;
     border:1; 
}
textarea {
    align: center;
    font-style: normal;
    font-size: small;
    padding: 0 0 15 0;
    color: #000000;
    bg-color: #FFFFFF;
    border-color: #808080;
    min-size: 5 15;
}
desktop {
    bg-color: #ffffff;
}
choice {
    align: center;   
    color: #000000;
    bg-color: #C0C0C0;
    border:1;
    border-color:#ffffff;
    min-size: 0 1;
    span: 1 1;
    }
choice:hover {
    border-color: #000000;
    border:1;
}
choiceradiogroup {
    align: center;      
    bg-color: #C0C0C0;   
}
radiobutton {   
    bg-align: left;
    bg-repeat: 1 1;
    padding: 0 0 0 20;
    border: 1 1 1 1;
    color: #000000;
}
radiobutton:hover {
    border-color: #ffffff;
}
radiobutton:selected {
    bg-image: url(arrow.png);
}
scrollbar {
 bg-color:#EEEEEE;
}

scrollbarbar {
 bg-color:#818181;
 padding:0 0 0 4; 
}

scrollpane {
 padding: 0 1 0 1;
 margin: 1 1 1 0;
}
button {
    border: 1;
    border-color: #808080;
    bg-image: url(title.png);
    padding: 1 6 1 6;
    margin: 2;
}
button:hover {   
    bg-image: url(title_gradient1.png);   
}
picture{
    align: fill-center;
   padding:0 0 0 0;
 }
 

popupbox.myclass {
    color:red;
   layout:borderlayout;
 bg-color: #808080;
border-color:#ffffff;

}

 

I am able to get the color only for ok button not for the message . can u pls help me to fix it

Kuix technical support » Style for alert

 KuixMIDlet.getDefault().showPopupBox("myclass", -1,"This is my alert", -1, new String[] { " ok " }, null, null, null);

and stylesheet is

popupbox.myclass {
 bg-color: #808080;
border-color:#ffffff;

}

But the color is getting applied only for ok button but not thhe message

Kuix technical support » Style for alert

tofu, thankyou

I get the aler box but the color whish you have specified is getting applied only for the button  not the background of the alert box.

 

thanks