其他分享
首页 > 其他分享> > android – 如何在不支持已支持SmartCard API的设备的情况下访问Secure Element

android – 如何在不支持已支持SmartCard API的设备的情况下访问Secure Element

作者:互联网

SEEK-for-Android文档称listed devices支持SmartCard API.

我想通过我的Android应用程序访问基于SIM的安全元素(SE).我是否可以在不支持任何这些受支持的设备且无需重建其Android系统映像的情况下实现此目的?就我而言,该设备是三星Galaxy S3.

解决方法:

是的,您可以在不支持系统的情况下使用SEEK-for-Android.但是,这项技术非常依赖于设备;某些供应商特定的库必须存在于系统中.索尼Xperia没有必要的改变,它对我来说很好.在添加了一些库(三星公司按照我们的要求做到了)之后,三星手机也没问题.

您唯一需要做的就是使用特殊的SDK构建应用程序.使用Giesecke&amp ;;的SDK Open Mobile API. Devrient GmbH并在清单XML中声明org.simalliance.openmobileapi库:

<application android:label="@string/app_name">

    <uses-library android:name="org.simalliance.openmobileapi" android:required="true" />

    <activity android:name=".MainActivity">
      ...
    </activity>
</application>

看看这个教程:https://github.com/seek-for-android/pool/wiki/UsingSmartCardAPI.我跟着它,我成功了.

标签:security,android,nfc,sim-card,open-mobile-api
来源: https://codeday.me/bug/20190628/1317076.html