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

Web and WebWorks Development

Reply
Trusted Contributor
Posts: 107
Registered: ‎07-26-2012
My Device: Blackberry Z10
My Carrier: airtel

How to set loading screen for Playbook & BB10 in config.xml

How to set loading screen for Playbook and BB10 in config.xml ?

 

My Config.xml

 

<?xml version="1.0" encoding="utf-8"?>
<widget xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.0" rim:header="RIM-Widget:rim/widget" xmlns="http://www.w3.org/ns/widgets" id="AppId">
  <rim:navigation mode="focus" />
  <author href="" rim:copyright="2012-2013">My Name</author>
  <name>My App Name</name>

  <description>
    My app description
  </description>

  <feature id="blackberry.app">
    <param name="orientation" value="auto" />
  </feature>

  <content src="index.htm" rim:allowInvokeParams="true"/>

  <icon src="images\icon.png"/>
  <icon src="images\icon.png" rim:hover="true" />
  <rim:splash src="images\1024X600.png" />
  <rim:splash src="images\600X1024.png" />
  <rim:splash src="images\1280X768.png" />
  <rim:splash src="images\768X1280.png" />
 
  <rim:loadingScreen backgroundColor="#0098d9" onFirstLaunch="true" backgroundImage="images\background.png" onRemotePageLoad="true" foregroundImage="images\768X1280.png">
    <rim:transitionEffect type="fadeIn" direction="left" />
  </rim:loadingScreen>

   
  <feature id="blackberry.app" required="true" version="1.0.0.0"/>
  <feature id="blackberry.invoke" required="true" version="1.0.0.0"/>
  <feature id="blackberry.invoke.BrowserArguments" required="true" version="1.0.0"/>
  <feature id="blackberry.ui.dialog" required="true" version="1.0.0"/>
  <feature id="blackberry.ui.menu" required="true" version="1.0.0"/>
  <feature id="blackberry.app.event" required="true" version="1.0.0"/>
 
  <access uri="*" subdomains="true"/>
 
  <rim: permissions system="true">
    <rim: permit>access_shared</rim: permit>
  </rim: permissions>

</widget>

 

working for BB10, but not in Playbook (in playbook : portrait mode after 1 sec the image centered,).



Try my HTML5 app CountDown (free)


Click Accept as Solution if this post that have solved your issue(s)!
Like if you found this post useful..