I want to implement screen mirroring in Android platform.
I am thinking to follow this approach, is there any better way for the same:
- Open socket connection Android and PC.
- Capture screen or take screenshot at regular intervals and send it through socket.
- Display the received image in Canvas
Language: Java, Socket programming
My questions
- Is there any other better way to implement the above feature?
- How do I capture screen in Android Platform?
The same way I implemented Android screen mirroring which are connected in same network. Code is available @ https://github.com/phaneendrak5757/ScreenMirroring