Answer the question
In order to leave comments, you need to log in
How to send image to socket-e?
I wanted to write a client-server application, the client on android-e, and the server on the computer. how to send image from server to client? I implemented it like this: I send the image when the client has just connected, and he saves it to the phone's memory and loads it back into the ImageView. i can't send image at any time, but message can. How to implement it?
Answer the question
In order to leave comments, you need to log in
Without a code example, it is very difficult to say something to the question "why does not work"
If "send image at any time" means that the server must update the image on the client, then:
https://developers.google.com/cloud- messaging/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question