09-11-2011 09:30 AM
I faced up with following problem:
My application has an option to download extension packs from web site.
"Extension pack" is just a tar archive with 100-150 pictures 5kB each. I'm using separate non-event thread for saving unpacked pictures to SDCard.
I found that operation of creating new file can be extremely slow.
Most suprising thing is that on 5.0 devices saving of 100 files takes about 30 sec, and on 6.0+ devices it can take more than 3 min.
Is there a quick way for creating multiply files?
Also BlackBerry profiler shows me that much CPU time is eaten by "net_rim_bb_fileindexservice" and "net_rim_bb_medialibrary" processes which seems to start after each file created.
Is there a way to prevent them from starting until all files are created?
Any help will be appreciated.
Solved! Go to Solution.