0

I want to take screenshot of whatever Activity, Fragment of Dialog is currently visible without the Activity, Fragment or Dialog context e.g on device shake, I do have the application context.

All of the following answers need Activity, Fragment or View.

  1. Taking screenshot programmatically in android
  2. problem in taking screenshots in android by programmatically
  3. programmatically taking screenshot of current screen in android device?
  4. Android : taking Screenshot of the selected area programmatically
SohailAziz
  • 8,034
  • 6
  • 41
  • 43

1 Answers1

0

You can use shared pref to take screenshot without android Activity, Fragment or View context