Latest messages

584 topics, 1891 messages
Kuix technical support » Custom widget help

Can anybody give advices of how custom widget is creating.

Kuix technical support » custom widget - camera

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.

Kuix technical support » Create a Simple TextField

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.

Kuix technical support » Create a Simple TextField

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.

Kuix technical support » transition from j2me form to kuix screen

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

Kuix technical support » Persian or Arabic input in textfield

Hi To All

Does textfield support Persian Or Arabic input?

It's so kind of you if give me a tutorial about it?

Kuix technical support » setAttributeBindInstruction function, Help!

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.

Kuix technical support » Where is Vibration Function and Lighting Function in Kuix?

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?

Kuix technical support » Text Wrap

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");

 

Kuix technical support » Text Wrap

I am using XML file for user interface.like text  can i wrap data in the text.please help me

Kuix technical support » Minimun requirements

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

Kuix technical support » Minimun requirements

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

 

Kuix technical support » screen.setCurrent() from a 2nd thread

btw. what "pandora808's solution up-top" means? 808?

Kuix technical support » screen.setCurrent() from a 2nd thread

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.

Kuix technical support » screen.setCurrent() from a 2nd thread

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.