Answer the question
In order to leave comments, you need to log in
How to display a list of sms on the android platform?
Good day. I am making a service and one of its tasks is to receive received SMS, and I can’t understand why it doesn’t work, it just displays quotes like this "[]" in a toast. Permissions are allowed in the manifest file.
At first, the class for receiving SMS looked like this , after they advised me to change it, and I tried to understand it for this one .
Here is the class in which I output it. Who knows how to fix this problem?
Answer the question
In order to leave comments, you need to log in
If you answer the question of how to output, then look here: pulse7.net/android/read-sms-message-inbox-sent-dra...
You mixed everything together: the specified classes for output - display messages from the "storage", and the last specified class ( (in which you output ) is BroadcastReceiver, for "intercepting" incoming ones at the moment they arrive on the phone.
Correct the question.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question