My 6131 finally came in and as i'm running my app on it, i'm stuck on a problem. Everything works fine in the emulator, but not on the phone. When my app detects a new tag, the line:
Connection cxn = Connector.open(tagurl);
is failing. It isn't thowing an exception, it just quits out of the function and doesn't execute the next .setString method or anything else. it appears that the url it is getting is correct.
Anyone else run into this problem? My simplified code is below
Thanks
try {
String tagurl = properties [0].getUrl();
textField1.setString("Check 1");
//APP IS FAILING HERE. Code reaches this point and then quits.
Connection cxn = Connector.open(tagurl);
textField1.setString("Check 2");
} catch (Exception ex) {
System.out.println("EX: " + ex);
ex.printStackTrace();
ticker1.setString(ex.toString());
}

Reply With Quote

