dual-sim

Android Dual Sim Emulator

不羁的心 提交于 2020-01-01 07:52:29
问题 How can I emulate an Android device with Dual sim support? It's important that the Android level is 5.1 or higher. This emulator is intended to send/receive SMS 回答1: May this is help you: Buddy in Document it is said that Emulators are supported with simulated SimCard.. "A GSM modem, including a simulated SIM Card" More Information And There are some patches available which allows sim card support in emulator using standard USB PCSC reader... Here are some links which may guide you through..

dual sim android sdk

早过忘川 提交于 2019-12-30 18:55:13
问题 Is there any way in sdk(default) that can handle dual sims? There are many number of android phones available in market which are dual sim. What i want is programmatically change the default sim. Is it possible? 回答1: As of Android 5.1 Multiple-Sim Support has been officially added to the Android SDK! You can access information about the current used sim through the SubscriptionManager class. 来源: https://stackoverflow.com/questions/10382971/dual-sim-android-sdk

dual sim android sdk

北战南征 提交于 2019-12-30 18:55:07
问题 Is there any way in sdk(default) that can handle dual sims? There are many number of android phones available in market which are dual sim. What i want is programmatically change the default sim. Is it possible? 回答1: As of Android 5.1 Multiple-Sim Support has been officially added to the Android SDK! You can access information about the current used sim through the SubscriptionManager class. 来源: https://stackoverflow.com/questions/10382971/dual-sim-android-sdk

Send sms using sim selection option

扶醉桌前 提交于 2019-12-30 14:17:30
问题 I have tried Android SDK above 5.1 OS. I want to send sms using SIM selection option. I tried this Program. It's taking sim1 only. It does not take second sim. My Program public class MainActivity extends AppCompatActivity { Context mContext = MainActivity.this ; String SENT = "SMS_SENT"; String DELIVERED = "SMS_DELIVERED"; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); sendSMS("XXXXXXXX77","Sent by

Send sms using sim selection option

纵然是瞬间 提交于 2019-12-30 14:17:14
问题 I have tried Android SDK above 5.1 OS. I want to send sms using SIM selection option. I tried this Program. It's taking sim1 only. It does not take second sim. My Program public class MainActivity extends AppCompatActivity { Context mContext = MainActivity.this ; String SENT = "SMS_SENT"; String DELIVERED = "SMS_DELIVERED"; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); sendSMS("XXXXXXXX77","Sent by

How to know SimSlot Number for every Call / sms?

不打扰是莪最后的温柔 提交于 2019-12-30 08:28:13
问题 You know the sim slot number only in broadcast receiver. After one month of research I got one solution which is work fine for me as below Firstly Add the android.permission.READ_PHONE_STATE permission to your manifest file Implement receiver for the phone event which receive call/sms events for your application public class CallSMSReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { Bundle extras = intent.getExtras(); if (extras != null) {

Making a call from a dual sim android device using adb

寵の児 提交于 2019-12-24 09:35:55
问题 I am trying to make a call from a specific sim on a dual sim phone (SIM 0 and SIM 1) using adb and I can't figure out how to direct the call to that particular sim slot. So far, I have tried making a call using the following command: adb shell am start -a android.intent.action.CALL -d tel:XXXXXXXXXX This works fine, but it always calls using SIM 0. I tried using radiooptions as: adb shell radiooptions but it turns out, radiooptions is not supported on this particular device. /system/bin/sh:

Get IMSI Number of Android Dual SIM device

回眸只為那壹抹淺笑 提交于 2019-12-23 00:46:11
问题 I am currently using the android API public static String get_IMSI_Number(Context context) { TelephonyManager tel = (TelephonyManager) context .getSystemService(Context.TELEPHONY_SERVICE); return tel.getSubscriberId(); } to get the IMSI number. But unfortunately it is not getting the IMSI number if the device is dual SIM and It is returning "null" always. I want to get the IMSI number of the Device( For Dual SIM ) case 1: Need to read the IMSI numbers if the device inserted with two SIMS in

Android USSD which sim receive a ussd message or which sim slot receives a ussd message (dual sim phone)

断了今生、忘了曾经 提交于 2019-12-21 06:58:12
问题 I am able to capture the incoming ussd message, but how to compare the incoming ussd message in case of dual sim phone? If I receive a ussd message alert how can I know that the incoming ussd message is for which sim? 回答1: Started with Wikipedia for staring info, not much. Found out there was / is a security (pdf warning) problem with it. Then jackpot: specks (pdf warning). As I scimmed it, I don't think you will find the info you want in the USSD message itself. It is probably somewhere in

How to read dual sim device both sim contact in android

不羁的心 提交于 2019-12-20 06:25:03
问题 To read sim contact we use below URi Uri simUri = Uri.parse("content://icc/adn/"); ContentResolver mContentResolver = this.getContentResolver(); Cursor c = mContentResolver.query(simUri, null, null, null, null); By using this uri i only get my master sim contact not both sim contact, according to my requirement i have to read only sim contact. using above code i only read one sim contact. help me in find out solution that how can i read both sim contact. thanks in advance. 回答1: I also tried