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?
it possible but difficult to implement, instead you can use VNC implemention on android .
1) https://code.google.com/p/fastdroid-vnc/
or
2) http://code.google.com/p/android-vnc-server/
or
search android VNC server porting.