Notice
Recent Posts
Recent Comments
반응형
목록2013/08/16 (1)
오늘도 공부
현재 Activity 화면을 Bitmap으로 SD카드로 저장하기
In this post I’ll show how you can take a screenshot of your current Activity and save the resulting image on /sdcard. The idea behind taking a screenshot actually is pretty simple: what we need to do is to get a reference of the root view and generate a bitmap copy of this view. Considering that we want to take the screenshot when a button is clicked, the code will look like this: findViewById(..
Android/Tip&Tech
2013. 8. 16. 14:35
