Hello!
I wrote an application for Android
, which when you click on a certain button makes a call through a standard "dialer". Calling the android.intent.action.CALL
event. I'm testing on devices with two SIM cards. If in 1 slot calls pass on all devices.
If the SIM card is in slot 2 (I insert only one SIM card) the result is:
Tablet "Dream" Android 4.1
calls are from both slots.
Phone " Huawei G525" Android 4.1
with 2 slots when you press the call button in the program, the application crashes
07-08 06:43:15.149 W/System.err( 1634): at com.tess01.spravka01.SpravkaActivity$9.onItemClick(SpravkaActivity.java:523) 07-08 06:43:15.149 W/System.err( 1634): at android.widget.AdapterView.performItemClick(AdapterView.java:301) 07-08 06:43:15.149 W/System.err( 1634): at android.widget.AbsListView.performItemClick(AbsListView.java:1086) 07-08 06:43:15.149 W/System.err( 1634): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2859)
Phone " Android" Android 2.2
if the SIM card in slot 2, the application does not see the SIM card.
What could be the problem of impossibility to call from 2 slots if there is one SIM card?