A quick note regarding bitmaps and out of memory

I know you guys sometimes get frustrated at the crashes in Sweeter Home, and although I’ve covered this in several forums I thought I’d mention it here as well (with a nice example).

Sweeter Home isn’t a ‘normal’ home replacement app. In a ‘normal’ home replacement you are working within a set UI paradigm; working within the framework of that home app. No matter how flexible and customisable it is, NO home apps allow you to completely add, remove, or replace elements of their UI, let alone doing this on-the-fly. So Sweeter Home is unique in this, but in doing so it also opens some doors to functionality that Android is not optimised to perform. A good example is bitmaps. Read this article to see an example where using bitmaps in a gallery app just to find image widths was crashing his app, and his solution was to avoid using bitmaps! This is problem with how Android allocates memory for bitmaps and all apps have to deal with this. Now imagine adding more bitmaps, a completely editable UI, the half-baked Android widget framework and multiple devices all with varying processing power and RAM, and you’ll have some idea of what the developers of Sweeter Home have to work with when trying to get the app running smoothly on your phone.

Remember the app is in beta, and the developers are working on getting more resources to start expanding functionality. Until then have fun with Sweeter Home and be patient! :) Oh, and share your themes!

(PS – Theme tutorial is coming soon)…

About Lemon

I got hold of Sweeter Home (preview 1) when it first showed up in the Android Market. After a day or two I quickly realised the potential this Home Replacement had, and built a couple of demo Sweeter Home themes to show what this Launcher was capable of (you might be familiar with the Matrix theme video on YouTube). I started this blog in response to the initial popularity of those videos. Since then I've had the pleasure of lending ideas and beta testing for the developer of Sweeter Home.
This entry was posted in News/Blog. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>