In my app, copying a 4MB file to the SD card takes maybe 5 seconds. I am using the Commons IO library.
So you are doing something wrong if it takes more than a couple of seconds for a 1MB file. On May 23, 11:27 am, kypriakos <[email protected]> wrote: > First, good to hear from you Mark - I hope all is well! > > Well I expected the two (instead of three) letter response - I ended > up playing around > with the code (which is nothing other than using the FileOutputStream > to write out > the jpeg. I found out that if I replace the println statements (I was > checking what was > being written out and didn't expect it to cause so much overhead) with > Log.i the > image can be written in around 95 seconds ( 1 MB). Still slow but not > as bad as an > hour. Of course still 95 seconds is a bit too much. Anything else I > can try? May be > an SD card profile / performance test would be help determine if > something is going > on there? > > Thanks again > > On May 21, 1:58 pm, Mark Murphy <[email protected]> wrote: > > > > > On Sat, May 21, 2011 at 1:55 PM, kypriakos <[email protected]> wrote: > > > I am saving jpeg image on sdcard through an activity - about 1 MB > > > takes literally > > > close to an hour ... is that normal? > > > No. > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > Android App Developer Books:http://commonsware.com/books- Hide quoted text - > > - Show quoted text - -- 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

