• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps how to deactivate single sim card?

hi
i use this code for deactivate dual sim card phone:

Settings.System.putInt(context.getContentResolver(), "dual_sim_mode_setting", 0);
Intent localIntent = new Intent("android.intent.action.DUAL_SIM_MODE");
localIntent.putExtra("mode", 0);
context.sendBroadcast(localIntent);



but i need help to deactivate single sim card phone.
please help me!
 
Back
Top Bottom