screencapture1 Android - Screen Capture / 스크린캡쳐 하기 안드로이드 스크린 캡쳐(스샷) 12345678910111213141516171819202122232425262728private void takeScreenshot() { try { // image naming and path to include sd card appending name you choose for file // 저장할 주소 + 이름 String mPath = Environment.getExternalStorageDirectory().toString() + "/" + now + ".jpg"; // create bitmap screen capture // 화면 이미지 만들기 View v1 = getActivity().getWindow().getDecorView().getRootView(); .. 2017. 2. 17. 이전 1 다음