Saving an Object for use later

Posted by Eclipsed4utoo on Stack Overflow See other posts from Stack Overflow or by Eclipsed4utoo
Published on 2010-06-12T13:37:06Z Indexed on 2010/06/12 13:43 UTC
Read the original article Hit count: 108

Filed under:

As part of my widget, I use an instance of the Camera object.

This is what I want to do. The user will click on my widget, I get an instance of the Camera(if it's not already stored), use it, then store it. If they click the widget again, I want to use that same instance that I used previously.

Is this possible?

© Stack Overflow or respective owner

Related posts about android