Messages by pandora808

6 topics, 23 messages
Kuix technical support » Any way of using system menus instead of buttons in popup box

Tofu: nono i mean what tsyvanpe was talking about.  programatically swapping the first/second menus with his own, to achieve a popupbox that used [select] and [cancel] on the softkeys.

just trying to figure out how to do that, it's exactly what I need, i have a popupbox that is a list menu, and i want the user to click on one to fire an action and close, and be able to use the soft keys to select or cancel/close.

ideas?

Kuix technical support » Any way of using system menus instead of buttons in popup box

how did you swap the first/second menus? i need to do exactly what you did, but can't see where to set my own first/second menu

Kuix technical support » How to close or hide the popup

I have a similar case and question.

I have a popupbox with a menu (list/listitem) and no buttons.  I want to close it when one of the listitem's are clicked.  how can I hide the popupbox when an action is recieved from a listitem?

 

    public boolean onMessage(Object name, Object[] arguments) {

       if ("popupclicked".equals(name)) {

            // hide/close popupbox ??
       }

    }

 

xml snip:

<listitem onAction="popupclicked">some item</listitem>

Kuix general board » Welcome to Kuix programmers!

well, I have a very very simple little patch to kutils ImageManager so that I can optionally load images by any external means, which I'm using so that I can load xml screens over the network and all the images referenced are resolved on the fly...

where can i submit the patch? it's tiny

Kuix technical support » i18n messages failing

I looked into it a little, in Kuix.java line 1455:

// First, load Kuix default bundle
inputStream = clazz.getResourceAsStream(KuixConstants.KUIX_DEFAULT_I18N_MESSAGES_BUNDLE);

that loads "/org/kalmeo/kuix/core/i18n/messages.properties"

what 1.0.1 loads is "/i18n/messages.properties"

 

so, if I change line 1455 to:

inputStream = clazz.getResourceAsStream(KuixConstants.DEFAULT_I18N_MESSAGES_BUNDLE);

 

then it loads "/i18n/messages.properties" and loads my messages like expected.

 

is this a bug or some misuse on my part?

Kuix technical support » i18n messages failing

I don't use any IDE, just vim.  But yes, the properties file is encoded with UTF-8.  works perfectly with kuix-1.0.1 fails to load from messages.properties when building the library from SVN

Kuix technical support » i18n messages failing

i know SVN is work in progress, so I wouldn't bring up issues with things, but this is my first test running from SVN, so I have a feeling I'm just missing something

Kuix technical support » i18n messages failing

I have a few properties in "messages.properties" and if I use the 1.0.1 build of kuix everything works fine.  But when I build kuix/kutil from source all get is "???" for all my i18n messages.  The application code is identical, it's only when i swap the kuix libraries.

ideas?

Kuix technical support » custom widget - camera

thanks for the reply Bo.  Ouch, well at least I know what's going on.  I guess for now i'll have to jump to a midp Form for camera integration :(

Kuix technical support » custom widget - camera

unfortunately it doesn't work like that. the camera view is a native thread outside of the user-application layer, constantly repainting on the canvas you pass to it as an argument, at the coordinates you pass it.  It just does it's thing until you call Player.stop() or some other state changing method.  So, something about it it making kuix do a bunch of repaints on top, then the camera trys to repaint on top, etc etc.  I just don't know if someone else has gone down this path

Kuix technical support » custom widget - camera

I created a custom widget that is a jsr-135 camera viewport for taking pictures.  But after it gets onscreen, it only flickers a few times and is painted over by kuix.  It kind of looks like the camera widgets painting (direct canvas) is fighting with kuix on rendering the space.

does anyone else have any experience with this in kuix?  I've don't lots of camera/jsr-135 work, and even written these types of custom widgets for cameras in other frameworks, but i'm evaluating kuix to see if I can use it for a commercial project.

any help on this would be great, thanks!

-pandora

Kuix technical support » unsetting css or overriding

ahhhhhhhhhhhhhhh thank you! i wasted too much time on that. hehe.

Kuix technical support » unsetting css or overriding

or say for example, globally I wanted buttons to have a green background color, but on one button wanted NO bg-color... how?

 

thanks!

Kuix technical support » unsetting css or overriding

button { bg-image: url(button.png); }

.newbutton { bg-color: black; }

.... in xml ...

<button>something</button>

<button class="newbutton">something else</button>

 

How can I make "newbutton" NOT have a background image, while still applying a bg-image globally to other buttons?

Kuix technical support » not using kuixmidlet

how could I go about using KUIX without using KuixMIDlet?  I'm using a different application framework, but would love to use KUIX as the UI layer, and that framework has it's own custom MIDlet I have to use.

possible?

thanks in advance!