2013年9月24日星期二

android dual sim dual standby mobile phone to send text messages Select card 1 or card 2 send questions

Pro ! Thank technicians come what this post .
I am now doing a texting program, but now many domestic mobile phone supports dual SIM dual band mode. I put in the settings option to set the default card canceled, changed Always ask. But I still did not send text messages when I ask questions . The default is to send a card .
Question 1: Now I want to send text messages to make when choosing a card or card 2 send it how to do it ? ; want to provide the next idea .
Question 2: how to determine dual card dual standby mobile phone inserted a few cards ?
Question 3: how to determine whether to set the default card ? And get to set the default card is card 1 or card 2 do ?

------ Solution ------------------------------------ --------
domestic mobile phone mostly with the MTK and Spreadtrum program it, they are their own dual card dual standby achieved .
to MTK example , FeatureOption.MTK_GEMINI_SUPPORT used to determine a dual card dual standby or single card single question .
isSimInsert (int simId) incoming different simId can determine whether the corresponding sim card inserted.
getDefaultSIM () to determine the current default is which card , if only one card must be checked by default this .
Meanwhile , MTK still SIM Manager to do this menu inside the phone, text messaging and other module's default SIM card option, you can individually set the corresponding module default SIM card.
If the user inserted two cards , and set up SMS to always ask , your application to send text messages when the phone pops up Select card 1 or card 2 menu.
------ Solution ---------------------------------------- ----
SDK of course finding out , these are changed MTK these vendors


------ Solution ------------------------------------ --------
question 1: Since you cancel the card in a set , card 2 set , then it is where the work before it ? , Election card 1 or card 2 interface just select the operation key is to look at what the representation Card 1 Card 2 parameters pass on the .
Question 2 : The system is there a way to determine the state of the sim card , the card is ready , whether it be written that can read , there may be trouble is due to double card codes are added to the manufacturers themselves , so maybe you want to look for your own job code , see the manufacturer's documentation for it
Question 3: I think it depends on the code you are using , too little information , nothing effective recommendations
------ eference ---------- -----------------------------
not heavy. . Their first top ! ! ! ! ! ! ! ! ! ! ! ! !
------ eference --------------------------------------- < br> do not sink ah. .
------ eference --------------------------------------- < br> thanks for the answer ! that my application will not pop up card 1 or card 2 I do not know what the Intent such values ​​can fall out of the corresponding interface Oh ~
- ----- eference ---------------------------------------
Hello I have android SDK Richard FeatureOption.MTK_GEMINI_SUPPORT inquiry no corresponding data.

------ eference ------------------------------------ ---

Oh, that we is not no way to do it ?

------ eference ------------------------------------ ---
code? Find code
------ eference -------------------------------------- -
ask the landlord finally, how to solve it ?
------ eference --------------------------------------- < br> with demand ! Not sink !
------ eference --------------------------------------- < br> request code , seeking help ,

没有评论:

发表评论