[android-developers] Re: Too many PNGs in res/drawable?

2009-09-04 Thread markh23
; images to (for example) 5 + 10 + 10 + 10 = 35 rather than 5 * 10 * 10 > * 10 = 5000? > > On Sep 3, 11:48 am, markh23 wrote: > > > > > Thanks for the help guys.  I appreciate the time you took, Dianne, to > > write out that response. > > > And Zod, I just wanted to

[android-developers] Re: Too many PNGs in res/drawable?

2009-09-02 Thread markh23
f megabytes ram. However ram is a > pretty precious resource in an embedded environment like a mobile > phone, and it should not be wasted carelessly. > > Bye, >    Zsolt > > On Aug 27, 6:15 am, markh23 wrote: > > > > > Hello, > > > I have a notific

[android-developers] Re: Too many PNGs in res/drawable?

2009-08-27 Thread markh23
 uh, you should really re-think this.  All of the drawable > > containers (level list, state list, etc) load ALL of their images up-front. > > Ghod god please please don't load 5,000 images into the system process. > > Please. > > > On Wed, Aug 26, 2009 at 9:15 PM, markh2

[android-developers] Too many PNGs in res/drawable?

2009-08-26 Thread markh23
Hello, I have a notification icon in the status bar with thousands (5000+) of states, and each state has a different corresponding icon. Right now I'm using a xml file to switch between all these different images. It seems to be working right now (it takes a little longer to install/ uninstall

[android-developers] Hooking into an Incoming or Outgoing Call

2009-07-15 Thread markh23
Hello, I was wondering how to get a toast to pop up (or broadcast an intent) when receiving an incoming/outgoing call. Currently, I have 2 solutions, but I don't know if they're "good" - albeit one of them sort of works. Solution 1: --- Define a class that extends PhoneStateListener