BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 08-10-2009, 01:40 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2008
Model: 8100
PIN: N/A
Carrier: Vodafone India
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Pefromance issue in creating Bitmap on Storm

Please Login to Remove!

Friends,

I am facing serious performance issue on Storm. I debug my code and found that performance degrades when I am creating bitmaps.

I am creating 10 bitmaps at the time screen loads, and it takes 6-8 seconds to load the screen :(

I am using
Code:
Bitmap.getBitmapResource(res_location);
method to create Bitmap.

Same code is working fine on all other devices without having any performance issue.

Please give me any idea or approach to overcome this issue.

Thanks,
Alpesh
Offline  
Old 08-10-2009, 04:04 PM   #2 (permalink)
New Member
 
Join Date: Jul 2009
Model: 9500
PIN: N/A
Carrier: Rogers
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

My best guess from your description is that you're loading really big images - are they the full size of the screen? I'd recommend using PNGs if possible rather than bitmaps.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

* VINTAGE REPRINT DEC. 10, 1951 AMERICAN MACHINIST BROCHURE *
$1.99
* VINTAGE REPRINT DEC. 10, 1951 AMERICAN MACHINIST BROCHURE * pictureVintage SIGNODE Crimping W14 Tool 17.5" long pat#1784123 dec9 1930 /N12167
$79.51
Vintage SIGNODE Crimping W14 Tool  17.5(VTG) 1984 P & H Harnischfeger yellow hard hat Dec 1st birthday bash milwaukee
$24.99
(VTG) 1984 P & H Harnischfeger yellow hard hat Dec 1st birthday bash milwaukee pictureVINTAGE DIGITAL EQUIPMENT CORPORATION(DEC) 32MB PC MEMORY BOARD 5017155-01 E1P1
$149.0
VINTAGE DIGITAL EQUIPMENT CORPORATION(DEC) 32MB PC MEMORY BOARD 5017155-01 E1P1  pictureVintage Rare DEC 1073D / 1996 JD3487 H 9833
$49.99
Vintage Rare DEC 1073D  / 1996 JD3487 H 9833    picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.