Iconic list View gets very slow when a service (running music) starts in the background

by Dianne Hackborn » Wed, 21 Apr 2010 05:41:55 GMT


Sponsored Links
 Does the same thing happen in the standard music app?  If not, have you
looked at the code for that app to see what it may be doing different?




>



Iconic list View gets very slow when a service (running music) starts in the background

by Prajakta Shitole » Wed, 21 Apr 2010 05:56:15 GMT


 Hi Dianne,

This does not happen in the standard music app. Thanks for guiding, I will
look into the standard music app code to check what it does differently.

Thanks,
Prajakta





>>


Sponsored Links


Iconic list View gets very slow when a service (running music) starts in the background

by Prajakta Shitole » Wed, 21 Apr 2010 14:29:34 GMT


 Hi,

My list view is slow due to a different reason. It is not due to the service
which runs in the background. My list view gets slow due to my logic
implementation. The service runs in the background and does not affect the
list view which runs on the main UI thread.

Thanks,
Prajakta






>>>



Other Threads

1. memory leak in activity

In my app activity A creates activity B, however when the back key is
pressed it goes back to activity A. This is a simplified version of my
application.

I would expect memory to be reclaimed when going back to Activity A.
Going to activity B allocates more memory.

I am using dumpsys meminfo to get the allocated kbs.

How can I easily tell what memory is creeping? I do not keep any
references to activity B.

I know about the ddms allocation tracker, but wondering if there is a
more better tool to figure this out.

I read somewhere about someone during a heap dump. How do I do that?
--~--~---------~--~----~------------~-------~--~----~

2. How to launch my app if some one browses any xml file

I don't think you can do this because the initial URL interception happens
when the browser is processing the URI, before it has a MIME type.  If it
doesn't find an external activity to handle the raw URI, it will at that
point see if it can handle it internally.  At that point either it will do
so, or only if it can't handle it internally will it start retrieving it (at
which point it finds out its MIME type) and if there is an activity that
contains that MIME type it will hand it off.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~

3. Just for test, Please ignore

4. Browser issue when visiting YouTube

5. Gmail support exchange

6. adb over ethernet and not over USB

7. Xzing Barcodescanner without Intent