问题
My app needs to check the pin inserted by a user with the SIM card pin and that Android has to answer me if the pin inserted is correct. I only need to check, never change the code pin.
It is possible?
回答1:
Not sure if it can be done, but:
I would not rely on a SIM card being present - think of tablets with WiFi only. Also as a user I would not trust any application that would ask for the pin of my SIM card.
来源:https://stackoverflow.com/questions/9128627/check-sim-pin-with-sdk-android