Forum

January 29th, 2009
Current User: Guest
Please consider registering

View getDrawingCache returns null after a few iterations

UserPost

1:51 pm
March 2, 2010


A P

Guest

 
1

As a part of my instrumentation test case, I’m trying to capture screen-shots of my application after every 10 seconds. I’m using View.getDrawingCache which works fine for the first few times. After a while, this method starts to consistently return NULL instead of my bitmap. The reason seems to be a memory issue, and Bitmap.recycle() doesn’t help (much). It only allows me to take more screen shots. Can you help?



Reply to Topic: View getDrawingCache returns null after a few iterations

Guest Name (Required):

Guest EMail (Required):

Topic Reply:

HTML Editor
Save New PostSmileys

Guest URL (required)

Math Required!
What is the sum of:
1 + 4
   

 
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell

 


Comments are closed.