Latest messages

722 topics, 2262 messages
Kuix technical support » venkyn, please post your codes for DIRECT TEXTFILED INPUT

I tried mailing venkyn, no luck.

Kuix technical support » renderer shows only 2 items out of a list of 4

Hi

I have a strange problem with renderer. I am creating a dynamic radiogroup in my popup and my dataprovider has 4 elements in it (I do System.out.println debug statements so I verified this) but on the UI I see only 2 elements showing up. Has anyone encountered anything like this? I would like to know how it was resolved.

Thanks

nii amon

Kuix technical support » renderer shows only 2 items out of a list of 4

Hi

I have a strange problem with renderer. I am creating a dynamic radiogroup in my popup and my dataprovider has 4 elements in it (I do System.out.println debug statements so I verified this) but on the UI I see only 2 elements showing up. Has anyone encountered anything like this? I would like to know how it was resolved.

Thanks

nii amon

Kuix technical support » Doubt about the scroll

Hi,

I want to create a container with a fixed width and height where some data will be displayed. I can do that using staticlayout. The thing is that the data does not enter inside the container, so I want to create a scroll or something so that the user can read all the text.

I see there is a scrollpane widget but I don´t understand how to use it, because it spans an all the data appears on screen instead of appearing the scroll.

Does anyone know how can I do that?

Thanks

Kuix general board » How can i set the text of button dynamically?

<button>@{textFromJava}</button>

nii amon

Kuix general board » IS THIS PROJECT DEAD?

Kuix is open source and the source is available for download. Development can continue if there's still interest. In Africa J2ME is still very large in terms of phone platforms and so I am thinking of continuing with it in terms of what I will need in my projects.

Kuix general board » Button with java

I think that the right way to do this in Kuix is to use the CSS properties of the button object. Snippets of documentation:

border-color - No Define the border color. The value is an array of 4 colors values (like color property). Syntax : <top> <right> <bottom> <left>. If all the values are the same, you can specify only one value.

bg-image - No Define the background images. The value is a liste of image files path separated by a '|'.

bg-color - No

Define the background color. The value is a color like color property.

nii amon

Kuix general board » Image From Url

You can say something like this:

<picture src="${imgUrl}" style="layout-data:bld(west)"></picture>

where imgUrl is the imgUrl field of the object that you are displaying in the view.

 

nii amon

Kuix general board » Use content of a textField

<popupBox style="align:fill;layout:inlinelayout(false,fill)">

%USERNAME% <textfield id="name" tooltip="Enter username"/>

%PASSWORD% <textfield id="pass" tooltip="Enter password" constraints="password"></textfield>

<popupBoxFirstMenuItem onAction="oklogin(#name.text, #pass.text)">%OK%</popupBoxFirstMenuItem>

<popupBoxSecondMenuItem>%CANCEL%</popupBoxSecondMenuItem>

</popupBox>

 

This line: <popupBoxFirstMenuItem onAction="oklogin(#name.text, #pass.text)">%OK%</popupBoxFirstMenuItem> picks up the form arguments and then sends them over to the onMessage for processing.

 

nii amon

 

Kuix technical support » how can i use kiux to open a camera for taking pictures?

hi guys. i have some problem live this one:http://www.kalmeo.org/forum/topic/219/custom-widget---camera/1#post844

and i try open this link:http://www.kalmeo.org/projects/kuix/snippets/show/3

the link down

before i can use this to open camera for taking pictures.

try {
   player = Manager.createPlayer("capture://video");
   player.realize();
   videoControl = (VideoControl) player.getControl("VideoControl");
   
   if (videoControl != null) {
    videoControl.initDisplayMode(VideoControl.USE_DIRECT_VIDEO, this);
   }
   player.start();
  } catch (Exception e) {
   System.out.println("init Error:" + e.toString());
  }

 

but how could i open camera for taking pictures with kiux?

any give me an example?

Thanks!

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

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.

 

I think you need to return true instead of false (@return <code>true</code> if the task need to be removed after execute).

Kuix technical support » Dynamic bottombar

I'm trying to create a dynamic bottombar with my own inherited class from DataProvider. Sometimes show a popup with bottom bor and sometimes without.

This is what I currently have (and works fine) -> with bottombar:

http://pastebin.com/2jyw06bR

 

This is what I'm now trying but is failing (trying to delete the bottomBar at once):

http://pastebin.com/tygsBqDS

 

I have the same issue with the reglar bottom bar. I need it to be shown in some cases, and in other cases not.

Why doens't the second piece of code doesn't work?

Can anyone help me with this?

Kuix technical support » Problem trying to align containers

Hi,

 

I am trying to create a container that will contain some text inside. The text is quite large, so it does not enter in an unique line.

So, imagine that I would like to write "This is a simple text", that it doesn´t fit in one line. I set the align to center:

I see in 1 line: Thi(s is a simple t)ext   -- The () means what I see on the screen

I want to see in 2 lines: This is a simple

                            text

 

What do I have to write in my css page. I mean, which tag is the one I have to play with: align, layout, layout-data ??

 

Thanks a lot

Kuix technical support » Kuix Questions
I am researching a UI framework to use for a research project for my university and was wondering about the current state of Kuix. I like what it offers in way of features and seemingly ease-of-use. Is this project still alive? There doesn't seem to have been an update in some time. Will newer phones such as the Nokia N8 (Our target platform) support Kuix? Also, are there any IDE plugins available? Thanks in advance
Kuix technical support » Tofu, Can you help with direct textfield input

Hi, it's very urgent. Can you help with direct input for textfiled widget.

Thanks.