Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Silent Sms detection android

Tags:

android

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?

like image 395
nwnoga Avatar asked Jul 12 '12 19:07

nwnoga


People also ask

What is a Silent SMS message?

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.

How does SMS ping work?

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.

Is SMS a protocol?

SMS is a stateless communication protocol in which every SMS message is considered entirely independent of other messages.


2 Answers

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".

like image 121
Doigen Avatar answered Sep 28 '22 06:09

Doigen


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

like image 24
nwnoga Avatar answered Sep 28 '22 08:09

nwnoga