02-22-2013 04:36 AM
How to set or keep a background image in my app at the start of the application i.e after click on the app icon.
I have developed a BB 7.0 OS HTML5/ web app in which I want to include background image .
Please guide me.
Solved! Go to Solution.
02-24-2013 01:05 PM
Take a loot to rim:loadingScreen on config.xml http://developer.blackberry.com/html5/documentatio
02-25-2013 03:08 AM - edited 02-25-2013 03:09 AM
Ok thank you miamon where should we write this code and what should be the dimensions of the background image like
256*256 or 480*120 etc ?
I want the background to fit to the screen .
02-26-2013 09:48 AM
The image will scale to fit the screen. I would aim for something close to the resolution of the devices you are targeting, and even a little larger. Scaling down of images generally tends to look better than having to scale up.
The rim:loadingScreen element should be defined in your config.xml.
02-27-2013 01:50 AM
Ok miamon and oros I will check the output and update you. But stil what should be the idela size of the background if any ?
02-27-2013 02:03 AM
You code is working miamon thanx oros also.
02-27-2013 02:04 AM
MY background image should tilt for landscape and portrait mode accordingly. How ?
02-27-2013 03:51 AM
Ok done with
<rim
rientation mode="auto"/>
02-27-2013 04:01 AM
Hi oros and miamon pls go thru my earlier post also
Ask any doubts if u have . I want you to edit my main.js script of my app.