N
N
NurSultan2015-11-30 06:51:57
Java
NurSultan, 2015-11-30 06:51:57

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

1 answer(s)
V
Vasilij Aleksashin, 2015-12-10
@TerraMorf

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 question

Ask a Question

731 491 924 answers to any question