eugenkiss/chanobol

Check Available Memory In ImageActivity

Open

#107 opened on Feb 16, 2015

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Java (11 forks)github user discovery
enhancementhelp wantedmysterious

Repository metrics

Stars
 (52 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

and use a scaled down version of the image if necessary to prevent OutOfMemoryError. See http://stackoverflow.com/a/4544944/283607

But ideally, deep zoom should take care of all this.

But how to calculate exactly how much memory bitmap will need etc. (it's probably easy formula but need to find it first).

Contributor guide