screen mirroring in android

Ankith picture Ankith · Jan 9, 2014 · Viewed 9.1k times · Source

I want to implement screen mirroring in Android platform.

I am thinking to follow this approach, is there any better way for the same:

  1. Open socket connection Android and PC.
  2. Capture screen or take screenshot at regular intervals and send it through socket.
  3. Display the received image in Canvas

Language: Java, Socket programming

My questions

  1. Is there any other better way to implement the above feature?
  2. How do I capture screen in Android Platform?

Answer

Phaneendra Kasalanati picture Phaneendra Kasalanati · Jan 6, 2017

The same way I implemented Android screen mirroring which are connected in same network. Code is available @ https://github.com/phaneendrak5757/ScreenMirroring