반응형

라이브러리 : https://code.google.com/p/android-screenshot-library/


이런것도 있고


http://stackoverflow.com/questions/3067586/how-to-capture-the-android-device-screen-content

여기 보면 


ICS 이상부터는

screencap 이라는걸 지원하는데 루팅도 필요없다는군.


해보니까 일단 잘 되긴하다.


For newer Android platforms, one can execute a system utility "screencap" in /system/bin to get the screenshot without root permission. You can try "/system/bin/screencap -h" to see how to use it under adb or any shell.

By the way, I think this method is only good for single snapshot. If we want to capture multiple frames for screen play, it will be too slow. I don't know if there exists any other approach for a faster screen capture.

/system/bin/screencap is great but seems to force a max read rate of 3 screens per second :(



좀 더 찾아보니까 screencap 은 bugreport 할때 사용하고 있고


screenshot 이라는것도 존재한다.

screenshot 이라는 거는 ScreenshotClient() 라는거랑 연동되는것을 볼 수있다.

반응형
Posted by Real_G