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
Super Contributor
lyon819
Posts: 253
Registered: ‎08-19-2010
My Device: BB10, Playbook, 9900, 9800, 9700, 9550, 9530, 9500, 8700.
My Carrier: TT
Accepted Solution

the application needs to restart after delete the application because of .png files.

When the images is imported under res/img/, the application needs to restart after delete the application.

 

Even the related bitmap functions are bypassed,  the application still needs to restart after delete the application.

 

//private Bitmap recordPic = Bitmap.getBitmapResource("Record-Normal-1.png");
//private Bitmap stopPic = Bitmap.getBitmapResource("Player-Stop-1.png");
//private Bitmap infoPic = Bitmap.getBitmapResource("Info-1.png");
//private Bitmap setupPic = Bitmap.getBitmapResource("setup-1.png");
//private Bitmap exitPic = Bitmap.getBitmapResource("exit-1.png");
//private Bitmap calibPic = Bitmap.getBitmapResource("calibrate-1.png");

 

The png files are under 24 KB.

 

Does anyone know what the problem is?

 

Thank your attention,

 

-Fight with BB10
Please use plain text.
Super Contributor
lyon819
Posts: 253
Registered: ‎08-19-2010
My Device: BB10, Playbook, 9900, 9800, 9700, 9550, 9530, 9500, 8700.
My Carrier: TT

Re: the application needs to restart after delete the application because of .png files.

 

After I downgrade image resolution to 14 KB, the issue is solved.

 

-Fight with BB10
Please use plain text.