E
E
emigrantdd2014-09-11 16:54:20
Java
emigrantdd, 2014-09-11 16:54:20

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

2 answer(s)
A
Aliaksei Trafimchyk, 2014-09-12
@AT547

maybe
habrahabr.ru/post/149555 will help

V
Vadim028, 2014-09-18
@Vadim028

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 question

Ask a Question

731 491 924 answers to any question