简体   繁体   中英

screen mirroring in android

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?

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM