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
usr501
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900
My Carrier: rogers

Rim loading screen for OS6+ issue

rim: loadingScreen backgroundColor  and foregroundImage have disappeared on launch.?

no code changes

 

 

 

Please use plain text.
Administrator
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Rim loading screen for OS6+ issue

Are you saying these features stopped working in your application?  Those elements are still supported:

https://developer.blackberry.com/html5/documentation/rim_loadingscreen_element_834680_11.html

 

Can you provide a copy of your config.xml?

 

 

Did you change the version of the WebWorks SDK you are using - or change platform (e.g. installed the PlayBook SDK and re-built your app) ?

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.
Trusted Contributor
usr501
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900
My Carrier: rogers

Re: Rim loading screen for OS6+ issue

no change to sdk or code' and a non descript config.xml

 

<widget xmlns="http://www.w3.org/ns/widgets"
        xmlns:rim="http://www.blackberry.com/ns/widgets"
 version="1.0.0.0" id="ras" xml:lang="en" rim:header="Joe Tile 1.0">

  <rim:loadingScreen backgroundColor="#000000"
             foregroundImage="resources/background.png"
       onFirstLaunch="true" onRemotePageLoad="true" >
  </rim:loadingScreen>

 

the app is loaded on 9900  and works fine other than no splash screen which started yesterday.

corrupt code? I've seen that in my day. code that becomes stupid and has to be replaced manually.

Please use plain text.
Administrator
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Rim loading screen for OS6+ issue

Is that your full config.xml ?  I don't see a <content> element or a closing </widget> element.

 

Is your start page a remote URL? Curious if the content is being cached and is loading fast.

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.
Trusted Contributor
usr501
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900
My Carrier: rogers

Re: Rim loading screen for OS6+ issue

I posted the part of the config.xml in question.

 

the config.xml is complete from head to toe. The app resides locally. No URL start page all local. So should I test with that statement removed?

Please use plain text.
Trusted Contributor
NitishSubudhi
Posts: 166
Registered: ‎12-09-2011
My Device: 9550,9300,9800,9700,9900,9850,9860

Re: Rim loading screen for OS6+ issue

I have also the same problem..
please post the code if any one know asap...

Thanks & Regards,
Nitish Subudhi

Feel Free To Press The Like Button On The Right Side To Thank The User That Helped You.
Please Mark Posts As Solved If You Found a Solution.
Please use plain text.
Developer
BrajeshSanodiya
Posts: 130
Registered: ‎08-03-2011
My Device: torch, Z10
My Carrier: Vodafone, Airtel

Re: Rim loading screen for OS6+ issue

Hi All,

I have also the same problem. please help us. 

-----------------------------------------------------------------------
"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
-----------------------------------------------------------------------
Please use plain text.
Trusted Contributor
NitishSubudhi
Posts: 166
Registered: ‎12-09-2011
My Device: 9550,9300,9800,9700,9900,9850,9860

Re: Rim loading screen for OS6+ issue

Hi astanley,
I am posting the config.xml file which I am using in my Project

<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright 2010-2011 Research In Motion Limited.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
 
  http://www.apache.org/licenses/LICENSE-2.0
 
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<widget xmlns="http://www.w3.org/ns/widgets" 
        xmlns:rim="http://www.blackberry.com/ns/widgets" 
        version="1.0.0.2" id="ProjectName" xml:lang="en">
	
	<!--
		Configuration document developer guides
		
		config.xml sample:
			http://docs.blackberry.com/en/developers/deliverables/30182/Creating_a_BB_Widget_configuration_docum...
		
		config.xml elements
			Tablet OS: http://docs.blackberry.com/en/developers/deliverables/30182/Widget_element_834671_11.jsp
			Smartphone: http://docs.blackberry.com/en/developers/deliverables/32971/Widget_element_1590978_11.jsp
	-->
	
	<name>ProjectName</name>
	<description></description>
	<author rim:copyright="2011" email="astanley@rim.com" href="http://www.blackberry.com/developers">WinIT</author>
	<rim:loadingScreen foregroundImage="images/splash.png" backgroundColor="#000000" onFirstLaunch="true" onLocalPageLoad="false" onRemotePageLoad="false">
		<rim:transitionEffect type="zoomIn" direction="left" />
	</rim:loadingScreen>
		<!--<rim:navigation mode="focus" />-->
	<feature id="blackberry.ui.dialog" />
	<icon src="images/app_icon.png"/>
	
	<rim:orientation mode="auto" />
	
	<content src="index.html"/>
	
	<rim:category name="Media"/>
	
	<rim:permissions>
		<rim:permit>access_shared</rim:permit>
		<rim:permit>record_audio</rim:permit>
		<rim:permit>read_geolocation</rim:permit>
		<rim:permit>use_camera</rim:permit>
		<rim:permit>read_device_identifying_information</rim:permit>
	</rim:permissions>
	
	<!-- 
		Universal APIs: 
			The following features are available on both Smartphone and Tablet OS
	-->
	<feature id="blackberry.app" required="true" version="1.0.0.0"/>
	<feature id="blackberry.app.event" required="true" version="1.0.0.0"/>
	<feature id="blackberry.system" required="true" version="1.0.0.0"/>
	<feature id="blackberry.system.event" required="true" version="1.0.0.0"/>
	<feature id="blackberry.ui.dialog" required="true" version="1.0.0.0"/>
	<feature id="blackberry.utils" required="true" version="1.0.0.0"/>

	<feature id="blackberry.media.camera" required="true" version="1.0.0.0"/>
	<feature id="blackberry.media.microphone" required="true" version="1.0.0.0"/>
	<feature id="blackberry.identity" required="true" version="1.0.0.0"/>
	<feature id="blackberry.invoke" required="true" version="1.0.0.0"/>
	<feature id="blackberry.io.file" required="true" version="1.0.0.0"/>
	<feature id="blackberry.io.dir" required="true" version="1.0.0.0"/>
	
	<!-- 
		Smartphone APIs: 
			The following features are available ONLY on Smartphone
	-->	
	<feature id="blackberry.ui.menu" required="true" version="1.0.0.0"/>
	<feature id="blackberry.identity.phone" required="true" version="1.0.0.0"/>
	<feature id="blackberry.invoke.AddressBookArguments" required="true" version="1.0.0.0"/>
	<feature id="blackberry.invoke.BrowserArguments" required="true" version="1.0.0.0"/>
	<feature id="blackberry.invoke.CalendarArguments" required="true" version="1.0.0.0"/>
	<feature id="blackberry.invoke.CameraArguments" required="true" version="1.0.0.0"/>
	<feature id="blackberry.invoke.JavaArguments" required="true" version="1.0.0.0"/>
	<feature id="blackberry.invoke.MapsArguments" required="true" version="1.0.0.0"/>
	<feature id="blackberry.invoke.MemoArguments" required="true" version="1.0.0.0"/>
	<feature id="blackberry.invoke.MessageArguments" required="true" version="1.0.0.0"/>
	<feature id="blackberry.invoke.PhoneArguments" required="true" version="1.0.0.0"/>
	<feature id="blackberry.invoke.SearchArguments" required="true" version="1.0.0.0"/>
	<feature id="blackberry.invoke.TaskArguments" required="true" version="1.0.0.0"/>
	<feature id="blackberry.message" required="true" version="1.0.0.0"/>
	<feature id="blackberry.message.sms" required="true" version="1.0.0.0"/>
	<feature id="blackberry.pim.Address" required="true" version="1.0.0.0"/>
	<feature id="blackberry.pim.Attendee" required="true" version="1.0.0.0"/>
	<feature id="blackberry.pim.Appointment" required="true" version="1.0.0.0"/>
	<feature id="blackberry.pim.category" required="true" version="1.0.0.0"/>
	<feature id="blackberry.pim.Contact" required="true" version="1.0.0.0"/>
	<feature id="blackberry.pim.Memo" required="true" version="1.0.0.0"/>
	<feature id="blackberry.pim.Recurrence" required="true" version="1.0.0.0"/>
	<feature id="blackberry.pim.Reminder" required="true" version="1.0.0.0"/>
	<feature id="blackberry.pim.Task" required="true" version="1.0.0.0"/>

	<feature id="blackberry.audio" required="true" version="1.0.0.0"/>
	<feature id="blackberry.audio.Player" required="true" version="1.0.0.0"/>

	<feature id="blackberry.find" required="true" version="1.0.0.0"/>
	<feature id="blackberry.phone.Phone" required="true" version="1.0.0.0"/>
	<feature id="blackberry.phone.PhoneLogs" required="true" version="1.0.0.0"/>
	
	<feature id="blackberry.push" required="true" version="1.0.0.0"/>
	<feature id="blackberry.find" required="true" version="1.0.0.0"/>
	
	<!-- 
		Tablet OS APIs: 
			The following features are available ONLY on Tablet OS
		...
	-->
	<!--
	COMMENT THE FOLLOWING WHEN BUILDING USING THE SMARTPHONE SDK.
	
	<feature id="blackberry.payment" required="true" version="1.0.0.0"/>
	-->
	
	<access subdomains="true" uri="*"/>

	<license href="http://www.apache.org/licenses/LICENSE-2.0">
		Licensed under the Apache License, Version 2.0 (the "License");
		you may not use this file except in compliance with the License.
		You may obtain a copy of the License at
			http://www.apache.org/licenses/LICENSE-2.0
		Unless required by applicable law or agreed to in writing, software
		distributed under the License is distributed on an "AS IS" BASIS,
		WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
		See the License for the specific language governing permissions and limitations under the License.
	</license>
</widget>

 

 Please Help me to solve the Problem.

Thanks & Regards,
Nitish Subudhi

Feel Free To Press The Like Button On The Right Side To Thank The User That Helped You.
Please Mark Posts As Solved If You Found a Solution.
Please use plain text.
Administrator
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Rim loading screen for OS6+ issue

The latest version of the WebWorks SDK for Smartphone is 2.3.1.5. This release does still support he loadingScreen feature.

 

If you are not seeing the loading screen image, as defined in your config.xml file, I suspect there is a path issue.

 

For the example that NitishSubudhi provided :

 

<rim:loadingScreen foregroundImage="images/splash.png" backgroundColor="#000000" onFirstLaunch="true" onLocalPageLoad="false" onRemotePageLoad="false">
		<rim:transitionEffect type="zoomIn" direction="left" />
	</rim:loadingScreen>

 

I would expect the folder structure of this project to look like this:

 

  • appFolder
    • config.xml
    • index.html
    • images
      • splash.png

 

If that is not the case (or the splash.png image is not a valid PNG file), then the loading screen may fail to be displayed.

 

 

 

 

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.