I want to be able to control incoming text messages. My app is still in the "proof of concept" version, and I'm trying to learn Android programming on the go.
First, my application should catch incoming text messages. And if the message is from a known number, then deal with it. If not, send a message as nothing happened with the default text messaging app.
I have no doubt that this can be done, but I still have some concern, and I see some pitfalls in how all this is done on Android.
Thus, receiving an incoming text message can be quite easy - unless other messaging applications are installed, and perhaps the user wants regular text messages to appear on one of them - and this will happen after my The application will review it. first.
How can I be sure that my application will receive the first set of incoming text messages?
And after that, I need to send most text messages to any other text message application that the user selected so that the user can actually read the message that my application did not need.
Since Android uses relative intent at best, I don’t understand how to get my application to view all incoming text messages and then stop it or send it to the default text messaging application.
Espen source share