Some Series 40 devices with Java Runtime 1.0.0 for Series 40 or newer support dual-SIM functionality. Dual-SIM devices have two SIM card slots: SIM1 for the default SIM under the battery and SIM2 for the swappable SIM. Users can use the dual-SIM functionality to:
Switch between multiple SIMs to take advantage of different service offers
Use multiple SIMs to ensure network coverage in areas without fully developed coverage
Switch off their employer-provided SIM while not at work
Note: If the swappable SIM is swapped while a MIDlet is running, the MIDlet is exited. If the MIDlet is backgroundable, it is sent to the background instead.
Note: This feature is not supported in Nokia SDK for Java.
In a MIDlet, the user is prompted to select which SIM to use once per session for each type of communication request (call operation, network access, messaging). The prompt is shown at the first request to use a particular type of communication. There are typically one or two SIM selection prompts per session.
If a device has only one SIM inserted (SIM1), the device functions as a single-SIM device and SIM selection prompts are not shown.
Prompting for SIM selection depends on the Preferred SIM value in the SIM Manager. Some devices may have separate Preferred SIM selections for different types of communication, for example, for SMS and MMS. Preferred SIM can have the following values:
Figure: Preferred SIM selection
Figure: SIM selection for making a call
Dual-SIM devices support the following additional system properties:
com.nokia.multisim.cellid.sim1
and com.nokia.multisim.cellid.sim2
com.nokia.multisim.countrycode.sim1
and com.nokia.multisim.countrycode.sim2
com.nokia.multisim.lac.sim1
and com.nokia.multisim.lac.sim2
com.nokia.multisim.mmsc.sim1
and com.nokia.multisim.mmsc.sim2
com.nokia.multisim.mnc.sim1
and com.nokia.multisim.mnc.sim2
com.nokia.multisim.networkavailability.sim1
and com.nokia.multisim.networkavailability.sim2
com.nokia.multisim.networkid.sim1
and com.nokia.multisim.networkid.sim2
com.nokia.multisim.networksignal.sim1
and com.nokia.multisim.networksignal.sim2
com.nokia.multisim.networkstatus.sim1
and com.nokia.multisim.networkstatus.sim2
com.nokia.multisim.smsc.sim1
and com.nokia.multisim.smsc.sim2
The following table describes the behavior of certain pre-existing single-SIM system properties when they are used in a MIDlet run on a dual-SIM device.
System property |
Return value (depending on listed factors) |
||||
---|---|---|---|---|---|
Number of SIMs inserted |
1 (SIM1) |
2 |
2 |
2 |
2 |
Preferred SIM |
N/A |
"Ask every time" for all |
SIM2 for SMS, "Ask every time" for others |
SIM2 for all |
"Ask every time" for all |
MIDlet has already established a connection, which triggered a SIM selection prompt |
N/A |
No |
No |
No |
Yes, SIM1 was selected |
|
Value from SIM1 |
|
|
Value from SIM2 |
Value from SIM1 |
|
Value from SIM1 |
|
|
Value from SIM2 |
Value from SIM1 |
|
Value from SIM1 |
|
|
Value from SIM2 |
Value from SIM1 |
|
Value from SIM1 |
|
|
Value from SIM2 |
Value from SIM1 |
|
Value from SIM1 |
|
|
Value from SIM2 |
Value from SIM1 |
|
Value from SIM1 |
|
|
Value from SIM2 |
Value from SIM1 |
|
Value from SIM1 |
|
|
Value from SIM2 |
Value from SIM1 |
|
Value from SIM1 |
|
|
Value from SIM2 |
Value from SIM1 |
|
Value from SIM1 |
|
Value from SIM2 |
Value from SIM2 |
Value from SIM1 |