Messages by gsarmentero

5 topics, 6 messages
Kuix technical support » How to send Kuix MIDlet to background

Hi all,

I have a little doubt. Can i send a KuixMIDlet to background with the following code?

Display display = Display.getDisplay(myMIDletClass);
display.setCurrent(null);

Could someone help me please?

Thanks in advance.

Kuix technical support » Help to Display Dynamic Data Needed

Hi all,

I read the Kuix tutorials but i don't understand how can i display dynamic data with a loop and a DataProvider.

Could someone helpme please? Any example?

I need to display a dynamic list with x number of items.

Thanks in advance.

Kuix technical support » How can i set the icon app with Kuix?

Hi all,

How can i set the app icon with Kuix?

Could someone help me please?

Thanks in advance.

Kuix technical support » Installation Problem with Nokia 5530

Hi all,

I trying to install the Kuix Demo jar in my Nokia 5530 with the Nokia PC Suite and an error occurs: "Invalid jar file".

Could someone help me please?

Thanks in advance.

Kuix technical support » External Picture Problem

Hi all,

Finally, i found the solution:

 

Java:

public class JKNewsFrame implements Frame {

    protected Screen screen;
    private String description;
    private Image image;

    public JKNewsFrame(String description, Image image) {
        this.description = description;
        this.image = image;
    }

    ...

    public void onAdded() {       
        screen = Kuix.loadScreen("news.xml", null);
        ((TextArea) s.getWidget("text")).setText(description);
        ((Picture) s.getWidget("image")).setImage(image);
        s.setCurrent();
    }

 

Kuix technical support » External Picture Problem

Hi all,

I'm loading an external content with JSON; a text and an image. It works fine in J2ME, but when i trying to use this wonderful framework to display the content, i can only see the text, but not the image.

What am i doing wrong? Could someone help me please?

Thank you in advance.


Java:

public class JKNewsFrame implements Frame {

    protected Screen screen;
    private String description;
    private Picture picture;

    public JKNewsFrame(String description, Image image) {
        this.description = description;
        this.picture = new Picture().setImage(image);
    }

    ...

    public void onAdded() {       
        screen = Kuix.loadScreen("news.xml", null);
        ((TextArea) s.getWidget("text")).setText(description);
        ((Picture) s.getWidget("image")).add(picture);
        s.setCurrent();
    }


XML:

<?xml version="1.0" encoding="UTF-8"?>
<screen title="News">
    <scrollPane style="layout:inlinelayout(false,fill); align:center">
        <textarea id="ta"></textarea>
        <picture id="image"></picture>
    </scrollPane>
    ...
</screen>