Forum › MIFARE SDK › SmartCardException with UltralightC and Nexus 7 2012 › Re: SmartCardException with UltralightC and Nexus 7 2012
Sorry, just noticed I confussed the classes names, so the one you suggested is the one that's complaining at compile.
I found a similar support article that fortunately included the source code.
http://www.mifare.net/en/micommunity/forum/mifare-sdk/android-mifare-sdk-issue/
So I replaced my entire MainActivity.java with the source code at
http://pastebin.com/gsN33tg8
I had to comment a single line
// getMenuInflater().inflate(R.menu.main, menu);
And add the lines for the UltraLightC
And it compiled succesfully.
But in the other hand, the app still throws the exactle same exception, and still does not print the debug lines.
Just in case, I put my current MainActivity.java in http://pastebin.com/QjGVLjK3
Thanks!!
I found a similar support article that fortunately included the source code.
http://www.mifare.net/en/micommunity/forum/mifare-sdk/android-mifare-sdk-issue/
So I replaced my entire MainActivity.java with the source code at
http://pastebin.com/gsN33tg8
I had to comment a single line
// getMenuInflater().inflate(R.menu.main, menu);
And add the lines for the UltraLightC
And it compiled succesfully.
But in the other hand, the app still throws the exactle same exception, and still does not print the debug lines.
Just in case, I put my current MainActivity.java in http://pastebin.com/QjGVLjK3
Thanks!!
+ 0
|
- 0