1

I would like to be able to show on the tablet screen something like the mouse cursor.I am sending the cursor position using TCP PACKET.How to make a cursor that move in my android screen according to position that is send using TCP Packet.My linux laptop is sending the coordinate to my tablet.And the cursor in tablet should move accordingaly.Any help toward this would be greatly appreciated.

Udo Klimaschewski
  • 5,150
  • 1
  • 28
  • 41
Srb
  • 219
  • 3
  • 13

1 Answers1

1

You could use an system overlay window for this, a starting point might be this short article.

Udo Klimaschewski
  • 5,150
  • 1
  • 28
  • 41
  • thanx man @udo ....problem has been solved.Now mouse is working in my laptop .is their any option by which i can implement mouse click in android – Srb May 14 '14 at 05:37
  • You're welcome. Better ask a new question, you will have a bigger audience ... – Udo Klimaschewski May 14 '14 at 12:29
  • thanx man @udo it was great help from ur side...if u know something about mouse click.plz share ur view.. – Srb May 15 '14 at 06:35
  • Srb, this is not how StackOverflow works. Create a new question, leave the old as it is, especially after you have already accepted it. With a new question, other people will have a look at it and you will get much more audience. People who answer do not look at old questions. Please undo your changes in the question subject and text, leave this answer as accepted for futur search reference and create a brand new question with a new topic. – Udo Klimaschewski May 15 '14 at 18:31
  • 1
    Thanks. Have a look here: http://stackoverflow.com/questions/4396059/how-to-simulate-a-touch-event-in-android or here: http://stackoverflow.com/questions/9787699/programmatically-execute-touch-event-in-android – Udo Klimaschewski May 17 '14 at 10:52
  • thnx man...i m working on this.. – Srb May 19 '14 at 05:29