You are writing one byte at a time.

outS.write(data[i]);


This is going to be incredibly slow

Try this:

outS.write(data, 0, data.length)

or just this:

outS.write(data);

-- Kostya

23.05.2011 20:01, kypriakos пишет:
                        Log.i("p2pSOA","write start at "+sTime);
                        for (int i=0; i<data.length; i++) {
                                outS.write(data[i]);
                                        if ( (i%100000) == 0 )
                                                Log.i("p2pSOA","wrote "+i" of 
bytes");
                        }



--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to