settings.setISO14443A(cbx_iso1443a.getChecked());
settings.setISO14443B(cbx_iso1443b.getChecked());
settings.setISO14443B_PRIME(cbx_iso1443b_prime.getChecked());
if (!settings.getRegisteredAIDAsString().equals(edt_aid.getText())) {
settings.setRegisteredAID(edt_aid.getText());
CardEmulation ce = CardEmulation.getInstance();
ce.removeTransactionListener();
CardEmulation.registerTransactionListener(NfcTransHandlerApp.getTransactionListener());
}
settings.setAPDU(edt_apdu.getText());
Utilities.log("XXXX " + Thread.currentThread().getName() + " Selected tech types="
+ Utilities.getTechnologyTypesNames(tech_types));
if(current_tt != tech_types) {
try {
ce.setRoutingOn(tech_types);
} catch(NFCException e) {
Utilities.popupAlert("Error: could not change CE technology types");
return;
} catch(Exception e) {
Utilities.log("XXXX " + Thread.currentThread().getName() + " " + e.getClass().getName() + ":" + e.getMessage());