What is Android sent sms intent?

Hey! I would like to know which intentional android sends when it sends a message. And how can I listen to this intention in my application. I wanted that when I send a message in messages on my native phone, my application listens to this intention, so it will know that a new message has been sent.

So what is it, and how to listen to this intention?

Thank.

+3
source share
2 answers

I believe the intention:

public static final String SMS_RECEIVED_ACTION = "android.provider.Telephony.SMS_SENT";

This guy had an article on how to create a BroadcastReceiver to do this.

http://mobiforge.com/developing/story/sms-messaging-android

Android android.provider.Telephony. Android. . , , , . , .

:

android.provider.Telephony.SMS_RECEIVED

+2

, .

AFAIK, Intent, , Android SMS. , , , .

+2

Source: https://habr.com/ru/post/1773454/


All Articles