I have a dual SIM mobile on which my app displays the details of the SIM and operator. But (obviously) it detects and shows details of only SIM1 and not SIM2. Is there a way in which SIM2 details can be accessed?
I know that Android does not support dual SIM by default and that the mobile manufacturer tweaks it in such a way that Android uses the selected SIM (SIM1 or SIM2, whichever user selects) as primary (for making a call) and the other SIM is standby (kicks in when a call is received). There has to be a way to detect this primary SIM.
I am not interested in fetching both SIM details at the same time. Only require details of the SIM that has been selected by user as primary for making calls.
Any link/ working example/ suggestions, any sort of help would be highly appreciated.
Thanks
Step #1: Make a list of every Android device manufacturer that has 1+ dual-SIM devices.
Step #2: Contact those manufacturers and ask your questions of them.
As you wrote:
There is no requirement that any given device manufacturer must tweak it the same way as does any other manufacturer, and there is no requirement that any given device manufacturer must tweak it in a way that is visible to an app developer. Hence, the only way to get the information you desire, if app support is actually available, is to contact the manufacturer.