Search code examples
androidscreenshot

Android take screenshot of my application activity


I would like to take a screenshot of my application from the users device. Is it actually possible if the device is not rooted?

Basically I would like to take screenshot when some kind of an error occurred.

Personally I think it shouldn't be possible because of the privacy issues etc.

If it's possible could you give some examples or resources for more info?


Solution

  • If you want to save information about the app crash, you must go with acra library

    ACRA is a library enabling Android Application to automatically post their crash reports to a Google Doc form. It is targeted to android applications developers to help them get data from their applications when they crash or behave erroneously. (Taken from link)

    Hope this is helpful.