send message with SIM2
问题 I'm put two send buttons in my layout file (mysend.xml) : SEND with SIM1 (android:id="@+id/send1") SEND with SIM2 (android:id="@+id/send2") My code in my java file (MySend.java) public class MySend extends Activity { public static boolean sendSMS(Context ctx, int simID, String nomor, String centerNum, String pesan, PendingIntent sentIntent, PendingIntent deliveryIntent) { String name; try { if (simID == 0) { name = "isms1"; // for model : "Philips T939" name = "isms0" } else if (simID == 1) {