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

Native Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
Developer
Posts: 125
Registered: ‎03-06-2012
My Device: Z10
My Carrier: 3 Italia

Wrong splashscreen is shown in signed version

This weekend I made an app with cascades 1.2, I set up three splash screens for the three screen resolution + 2 language variants.

In my test version with debug token it was working as expected.

On a Z10 I got the Z10 splash screen, on a Q10, I got the Q10 splash screen, and so on

 

I signed it, I set to BlackBerry World. This morning it was approved, and I downloaded it on my Z10.

But, the english Q10 splash screen is shown (my locale is italian)

 

Why?

 

details of the bar-descriptor.xml:

 

<splashScreens>
<image>splash-1280x720.png</image>
<image>splash-1280x768.png</image>
<image>splash-720x720.png</image>
<image>
<text xml:lang="it">splash-1280x720-it.png</text>
</image>
<image>
<text xml:lang="it">splash-1280x768-it.png</text>
</image>
<image>
<text xml:lang="it">splash-720x720-it.png</text>
</image>
</splashScreens>

 and

 

<asset path="assets/images/icon.png">icon.png</asset>
<asset path="assets/images/splash-1280x720.png">splash-1280x720.png</asset>
<asset path="assets/images/splash-1280x768.png">splash-1280x768.png</asset>
<asset path="assets/images/splash-720x720.png">splash-720x720.png</asset>
<asset path="assets/images/splash-1280x720-it.png">splash-1280x720-it.png</asset>
<asset path="assets/images/splash-1280x768-it.png">splash-1280x768-it.png</asset>
<asset path="assets/images/splash-720x720-it.png">splash-720x720-it.png</asset>

 

Retired
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Wrong splashscreen is shown in signed version

Do you see all the splash screens in the bar file if you open it up?

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Developer
Posts: 1,178
Registered: ‎03-20-2013
My Device: Red LE Developer Z10
My Carrier: Fido

Re: Wrong splashscreen is shown in signed version

This is why I ALWAYS sideload signed releases onto my device for final testing before submitting them to BB World.

 

This doesn't solve your language/locale specific issue, but I wanted to point out that you usually need five splash screens, not just three, since you should also have landscape versions of 1280x768 and 1280x720 (assuming your app allows landscape mode).

 

From my review of the Localization docs you may need to explicitly specify each locale in the bar-descriptor.xml file. The is nothing I can spot in the documentation that states (or implies) that you can have a "default" locale. I suspect the splash screens you specify without a locale just override everything that follows.


Magnetic_dud wrote:

This weekend I made an app with cascades 1.2, I set up three splash screens for the three screen resolution + 2 language variants.

In my test version with debug token it was working as expected.

On a Z10 I got the Z10 splash screen, on a Q10, I got the Q10 splash screen, and so on

 

I signed it, I set to BlackBerry World. This morning it was approved, and I downloaded it on my Z10.

But, the english Q10 splash screen is shown (my locale is italian)

 

Why?

 

details of the bar-descriptor.xml:

 

<splashScreens>
<image>splash-1280x720.png</image>
<image>splash-1280x768.png</image>
<image>splash-720x720.png</image>
<image>
<text xml:lang="it">splash-1280x720-it.png</text>
</image>
<image>
<text xml:lang="it">splash-1280x768-it.png</text>
</image>
<image>
<text xml:lang="it">splash-720x720-it.png</text>
</image>
</splashScreens>

 and

 

<asset path="assets/images/icon.png">icon.png</asset>
<asset path="assets/images/splash-1280x720.png">splash-1280x720.png</asset>
<asset path="assets/images/splash-1280x768.png">splash-1280x768.png</asset>
<asset path="assets/images/splash-720x720.png">splash-720x720.png</asset>
<asset path="assets/images/splash-1280x720-it.png">splash-1280x720-it.png</asset>
<asset path="assets/images/splash-1280x768-it.png">splash-1280x768-it.png</asset>
<asset path="assets/images/splash-720x720-it.png">splash-720x720-it.png</asset>

 






Developer of Built for BlackBerry certified multiFEED RSS/Atom feed reader and aggregator.  multiFEED Icon

Play nice: Clicking Like Button on posts that helped you not only encourages others to continue sharing their experience, but also improves your own rating on this board. Also, don't forget to accept a post if it solves your problem or answers your question.
Developer
Posts: 125
Registered: ‎03-06-2012
My Device: Z10
My Carrier: 3 Italia

Re: Wrong splashscreen is shown in signed version

Inside the signed bar I can see all the splashscreens

 

yes.png

Did I place them in the wrong directory?

Retired
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Wrong splashscreen is shown in signed version

That might be it, try putting them in the root folder.

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker