screenshot within the app

All your problems with Audio, Video and Images.

screenshot within the app

Postby slowsword » Wed Sep 07, 2011 4:13 am

Is it possible to take a screen shot of what your app is displaying? NOT taking a screenshot for putting up on market, but a screenshot taken BY the app and saved to the phone's gallery.

For starters all i want to do is take a screenshot of the textview i have that is displaying some text. So the end product is a picture in the gallery, and all the picture has in it is exactly and everything from the textview.

Ive tried searching for this and i haven't had much luck finding anything.

Hopefully not TOO noob of a question, but sry if it is.

Posts: 7
Joined: Fri Jul 29, 2011 5:20 am


Re: screenshot within the app

Postby dmurarik » Thu Sep 08, 2011 9:05 pm

Try this,
TextView tv;
Bitmap toSave = tv.getDrawingCache();
~Save the bitmap
~Let the media provider know this image has been added
Posts: 8
Joined: Tue Oct 26, 2010 6:02 pm


Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 7 guests