0
我使用此示例代碼apdu連接。當我運行這個代碼時,我得到了BAD AID異常。有沒有人得到這個錯誤信息?Apdu連接黑莓7.0
APDUConnection acn = null;
try{
//Create an APDUConnection object
acn = (APDUConnection)
Connector.open(「apdu:0;target=A0.0.0.67.4.7.1F.3.2C.3」);
// Send a command APDU and receive response APDU
responseAPDU = acn.exchangeAPDU(commandAPDU);
...
} catch (IOException e) {
...
} finally {
...
if(acn != null) {
// Close connection
acn.close();
}
...
}
...