take screenshot for android device or emulator