Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
afedorenchik
Posts: 6
Registered: ‎11-25-2010
My Device: Not Specified
Accepted Solution

File creating performance on 6.0+ devices.

Hello guys.

 

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.

 

Regards Alex.

 

 

Please use plain text.
Developer
peter_strange
Posts: 19,601
Registered: ‎07-14-2008
My Device: Not Specified

Re: File creating performance on 6.0+ devices.

Please use plain text.
New Developer
afedorenchik
Posts: 6
Registered: ‎11-25-2010
My Device: Not Specified

Re: File creating performance on 6.0+ devices.

Thanks a lot.

Please use plain text.