What should I do to launch the Internet Settings dialog box?

I have tried to set mobile data. But it just worked for only SIM 1 . public static void setMobileData(Context context, boolean isEnabled) throws NoSuchFieldException, ClassNotFoundException, IllegalAccessException, NoSuchMethodException, InvocationTa

How to send sms from a specific SIM card in a dual phone

I have trying to develop an android app which sending SMS to target. if there are two SIM (SIM1, SIM2) card how can I detect them and select specific SIM card to send SMS Thanks,Please try this code. using Android sdk 5.1 and above. String SENT = "SM