Android app crashes when sim is locked
<p>I m working on an auto start application. In my application when app starts i need to get the sim number. When i have not applied any sim lock my app is working fine but when i apply sim lock and again reboot the device it asks for the sim password and as soon as screen comes my auto start app gets crashed with null pointer exception.</p>

<p>How can i overcome this issue..</p>
