Android Question How to check if a sim card is present in the phone?

metzeller_2013

Member
Licensed User
Good day to all,
Is there a way to check if a SIM card is presently inserted in the android phone?
What I'm trying to achieve is to restrict the phone functionality of the device when my app is running or totally disable phone functionality (Call and Messaging - Incoming and outgoing).
Or not start my App if a Sim Card is detected...
Hope someone can help, Thanks in advance.... Happy New Year.....
 
Top