How can send sms in android with dual sim for broadcast not intent?? How can detect dual sim in android? User wants to select sim for send sms broadcast. In android set the default sim for sending msg in dual sim in android. User have to select particular sim for sending sms.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How can I create this custom Bottom Navigation on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
If the output of the shell command '
service list
' contains 'telephony.registry2
', then the phone has a second SIM card. If contains 'telephony.registry3
', then phone has a third SIM card and so on.You can use this shell command to send from the first SIM card:
and from the second SIM card
Require
android.permission.SEND_SMS