Skip to content

Bitmap in IndividualRecipeActivity causes Out of Memory Error #15

Description

@carlpratt

How to crash the app in 5 easy steps!

  1. Make a new recipe.
  2. Make sure to take a picture of it.
  3. View the recipe you just made.
  4. Hit the back button.
  5. Try to view the recipe again.

I don't know how to fix this, but the offending line is this:

Bitmap rotatedBitmap = Bitmap.createBitmap(myBitmap, 0, 0, myBitmap.getWidth(),
myBitmap.getHeight(), matrix, true);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions