is there a way to detect that OpenGLRenderer has run out of memory ? I'm setting big image as drawable to ImageView background and on device with FullHD display sometimes the ImageView stays blank and I get this in logcat
D/OpenGLRenderer﹕ GL error from OpenGLRenderer: 0x505
E/OpenGLRenderer﹕ Out of memory!
I'd like to detect this has happened and set smaller image as background.
Thanks