androidandroid-emulatorsmartcardsecure-elementopen-mobile-api

OMAPI in Android Virtual Device


Recently, I have read about Smart Card API (Open Mobile API) and figured out that not every device can work with a secure element as the Smart Card API is not implemented on every device. So can anybody say if I can work with a secure element of Android Emulator SIM card if I have no physical SIM card?


Solution

  • Not on the stock Android emulator. The Android emulator (AVD) that ships with the ANdroid SDK does not currently support the Open Mobile API either.

    However, the SEEK-for-Android project provides patches to the Android emulator to allow a secure element to be attached over PC/SC (smart card) or MSD (uSD card). Detailed instructions can be found in their wiki.. Be aware though, that those patches seem to target some Android 4.2.2 and might not work out-of-the-box with other Android versions.