Forum Replies Created
Re: Re: mifare sdk????26. November 2014 at 10:40 in reply to: mifare sdk????That fixed it, thanks!
+ 0 | - 0
Re: Re: mifare sdk????24. November 2014 at 10:37 in reply to: mifare sdk????Same error message here. From what I understand of the error a request is sent to https://licence.nxp.com but it replies with a certificate for https://www.keys.nxp.com.
If you go to https://licence.nxp.com in a browser it also gives a warning the certificate is not valid.
It's not a huge problem since scanning cards is still working but it would be nice if it got fixed.
+ 0 | - 0
Re: Re: Mifare SDK security10. November 2014 at 11:11 in reply to: Mifare SDK securityBut why, exactly, is it necessary? As fsurleau said, from a security point of view it's unacceptable to have a connection to the internet if you don't know exactly what it's used for and what's being sent.
I can understand you want to monitor the usage of the Mifare SDK but a connection to the internet of which it's not known what data is being send is not acceptable in some usages.
+ 1 | - 0
Re: Re: mifare Appid30. October 2014 at 16:29 in reply to: mifare AppidThe lite API actually doesn't have the limitation, you just need to approach the card in a different way.
In your manifest, add an intent-filter with action android.nfc.action.TAG_DISCOVERED for the activity
In the Activity class:
* NXP NFC Library instance
private NxpNfcLibLite nfcLibrary = null;
protected void onCreate(Bundle savedInstanceState)
// Register the NXP NFC library; this is used to detect and read the cards
this.nfcLibrary = NxpNfcLibLite.getInstance();
protected void onResume()
protected void onPause()
protected void onNewIntent(Intent intent)
// Check if the received Intent action is an ACTION_TAG_DISCOVERED action
// Retrieve the Tag from the Intent
Tag tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
// Check if the tag is a MFClassic tag
// Convert the tag to a MFClassic object
MFClassic card = MFClassic.get(tag);
// Open a connection to the card
// Authenticate for a sector
// Read block
byte blockOutput = card.readBlock(blockNumber);
// Close connection to the card
catch(ClassicException | IOException e)
+ 0 | - 0
Viewing 4 posts - 1 through 4 (of 4 total)