Latest messages

722 topics, 2262 messages
Kuix general board » Image From Url

Hallo,,

 

How to load image from internet? I got the url and store it on DataProvider,

 

here is my xml, the @{img} is the image url

<screen shortcuts="back=askQuit|left=askQuit" focusloop="false">

<scrollPane>

<list id="category">

<_renderer>

<![CDATA[

<listItem style="bg-color:${bg-color};layout:borderlayout;gap:5 0;" onAction="nextCategory(${id})">

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

<picture style="layout-data:bld(west)"><_image>@{img}</_image></picture>   

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

<text>${name}</text>

<textarea class="small">${description}</textarea>

</container>

</listItem>

]]>

</_renderer>

<_items>@{data}</_items>

</list>

</scrollPane>

<screenfirstmenu>

%MENU%

<menupopup>

<menuItem onaction="viewcart">%VIEW_CART%</menuItem>

<menuItem onaction="goToRoot">%HOME%</menuItem>

<menuItem onaction="refreshCatalog">%REFRESH%</menuItem>

<menuItem onaction="aboutme">%ABOUT%</menuItem>

</menupopup>

</screenfirstmenu>

<screenSecondMenu onAction="backCategory">${backLabel}</screenSecondMenu>

</screen>



thanks

Kuix technical support » blackberry soft left , right

How disable the soft left / right in blackberry

Kuix technical support » Help to Display Dynamic Data Needed
Check this thread out! http://www.kalmeo.org/forum/topic/583/simple-question---dynamic-text-list/1 Might be it is what you want!
Kuix general board » Seperate Screenfirstmenu options for Each TabItem with different options

Might be this is not good to post in old thread, but for reference to others searchers. You can create an index in each tab might be anything like 

 

text id="index" text="1"

and then on option you can add action as 

onaction="#index.text"

Then check arguments for the action. Now for each index, you can popup another xml of your desired options. Hope this helps.

Kuix general board » Button with java

Hello, I'm starting with Kuix and I would like to know how to add an backrground image or a border image to a button through Java code.

Thanks for the time you will spend or not helping me.

Kuix technical support » Kuix - Scrollbar in a screen

Hi everyone, 

I'm new in J2ME and Kuix development and I'm trying to put a scrollbar in a window that's receiving new data from my dataprovider but I don't know how to make it appear. 

I'm using kuix 1.1.0 and kutil 1.0.3 with j2me 3.0. 

I have a vector that contains a lot of strings which I concatenate and then it's sent to the xml that's painted in my screen, but only part of it is shown without any scrollbar. This situation makes imposible to see the whole content that I need to show. 

screen.xml :::

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

<textArea styled="true">

@{myProperty}

</textArea>

</screen>

 

I use textArea because I'm using HTML like text: example, "MyTitle <br/> <text> My Content </text>"

 

screen.java

//This line is inside the constructor

proveedor = new DataProvider();

 

public void onAdded() {

Screen screen = Kuix.loadScreen("screen.xml", proveedor);

//Starts the provider's thread

proveedor.start();

    // Set the application current screen

    screen.setCurrent();

}

I tried to use ScrollPane but I didn't know how to use it in my case. 

In the DataProvider I make a big String that looks like this: 

<b>A question</b><br/><br/><text>An answer with more than one line</text>

<b>A question 2</b><br/><br/><text>An answer with more than one line</text>

<b>A question 3</b><br/><br/><text>An answer with more than one line</text>

etc...

 

After that, I make a call to repaint the screen with this:

myProperty = All the previous String

dispatchUpdateEvent("myProperty");

Kuix.getCanvas().repaintAsSoonAsPossible();

 

I get in my Screen only two or three questions, but no scrollbar to be able to see the whole text

Can anyone give me an advise?

 

Kuix general board » need help in tab view

Hello everyone,

I want to build a tabbed based application. Though fixed tabbed system is pretty easy. What I want is to do is dynamically created tabs with dynamically created text/image items.

 

Anyone have information regarding this, please suggest me.

 

Bunkdeath

Kuix technical support » help me in Tutorial 1 : My First Kuix App

Hi that's working now I just moved from Netbeans 6.1 to 6.8, all things are going well! Great!

Kuix technical support » help me in Tutorial 1 : My First Kuix App

Hi I'am new in Kuix. I began a project by following the Tutorial 1: http://kalmeo.org/projects/kuix/docs/tutorial_1 but when I arrived at Step 7 the Add button doesn't work when I clicked on it in order to make up my MIDlet suite.

Pleaz any help will be usefull.

Kuix technical support » help me in Tutorial 1 : My First Kuix App

Hi I'am new in Kuix. I began a project by following the Tutorial 1: http://kalmeo.org/projects/kuix/docs/tutorial_1 but when I arrived at Step 7 the Add button doesn't work when I clicked on it in order to make up my MIDlet suite.

Pleaz any help will be usefull.

Kuix technical support » Dynamic Progress Bar

Did anybody got to know the solution? If so, please share it here..

Kuix technical support » use the container using java code

I really don't unstand your problem,maybe your can explan it clearly.

If u want some help,add my QQ:8802386.(QQ is a chinese IM like ICQ).

Kuix general board » How to make a clock?

U should take a picture of your watch and post it on your screen.That's really a clock.

Kuix general board » add many panels in different position in screen

a restaurant management system?do u want to ask the customer to install your midlet in their mobile and post order?I think using ipad maybe better.But IOS will not support Java forever.

I think u mean want the staticlayout,u can place a panel on what ever u want.

Kuix general board » add many panels in different position in screen

we are trying to make a restaurant management system and for ordering food we r going to use touch mobile. but dont know how to make add many panel in different position in screen,..plz reply as soon as possible.want to a similar application like the below link shows

http://www.youtube.com/watch?v=g5RNFzJr7r8

we r not using iphone for this appication but simple touch mobile....

hope to c reply