Source: https://android.gadgethacks.com/how-to/take-screenshots-android-without-pressing-any-buttons-0166906/