Gast
#200936
kann mir jemand helfen?
warum läuft dies nicht?
****************************
public class MIDlet extends javax.microedition.midlet.MIDlet {
public void startApp() {
com.siemens.icm.io.ATCommand atc;
String response="";
try {
atc= new ATCommand(true);
}
catch (com.siemens.icm.io.ATCommandFailedException ex){
System.out.print(ex);
}
try {
response=atc.send("ATI\r");
System.out.print(response);
}
catch (ATCommandFailedException ex){
System.out.print(ex);
}
notifyDestroyed();
}
public void pauseApp() {
}
public void destroyApp(boolean unconditional) {
}
}
************************
laut der text beschreibung sollte das laufen. icon_sad.gif
für eure hilfe wäre ich sehr dankbar.
mfg
Gast
Ps: compiler sagt:
"MIDlet.java [33:18] variable atc might not have been initialized
response=atc.send("ATI\r");"