BekaKK
BekaKK

Reputation: 2243

How to use javax.smartcardio package on Android?

I'm wrote java console app with smartcardio.Everything worked perfect.Now I want to use this library in Android. As I know smartcardio does not supported in Android. I searched about in Google.If anyone knows how I can use this library in Android,or what's a alternative ? Thanks

Upvotes: 0

Views: 4775

Answers (3)

Mohsen Gorgani
Mohsen Gorgani

Reputation: 420

if you want use ccid smartcard reader you have to find ccid library for android. some company like acs has published library for android.

for contactless support you have to use specific package which is defined in android (android.nfc). Maybe this link can help you. http://www.codexpedia.com/android/android-nfc-read-and-write-example/

good luck.

Upvotes: 0

Arjun
Arjun

Reputation: 197

You cannot use smartcardio library in Android as you have already figured out. If your intention is to communicate to a Smart Card in contactless interface i would suggest you to take a look at the following library https://developer.android.com/reference/android/nfc/package-summary.html https://developer.android.com/guide/topics/connectivity/nfc/advanced-nfc.html

If your intention is to communicate to a SE you can take a look at https://github.com/seek-for-android/pool/wiki/UsingSmartCardAPI

Upvotes: 0

Mykola Tychyna
Mykola Tychyna

Reputation: 171

Try to use this alternative. Code looks pretty the same. You will need clone project. Compile jar. And put into Android project lib directory.

Upvotes: 1

Related Questions