Android sim pin unlock programmatically

I made an application (in android 2.3.6) that starts automatically at boot and does not allow users to use the phone except my application. To do this, I changed the default launcher with my application and blocked any hardware button and forcedly turned on the entire screen. Everything works fine, but the problem is that I need to unlock the SIM card by inserting the PIN code programmatically (the user does not need to know about this). I need to keep the pin code active in the sim, because I can not allow the user to use the sim in other devices. Is there a way to allow my application to unlock a SIM card by inserting a PIN code programmatically?

+6
source share

Source: https://habr.com/ru/post/957459/


All Articles