Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intercept incoming flash messages on android mobile

can anyone help me to intercept the incoming Flash messages (specially the ones from the telecom company, where they send our current balance after some activity like message sent).

My application deals with sending SMSes in bulk and I don't want the flash message popping now and then. So is it possible on Android ?

EDIT: Everyone says its not possible above Android 1.6 but I found a similar App on Google Play but I want the source of that kind of App. Please Help.

Edit: More than a year has passed and still I didnt got the solution. Can anyone help to resolve this thread..??

like image 681
Name is Nilay Avatar asked Aug 28 '12 07:08

Name is Nilay


People also ask

How do I block flash messages on Android?

Step 2: Tap on Flash. Step 3: Tap on Activation. Step 4: Click on Deactivate. Vi users can also send 'CAN FLASH' SMS to 199 to deactivate the flash SMS feature.

How do I stop carrier flash messages?

To disable SIM Toolkit pop-up notifications or flash messages, you can use the SIM Toolkit or operator app on your phone. The normal process is to open the SIM Toolkit, search for flash service, and disable them completely.

What is a flash message on Android?

Flash SMS is a special type of text message that displays immediately on the mobile phone screen without the user having to take any action to read it. A flash SMS (also known as a class 0 SMS) will appear on a mobile, even if the screen is locked.

Why did I get a flash SMS?

This is a reaction of the manufacturers to phishing via SMS. Since Flash SMS messages look like a system message on many devices, this is supposed to prevent consumers from falling for scammers who misuse the sender ID to disguise their message as an official message.


2 Answers

Might depend on the channel [of communication] used by your service provider. I guess they don't use SMS, probably they use WAP/PUSH or some pre-installed provider app for the notifications, which makes this harder to block. If it was SMS, you'd definitely have lots of ways to block their notifications, but in this case, I doubt there might be an easy / direct way to do this.

Flight Mode should ideally block telco / service-provider messages / notifications, but then this also blocks your connectivity, right? So, am not so certain on this one. Isn't there a way to opt-out of service provider notifications, maybe via a ussd routine? I've heard of this once...

like image 110
JWL Avatar answered Sep 18 '22 18:09

JWL


Flash sms it is the same as usual sms except data coding flags. It has "class 0" indication in DCS.

For details about sms coding see: GSM 3.38 specification / 4 SMS Data Coding Scheme.

Some fragment from spec about it

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 when the message has successfully reached the MS irrespective of whether there is memory available in the SIM or ME. The message shall not be automatically stored in the SIM or ME.

So, in most cases, phone just displays this message and skips usual chain of actions. Probably, you can't catch this message with usual API... probably you need deep hook and rooted device.

[Or may be just switch off this service by calling customer support?]

like image 31
Michael T Avatar answered Sep 22 '22 18:09

Michael T