pandora808
23 messages 2008-11-20 |
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?
|
|
pandora808
23 messages 2008-11-20 |
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
|
|
pandora808
23 messages 2008-11-19 |
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>
|
|
pandora808
23 messages 2008-10-14 |
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
|
|
pandora808
23 messages 2008-10-03 |
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?
|
|
pandora808
23 messages 2008-10-03 |
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
|
|
pandora808
23 messages 2008-10-01 |
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
|
|
pandora808
23 messages 2008-10-01 |
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?
|
|
pandora808
23 messages 2008-09-12 |
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 :(
|
|
pandora808
23 messages 2008-09-11 |
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
|
|
pandora808
23 messages 2008-09-10 |
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
|
|
pandora808
23 messages 2008-08-15 |
ahhhhhhhhhhhhhhh thank you! i wasted too much time on that. hehe.
|
|
pandora808
23 messages 2008-08-14 |
or say for example, globally I wanted buttons to have a green background color, but on one button wanted NO bg-color... how?
thanks!
|
|
pandora808
23 messages 2008-08-13 |
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?
|
|
pandora808
23 messages 2008-08-12 |
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!
|
|