0

i will explain my problem with an image !

enter image description here

I draw a figure with my finger and at the same time coordinates is sent to clients.As you understand i am working with hard coded pixels.Algorithm is simple take the pixel and send to client and fill the pixel on client.

If the drawer phone has higher resulation than clients, the problem shows itself(missing or half shapes).
If the drawer phone has less resulation than clients , there is empty spaces on the edges.

by the way, i am using signalr to communicate clients and servers.

Christian Gollhardt
  • 16,510
  • 17
  • 74
  • 111
hsyn
  • 55
  • 3
  • 9
  • Get the resolution of the server and client screen and apply a proportionnality rule to your coordinates on the client device – Maxouille Apr 02 '15 at 13:26
  • yes i can send servers resulation to clients but what is the logic of proportionality rule on android ? – hsyn Apr 02 '15 at 13:51
  • You can actually scale your shapes to the good resolution and they will be display correctly on the screen – Maxouille Apr 02 '15 at 13:51

0 Answers0