I'm trying to figure out if there is a way to detect a silent sms through the android api. Also just for kicks, can you send one from a device?
A silent SMS is a special short message that is not displayed on the screen of a receiving mobile device and does not trigger an acoustic signal. In 3GPP TS 23.040, silent SMS messages are indicated as type 0 in TP-PID.
PING SMS also called Silent SMS ,it allowing the user to send a message to another mobile phone without the knowledge of the recipient. The message is rejected by the recipient mobile and leaves no trace.
SMS is a stateless communication protocol in which every SMS message is considered entirely independent of other messages.
Silent SMS may be initiated by the cellular operator (or potentially by an intruder) by setting bits 4-7 of the TP DCS (Data Coding Scheme) field to 1100 (Message Waiting Indication Group: Discard Message) - see this article, but AFAIK this is not reflected in the Android SDK.
Class 0 is not related to silent SMS.
3GPP 23.038 actually says "When a mobile terminated message is class 0 and the MS has the capability of displaying short messages, the MS shall display the message immediately and send an acknowledgement to the SC".
Alright i think i figured this out. There's a method in the telephony.SmsMessage class called getMessageClass(). Class 0 would indicate a silent sms. As for sending them, that is still a work in progress
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With