yes, i had a mismach, thanks. But i still have the same problem with time(1 min ) and GC. Create 2 or more array instead of the big one will solve the problem with time?
On Sep 8, 5:47 pm, Frank Weiss <fewe...@gmail.com> wrote: > Looks bad, very bad. > > First, I have no idea why you're allocating 1.8 MB (remember that Java, and > I suppsoe Dalvik as well, takes 16 bits per char). How come so much? Second, > of course writing a byte (or is it a char, there's a mismatch there) is > going to be slower than writing at least a few thousand at a time. -- 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