java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics

view story

http://stackoverflow.com – I have an activity which can be called frequently, the activity is in form of splash screen, which displays an image and finish after 3 seconds. But the activity crashes if called second time frequently. Below is the code snippet: public class SplashActivity extends Activity { private long splashDelay = 3000; //3 seconds ImageView imageView = null; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Bundle b = getIntent().getExtras(); int value = b.getI (HowTos)