View Single Post
Old 08-17-2013, 10:00 AM   #4
CapitainDerya
Connoisseur
CapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensionsCapitainDerya can understand the language of future parallel dimensions
 
Posts: 56
Karma: 51304
Join Date: Sep 2012
Device: Kindle 4 NT,PW2
Please, help! I am not able to solve this problem. May you give a HelloWorld example?
Example Issue;
I have got a helloworld app like this...
Spoiler:
package test;


import com.amazon.kindle.kindlet.AbstractKindlet;
import com.amazon.kindle.kindlet.KindletContext;
import com.amazon.kindle.kindlet.ui.KTextArea;

public class Main extends AbstractKindlet {

private KindletContext ctx;

public void create(KindletContext context) {
this.ctx = context;
}

public void start() {
try {
ctx.getRootContainer().add(new KTextArea("Hello World!"));
} catch (Throwable t) {
t.printStackTrace();
}
}
}

Using kindlet howtos of this forum, i compiled and converted it to azw2.
I am using this command in windows cmd:
java vavi-kdkemu.jar test.azw2
But no result...
CapitainDerya is offline   Reply With Quote