[android-developers] how to manually free a large array

2010-12-28 Thread Steven Nieh
Hello, I'm new to android app development. Now I need to create a very
large array and write to disk. After I finish it, I need to delete it
immediately. I tried to call System.gc(), but it doesn't work very
well. Should i consider use object pooling? Thanks!

Have a good holiday!

Steven

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


[android-developers] CursorAdapter performance

2010-12-28 Thread Steven Nieh
Hello everyone, I'm new to android development. I'm using cursor adapter for 
large data in my list view. Everything works well except when I try to 
scroll 1000 lines, the application freezes and stop responding. Everything 
backs to normal after 3 seconds. What's going on there?

Is there anything I could do? Thanks!

Steven

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