Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
重複の可能性: Androidでプログラムでスクリーンショットを撮る方法は?
アプリケーションの実行時に現在の画面ビューをキャプチャしたい。
前もって感謝します
View v1 = view.getRootView(); v1.setDrawingCacheEnabled(true); Bitmap bm = v1.getDrawingCache();
ここでのビューは、レイアウト ビューを意味します。