08-19-2012 05:46 PM
rim: loadingScreen backgroundColor and foregroundImage have disappeared on launch.?
no code changes
08-20-2012 09:42 AM
Are you saying these features stopped working in your application? Those elements are still supported:
https://developer.blackberry.com/html5/documentati
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) ?
08-20-2012 10:10 AM
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.
08-20-2012 10:50 AM
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.
08-20-2012 11:04 AM
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?
08-23-2012 07:55 AM
I have also the same problem..
please post the code if any one know asap...
08-24-2012 08:37 AM
Hi All,
I have also the same problem. please help us.
08-25-2012 03:28 AM
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/deliverab les/30182/Widget_element_834671_11.jsp Smartphone: http://docs.blackberry.com/en/developers/deliverab les/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</r im: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.
08-27-2012 10:30 AM
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:
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.