I have created a quiz app and once the user has finished the quiz an activity opens which shows a certificate with the user's achievements. I want the device to screen shot the certificate so that the user can view the screenshot in the gallery at a later date. What code should I put into my OnClickListener.
Thanks in advance.