Home Windows ecommerce Treiber Server Entwicklung Software Security Internet Hardware Nicht IT Mobile Nintendo Suchen Multimedia Virtualisierung Kopie von Navi01b Provider


MidLets

.NET Klassen
ApplikationsTyp
c# (.net)
ADO.NET
ASP.NET
ASP
.Net Zusätze
VBA
Tools
WebClientSeitig
Java
PHP
AJAX
SQL
Google
xml
RegEx
Service
MultiLayer
WSH
-->Entwicklungsumgebung MidLets Links Beispiele Beispiele j2MW

Entwicklung von MidLet, Java Code für Mobil Computer

 

protected void startApp() {

f.append("\nMeine Barbara, ich liebe Dich!!!\n");

f.append("\nFühle mich jetzt...");

f.addCommand(new Command("Frage", Command.OK, 1));

f.addCommand(new Command("Zurück", Command.BACK, 2));

f.addCommand(new Command("Aktualisieren", Command.OK, 3));

f.addCommand(new Command("Tour wählen", Command.OK, 4));

f.addCommand(new Command("Tourbuch", Command.OK, 5));

f.addCommand(new Command("Mutationen", Command.OK, 6));

f.setCommandListener(this);

Display d = Display.getDisplay(this);

d.setCurrent(f);

}

protected void pauseApp() {

}

protected void destroyApp(boolean arg0) {

}

public void commandAction(Command c, Displayable s) {

if (c.getCommandType() == Command.EXIT) {

destroyApp(true);

notifyDestroyed();

}

if (c.getCommandType() == Command.OK) {

f.append("\nHast Du eine Frage?\n");

f.append(c.getLabel().toString());

int vAuswahl = c.getPriority();

System.out.println("Priority" + c.getPriority());

switch (vAuswahl) {

case 1:

f.append("Punkt 1 gewählt");

break;

case 3:

f.deleteAll();

f.append("Daten aktualisieren");

break;

case 4:

f.deleteAll();

f.append("Tour auswählen");

ChoiceGroup cgTour;

cgTour = new ChoiceGroup("Tour", Choice.EXCLUSIVE);

cgTour.append("215", null);

cgTour.append("345", null);

cgTour.append("412", null);

f.append(cgTour);

f.addCommand(new Command("Zurück", Command.BACK, 1));

f.addCommand(new Command("Ok", Command.OK, 2));

break;

case 5:

f.deleteAll();

f.append("Tourbuch");

break;

default:

break;

}

d.setCurrent(f);

}

}

}

 

 


Ihre Werbung hier

 

Haftungsausschluss: Verwendung der Informationen auf Ihre eigene Gefahr. Wir übernehmen keinerlei Haftung. Beachten Sie auch den Haftungsausschluss.


Wenn Sie Wünsche, Anregungen, Verbesserungen, Korrekturen oder sonstige Vorschläge zu dieser FAQ haben: . Wir freuen uns auf Ihr Mail.


 Und jetzt noch ein bisschen Werbung...

Stellensuche, Jobangebote unter www.notizia.ch/stellensuche