Messaging communicates between Android Threads, Activities and Views, using Messengers, Handlers and Messages.
Questions tagged [android-messaging]
19 questions
12
votes
0 answers
ResultReceiver vs Messenger
I'm implementing a REST client according to the first method of this presentation - http://www.google.com/events/io/2010/sessions/developing-RESTful-android-apps.html
currently I'm using a ResultReceiver for the "binder callback" between the service…

Gal Ben-Haim
- 17,433
- 22
- 78
- 131
11
votes
1 answer
How do I detect skype/telegram/whatsapp calls when my messenger app is in a call or wants to make a call?
I am wondering if there is a way I can detect a skype call/telegram/whatsapp/fb messenger call etc in progress or incoming call etc just like the regular phone call with telephony manager/listener? I would like to have some kind of mechanism that…
user2386226
8
votes
2 answers
Difference between sendToTarget and sendMessage
When sending a message between Threads, Views or Activities, there are two seemingly identical ways of doing it.
The first, and to me the most intuitive, is to obtain a Message, then use the Handler's sendMessage method:
Message msgNextLevel =…

LondonRob
- 73,083
- 37
- 144
- 201
4
votes
1 answer
Is it possible to Inflate RemoteViews in other application?
I am developing two android applications, one being the baseApp and other serving as a pluginApp. The aim is to extend the functionality of the baseApp when its corresponding plugin is installed. The pluginApp will contain XML layout files which…

Sukumar Gaonkar
- 147
- 2
- 12
1
vote
1 answer
Android Bound services: Inter vs Intra - app communication using Messenger
I have 2 Android apps - App1 and App2. I have a bound service - ServiceA in App1. Multiple services and activities in App1 bind to ServiceA and call methods on it. Now, I want to send data from ServiceA to a remote service that exists in App2. I…

Mahima MS
- 153
- 1
- 10
1
vote
0 answers
Sending messages through net in android
I'm creating an application in which I have a requirement that a user can send a message to other user but while sending message he can not see the user number and message should be send through net.Like in careem when captain call a customer the…

Umair Iqbal
- 1,959
- 1
- 19
- 38
1
vote
0 answers
What all Keywords and key-points need to be considered while analyzing an ANR?
Please explain the main keywords and points to be considered in ANR Logs. For E.g: 'waiting to lock', 'locked', 'prio=5 tid=1 Blocked', etc.
Consider the following one :
"Binder:1299_11" prio=5 tid=101 Runnable
| group="main" sCount=0 dsCount=0…

Linu C N
- 11
- 5
1
vote
1 answer
SendBird ChannelHandler onMessageReceived is not called on Android
I just started using SendBird on Android. I want to make 1-in-1 chat, so I connected users to SendBird, set the handler, created channel and sent a message, however, the onMessageReceived is not working. See the code below:
var handler = object :…

sunflower20
- 469
- 3
- 8
- 20
1
vote
0 answers
IndexOutOfBoundsException: Index: 16, Size: 17?
I get a very odd index out of bounds exception unlike any other i have received. It says the index is 16 and size is 17 and still crashes?
Here's the code where it crashes:
public void subscribe(@io.reactivex.annotations.NonNull…
user2386226
1
vote
0 answers
stock messages app not showing country code in "Send To" called using Intent call?
I am creating an android app. It having a function that, if the user clicks a button it will open the messaging app with recipient number with country code.
The Intent call which includes country code also. But the destination stock messaging app…

Ever Think
- 683
- 8
- 22
0
votes
1 answer
Android Kotlin: listening to the event when the device receives a new text message is not working
I am building an Android application using Android. In my app, I am trying to do something when the device receives a new text message even if the app is closed. Basically, I am trying to show notification when a new text message is received. I am…

Wai Yan Hein
- 13,651
- 35
- 180
- 372
0
votes
2 answers
How to print an entire conversation from Google Messages
I need to print out an entire text conversation that I had on Messages on my phone to submit it to someone's supervisor. When I try to print it on the website it only gives a screenshot of what I am looking it.

mvndaai
- 3,453
- 3
- 30
- 34
0
votes
2 answers
How to send text messages in android using textlocal
I want to send messages using textlocal.I register on the site,created a new Api Key and followed a youtube tutorial but Iam not getting the message.Instead Iam getting a toast of success only.
Iam uploading the code please any can help me out that…
user12556987
0
votes
1 answer
Sent Message to Multiple number from firebase database in android
I want to send message to multiple contacts from mobile.Flow is that Iam creating a Blood Bank application in which when user request a blood I show him the list of all user with matched blood group in firebase recycler view.In recycler,Iam showing…

Umair Iqbal
- 1,959
- 1
- 19
- 38
0
votes
0 answers
Firebase GCM to multiple devices one after another
I am currently working on taxi dispatch system. I have implemented the notification to driver using Firebase GCM. But i am only able to send the request to one driver using topic as broadcast could not be used (if multiple drivers accept the…

Rishabh
- 29
- 1
- 7