This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Im displaying image and text on device. And i would like to capture the screen on my device and would like to send email the image+text.
How to capture the screen with image and text?
Please help me friends.
Thanks in advance.
You can use the view.draw(canvas) method to make the view draw whatever it is displaying, onto a canvas.
Create an empty bitmap, set it on a new canvas and pass this canvas to a view. In your case this, "view" will have to be the root view(the FrameLayout, I think).