how to detect if PIN code is required to unlock sim?

前端 未结 2 1542
走了就别回头了
走了就别回头了 2020-12-30 17:28

There is a \"SIM card lock\" option in android \"setting/Location & security settings\" page.

It\'s necessary to input a PIN code after booting if the option is

2条回答
  •  春和景丽
    2020-12-30 18:08

    As getSimLockEnabled always returns false for me, i had to find another way to do it.

    See https://stackoverflow.com/a/12748638/314089 for the answer.

提交回复
热议问题