If you want to take a screenshot of your own application, you can do this in the code of any of your Activity() classes:...screenshot(getWindow().peekDecorView());... private Bitmap screenshot(View view) { view.setDrawingCacheEnabled(true); Bitmap bitmap = view.getDrawingCache(); view.setDrawingCacheEnabled(false); return bitmap; }There is some side effects with dialogs, but it can solve the problem in 90% of the cases.
como tirar screenshots dentro da propria app
Iniciado por
FernandoMiguel
, Oct 18 2010 10:11
Não há respostas a este tópico.
#1
Mensagem publicada 18 October 2010 - 10:11
- Mattode gosta disto