This is the code I'm using
The problem is that after some time (File gets more weight) notification bar get slower to pulldown, and finally it just freezes!
This is the code I'm using
The problem is that after some time (File gets more weight) notification bar get slower to pulldown, and finally it just freezes!
I ran into a similar problem, it would seem that RemoteViews have a memory leak and shouldn't be reused so much.
Look at these threads:
android memory leak in notification service
http://code.google.com/p/android/issues/detail?id=13941
http://groups.google.com/group/android-developers/browse_thread/thread/667343a171e51463#
Good luck
This is a common behavior. You shouldn't flood the NotificationManager with frequent updates. You should decide an interval to update, like twice every second.
For example,
This works perfectly for me and doesn't freeze the notifications too. Hope this helps!
Your notifications are too frequent. thats why it freezes. make them update in bigger intervals. Ok is once in every second or 2 seconds.
This solution worked for me (ugly but working):