JamUzb
6 messages 2010-08-17 |
Can anybody give advices of how custom widget is creating.
|
|
linxucn
1 message 2010-08-13 |
excuse, how can I put a camera into sreen ? I use Bo's snippet ,put the costom "public class Camera extends UnpaintableWidget{" into xml , the sreen only show the title and camera ,the others is not shown!
any body tell me why ! thank you.
|
|
eric.kweyu
4 messages 2010-08-07 |
No one has an answer to this?? I thout it would be straight foward to create a field using java code and not the kuix xml file.
Anybody??
Thanks.
|
|
eric.kweyu
4 messages 2010-08-03 |
Dear All,
I am new to Kuix so please forgive my basic question. I want to create a simple form that has three fields. My question is how do I create a TextField using xml file or a java method. I am using the demo helloworld.xml and HelloWorldFrame.java. I tried the following and it doest seem to work.
public void onAdded() {
// Load the content from the XML file with Kuix.loadScreen static method
Screen screen = Kuix.loadScreen("helloworld.xml", null);
TextField item = new TextField();
screen.add(item);
// Set the application current screen
screen.setCurrent();
}
Please Help.
Thank you.
|
|
eng_shaheen
1 message 2010-07-18 |
hi ,
i am trying to switch from kuix screen to j2me form and back to kuix screen , i am using the below code :
org.kalmeo.kuix.widget.Screen screen = Kuix.loadScreen("preview.xml", Model.st); screen.setCurrent(); BTMarketee.getDefault().getDisplay().setCurrent(Kuix.getCanvas());
but "preview" screen appears its height shorter than screen height, clicking any button will resolve the issue

|
|
smartleopard
1 message 2010-07-15 |
Hi To All
Does textfield support Persian Or Arabic input?
It's so kind of you if give me a tutorial about it?
|
|
kadir950
10 messages 2010-07-12 |
Hi,
How can I use this function? >> "setAttributeBindInstruction". I want to fasten label of TabPage with Dataprovider. I can fasten in xml, but I want to fasten code behind.
tab.setAttributeBindInstruction("label",null,"@{name}"); > dont work
OR
tab.setAttributeBindInstruction("_label",null,"@{name}"); > dont work ....
Thanks.
|
|
kadir950
10 messages 2010-07-05 |
Hi,
I saw Vibration and Lighting Functions in Kuix. I can remember but Now I can not find it. Did you use it? Do you know, how I can use these functions?
|
|
kadir950
10 messages 2010-07-05 |
Hi,
You must use "<textarea>" control for wrapped. And you can use "<b>, <u>, <i>...." in text area for format.
<textarea id="txtContent" styled="true"></textarea>
after
TextArea txtExtra = (TextArea) Kuix.getCanvas().getDesktop().getCurrentScreen().getWidget("txtExtra");
txtExtra.setText("kadir <b><u>AKIN</u></b>, <u>test</u> project");
|
|
rajcit
2 messages 2010-06-23 |
I am using XML file for user interface.like text can i wrap data in the text.please help me
|
|
klickr
7 messages 2010-05-29 |
Hey Jorge,
I don't know of a readily available list but if you visit DeviceAtlas.com and search for devices that support at least MIDP2.0 and at least CLDC 1.0 it will return a list of handsets.
I have found that my Kuix apps are between 240KB on average. Therefore you need to ensure you develop for devices that allows a MAX-JAR-SIZE of >250KB.
Else Kuix works perfectly fine.
Klickr
|
|
jorge
1 message 2010-05-21 |
Hi,
I want to build an application that is widely compatible with as many devices as posible.
Where can I see a list of minimun requirements for a device to be compatible with Kalmeo apps? I mean minimun RAM and stuff. Or even better, a list of most basic supported devices by brand.
Thanks,
Jorge
|
|
shappy1978
33 messages 2010-05-20 |
btw. what "pandora808's solution up-top" means? 808?
|
|
shappy1978
33 messages 2010-05-20 |
Hi klickr,
I'm not very sure your problem(my English is poor),u mean that pushTask will make memory leak?And even cause out of memory error?I never have that problem,perhaps u must check your other code.My Midlet work well and can work for a long time,never cause out of menory error.
|
|
klickr
7 messages 2010-05-17 |
Hi Shappy,
Yup, I experienced the exact same issue - but it was sort of resolved by pandora808's solution up-top. Having implemented that solution I never experienced the static-screen issue again. However, what I did discover was that once you push a new Task into the worker instance a "memory leak" occurs. The worker just keeps on creating objects even when there is no acitivity. This can be seen on a memory monitor. Just launch the app, push a new Task and then sit back and watch the memory fill up. Calling System.gc() clears out all the "spawned" objects - but new objects start forming at the very next worker cycle. An out of memory error results.
L.
|
|