How to make condition if sim card is absent then show dialog if not do something in android? : <p>I have an app in which I have to check whether sim card is inserted in device or not and make some condition if sim is not inserted then show dialog else do something ,how can I do that</p>
