Forum › MIFARE SDK › Unknown Error Exception Thrown For NTag203x Tags › Re: Unknown Error Exception Thrown For NTag203x Tags
David,
I appreciate your help but my callback was defined as a separate variable like,
protected void onNewIntent(Intent intent) {
libInstance.filterIntent(intent, callback)
}
Nxpnfclibcallback callback = new Nxpnfclibcallback()
{
@Override
public void onNTag203xCardDetected(NTag203x arg0) {
Log.i(TAG,"NTAG 203x card Detected" );
arg0.connect();
}
}
I don't think android dislike this notation. Anyways, tried your code and its behaving same.:-|
I appreciate your help but my callback was defined as a separate variable like,
protected void onNewIntent(Intent intent) {
libInstance.filterIntent(intent, callback)
}
Nxpnfclibcallback callback = new Nxpnfclibcallback()
{
@Override
public void onNTag203xCardDetected(NTag203x arg0) {
Log.i(TAG,"NTAG 203x card Detected" );
arg0.connect();
}
}
I don't think android dislike this notation. Anyways, tried your code and its behaving same.:-|
+ 0
|
- 0