Unless the other applications in the emulator are slow like this,
there is something specific about what you are doing that is either
slow itself or hitting some slow point in the OS.

Have you tried running with the profiler to see where time is being
spent?

On Apr 5, 8:49 pm, Anil <[EMAIL PROTECTED]> wrote:
> The same operation in Java Swing is almost instantaneous.
>
> On Apr 4, 6:57 pm, Anil <[EMAIL PROTECTED]> wrote:
>
> > 35x35 pixels. this is just the audio 'speaker' icon on a button.
>
> > On Apr 4, 11:28 am, hackbod <[EMAIL PROTECTED]> wrote:
>
> > > On Apr 4, 5:44 am, Anil <[EMAIL PROTECTED]> wrote:
>
> > > > No, it is a small image: 863 bytes
> > > > The second time, I have already removed it from the layout, and am
> > > > calling getImageResource again, so I am surprised it is much quicker.
>
> > > Resources are cached.  The primary difference between the two runs is
> > > most likely image loading.
>
> > > Btw, it's not just the file size of the image that matters, but also
> > > the size of the bitmap it uncompresses to.
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to