简体   繁体   中英

Android check whether NFC enabled SIM card or normal SIM card

I am working with an Android Application. The application uses NFC technology and its main task if to do mobile payments.

My Question is, is there any way or any api where I can programatically check if the SIM card is built using NFC chip or not? I want to do a check in the application whether there is NFC enabled SIM card or normal SIM card.

Thanks.

Found it. Using OpenMobileAPI library, you can open the channel using AID of the applet installed in the UICC. If channel open is successful, it means it supports NFC-SWP.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM