Thursday, February 27, 2014

May I ask how to control dual card mobile phone to use C, or G network dial-up network?


How do you go to control dual card mobile phone network with a C or G network dial?


I use the following code straight C network can control dial, do not know how to control G network dial

Intent intent = new Intent (Intent.ACTION_CALL, Uri.parse ("tel:" + "13690111234"));
startActivity (intent);


In addition to differences in how the call log is C or G network telephone network phone?<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Landlord, dual card seemingly inconsistent various platform vendors, android is not a unified standard, you try to add a property:
 intent.putExtra ("subscription", subId) ;/ / subId 0 indicates card 1 of 1 indicates that the card 2. 
intent.setFlags (Intent.FLAG_ACTIVITY_NEW_TASK);

This is the Qualcomm platform.
Reply:
I tried your code, but not, I use the moto dual card machine

No comments:

Post a Comment