Messaging communicates between Android Threads, Activities and Views, using Messengers, Handlers and Messages.
Questions tagged [android-messaging]
19 questions
0
votes
0 answers
Message sent via Handler.sendMessage() is not received in handleMessage() 1 out a few hundred/thousand times
OS Version: Android 5.1
I am passing messages between various objects using android.os.Handler and it works for a few thousand times (sometimes a few hundred) and then a message is missed. It is sent successfully, sendMessage() returns true, but…

qureshi
- 1
- 2
0
votes
2 answers
Service-Activity Communication data processing while sleep
Project statement:
i have a simple counter app which has 6 things i am counting. on my wearable, i have a radiobutton group which selects which of those things i want to count. it then displays the current count for the item on the watch and then i…

John Bravado
- 137
- 4
- 10
0
votes
0 answers
Multilple message sending not works properly in android
I have an android app which send multiple message and call on a click event.The problem is that
I have two click event.On second click event the code works perfect, but on first click event same code not works (i.e. it not sending any message).this…

Adi
- 400
- 8
- 25
-1
votes
2 answers
onStartCommand() called only once even when Service is started multiple times
The below service is triggered via button click from some other app (by firing pending Intent). The onStartCommand() creates a Messages and dispatches using send() method. Ideally, I expect onStartCommand to be called everytime button is clicked, as…

Sukumar Gaonkar
- 147
- 2
- 12