Welcome to the Treehouse Community
Looking to learn something new?
So I created my own app. Very similar to the Crystal Ball app. It has no errors or anything. Then I click the run button. It worked perfectly until I tried to shake the device. It stopped. I have my own animation. Also stored in the XML file. In the errors it says "java.lang.OutOfMemoryError" then a very long error list. The animation should be triggered on shake. Thanks! :)
Ben JakubenTreehouse Teacher
Unfortunately the type of Frame animation we use in the Crystal Ball app is very resource intensive. You need to make sure your images are scaled down enough to avoid this OutOfMemoryError. They quickly add up to consume available memory -- it's a pain! There are some good points about the reason for this and potential solutions in the StackOverflow thread: http://stackoverflow.com/q/8692328/475217
Hi Ben! Thanks for your reply. May I ask what is your recommended settings for creating an app background image in Photoshop. Thanks! :)