Android - Samsung Galaxy S3 Image Loading
I have an android app that is working perfectly fine on almost all the Android devices. Recently, I tested this app on Samsung Galaxy S3 and it started crashing on me - it runs out
Solution 1:
The reason my app failed on Galaxy S3 is because Galaxy S3 has a much higher resolution than any other phones I tested my app with. Hence the memory it allocated for the bitmaps was much higher and that caused the app to crash as it ran out of memory. To solve the issue, I simple removed the bitmaps from the view in the onDestroy method and it solved the issue.
Post a Comment for "Android - Samsung Galaxy S3 Image Loading"