Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to determine the number of SIM cards on a device?

Sometimes we encounter some devices which have two or more SIM cards. So my question is:

How can I determine the number of SIM cards on the device?

Actually, I am developing a field test app and for example, if I have 2 SIM cards on the device, the user can choose between them to launch measurements.

like image 306
13KZ Avatar asked Apr 03 '12 13:04

13KZ


2 Answers

There is currently no Android API for handling multiple SIM cards; any device support is entirely down to the handset manufacturer having modified the Android source. You could see if the particular manufacturer offers any kind of SDK or published API to help you, but it will be on a case by case basis.

like image 174
Rob Pridham Avatar answered Nov 01 '22 08:11

Rob Pridham


All phones that support multiple sim card switching do so outside the android SDK so you'd have to contact their manufacturers for information about how they expose this functionality.

like image 22
Baxter Avatar answered Nov 01 '22 10:11

Baxter