Page 1 of 1

Porting existing project to Android

Posted: Fri Sep 15, 2017 4:15 am
by kremlins
I'm quite new to javacard, we have a project that is more or less done by now but now we have a requirement to port it to Android. The code uses javax.smartcardio library that to my knowledge isn't available in Android.

How do I port it without changing much of the code? The reason is the code has been through various unit and security tests so I'd rather not tamper with whatever logic is implemented in it. Actually the "right" way to use the code is actually using its jar file which we'll use as a library. We're also going to use PC/SC reader for the Android version so the only thing that would change is (supposedly) only the platform. But if I try to use it directly several stuff won't work (e.g. not recognizing CardException, etc).