On Wed, Aug 24, 2011 at 12:43 PM, Drezden <[email protected]> wrote:
> How big are the images you're trying to load?
>
> If you're creating Bitmap objects from your resources then you are
> very likely running out of memory in the process.  Look into
> BitmapFactory.Options and try increasing the sample size to see if
> that makes any difference.
>
> I would also suggest that you look into ways to pull your tiles from
> the web instead of storing them on the device.  You very rarely see
> apps in the wild that have a larger footprint than 20mb and some
> devices like the G1 only have 70mb of storage TOTAL for all apps.  So
> you're basically asking someone to remove everything from their device
> to load your app.
>

Even after that, with the g1 at least, you should expect that the
system (zygote process, etc...) and standard library will take a good
chunk of that space, so you're really only left with around 20MB for
user apps.  That was a while ago, and you could probably expect that
most users would have more than that now, but you still can't expect
much.

Kris

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to