How to set or keep a background image in my application at the beginning of the application that is, after clicking on the application icon.

How to set or keep a background image in my application at the beginning of the application that is, after clicking on the application icon.

I have developed a BB 7.0 BONE HTML5 / web app in which I want to include background image.

Please guide me.

Take a loot of rim: loadingScreen on config.xml http://developer.blackberry.com/html5/documentation/rim_loadingscreen_element_834680_11.html

Tags: BlackBerry Developers

Similar Questions

  • Could someone tell me please how to set up double space on Microsoft Word? I need the info as soon as possible. Thank you

    Report needs to be written in double space, and I do not know how to configure it in Microsoft Word. Where can I find the correct icon?

    Hello LouAnnRod,

    Thank you for visiting the website of Microsoft Windows Vista Community. The question you have posted is related to the word and would be better suited to the community of Office Discussion groups. Please visit the link below to find a community that will provide the support you want.
    Discussion Questions General Group

    Steven
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • How to set a background image re-scalable depending on the screen resolution of viewers

    Hello

    I searched the net for ages looking for a way to make a background image on the scale according to the size of a monitor of viewers.

    I found a solution:

    Source code

    < body >

    "< img src ="... /... ' / Images/Connor/background_bg.png ' class = 'bg' >

    < / body >

    CSS (style)

    {img.BG}

    / * Define the rules to fill the background * /.

    min-height: 100%;

    min-width: 1024px;

    / * Set up a proportional scaling * /.

    Width: 100%;

    height: auto;

    / * Set up positioning * /.

    position: fixed;

    top: 0;

    left: 0;

    }

    @media screen and (max-width: 1024px) {}

    {img.BG}

    left: 50%;

    left margin:-512px. }

    }

    Now, this has the desired effect, however when I place a div below "< img src ="... /... "' / Images/Connor/background_bg.png ' class = 'bg' > ' in the body of my site, it pushes this div below my bottom.

    I got the code from " " http://CSS-tricks.com/perfect-full-page-background-image/ "and it does not seem to do this in this example. "

    I pasted my complete code below, if someone could have a look and advise where I'm wrong that would be greatly appreciated.

    Thanks and greetings

    Elliot

    Source code

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > Untitled Document < /title >

    < link href = "style.css" rel = "stylesheet" type = "text/css" / > "

    < script type = "text/javascript" >

    function MM_swapImgRestore() //v3.0 {}

    var i, x = offline. MM_sr; for (i = 0; a & & I <.) Length & & (x = a [i]) & & x.oSrc; i ++) x.src = x.oSrc;

    }

    function MM_preloadImages() {//v3.0

    var d = document; If (d.images) {if(!d.MM_p) d.MM_p = new Array();

    var i, j is d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i <.) Length; i ++)

    If (a [i].indexOf("#")! = 0) {d.MM_p [j] = new Image; d.MM_p [j ++] .src = a [i] ;}}

    }

    function MM_findObj (n, d) {//v4.01

    var p, i, x;  if(!d) d = document; If ((p = n.IndexOf ("?")) > 0 & & parent.frames.length) {}

    d = parent.frames [n.Substring(p+1)] .document; n = n.Substring (0, p) ;}

    If (!) () x = d [n]) & & copyrights) x = d.all [n]; for (i = 0;! x & & i < d.forms.length; i ++) x = d.forms [i] [n];

    for (i = 0;! x & & d.layers & & I < d.layers.length; i ++) x = MM_findObj (n, d.layers [i] .document);

    If (! x & & d.getElementById) x = d.getElementById (n); Return x;

    }

    function MM_swapImage() {//v3.0

    var i, j = 0, x, a = MM_swapImage.arguments; document. MM_sr = new Array; for (i = 0; i <(a.length-2); I += 3).

    If ((x = MM_findObj (a [i]))! = null) {document. MM_sr [j ++] = x; if(!x.oSrc) x.oSrc = x.src; x.SRC = a [i + 2] ;}

    }

    < /script >

    < / head >

    < onload of the body = MM_preloadImages('..) « /.. / Images/Connor/nav_bar/home_ro.png ','... /... / Av_bar/about_me_ro.png images/Connor/n ','... /... / Images/Connor/nav_bar/c.v_ro.png ','... /... / Bar/portfolio_ro.png images/Connor/nav_ ','... /... (/ Images/Connor/nav_bar/contact_me_ro.png') ">"

    "< img src ="... /... ' / Images/Connor/background_bg.png ' class = 'bg' >

    < div id = "web_centre_wrap" >

    < div id = 'menu_bar' > < table width = "960" border = "0" cellspacing = "0" cellpadding = "0" >

    < b >

    "< td width ="105"height ="68"> < img src ="... /... "/ Images/Connor/nav_bar/nav_bar_left.png" width = "105" height = "68" / > < table >

    "< td width ="147"height ="68"> < a href =" # "MM_swapImgRestore" onmouseover = "MM_swapImage ('Image3 '", '... /..) " (/ Images/Connor/nav_bar/home_ro.png',1) "> < img src ="... /... "/ Images/Connor/nav_bar/home.png" name = "3" width = "147" height = "68" border = "0" id = "3" / > < /a > < table >

    "< td width ="147"height ="68"> < a href =" # "MM_swapImgRestore" onmouseover = "MM_swapImage ('Image4 '", '... /..) " (/ Images/Connor/nav_bar/about_me_ro.png',1) "> < img src ="... /... "/ Images/Connor/nav_bar/about_me.png" name = "Image.4" width = "147" height = "68" border = "0" id = "Image.4" / > < /a > < table >

    "< td width ="148"height ="68"> < a href =" # "MM_swapImgRestore" onmouseover = "MM_swapImage (' picture5 '", '... /..) " (/ Images/Connor/nav_bar/c.v_ro.png',1) "> < img src ="... /... "/ Images/Connor/nav_bar/c.v.png" name = "Picture5" width = "148" height = "68" border = "0" id = "Picture5" / > < /a > < table >

    "< td width ="147"height ="68"> < a href =" # "MM_swapImgRestore" onmouseover = "MM_swapImage ('Image6 '", '... /..) " (/ Images/Connor/nav_bar/portfolio_ro.png',1) "> < img src ="... /... "/ Images/Connor/nav_bar/portfolio.png" name = "Image6" width = "147" height = "68" border = "0" id = "Image6" / > < /a > < table >

    "< td width ="148"height ="68"> < a href =" # "MM_swapImgRestore" onmouseover = "MM_swapImage ('Image7 '", '..) " /.. (/ Images/Connor/nav_bar/contact_me_ro.png',1) "> < img src ="... /... "/ Images/Connor/nav_bar/contact_me.png" name = "Image7" width = "148" height = "68" border = "0" id = "Image7" / > < /a > < table >

    "< td width ="118"height ="68"> < img src ="... /... "/ Images/Connor/nav_bar/nav_bar_right.png" width = "118" height = "68" / > < table >

    < /tr >

    < /table >

    < / div >

    < div id = "header" > < / div >

    < div id = "content" > < / div >

    < div id = "footer" > < / div >

    < / div >

    < / body >

    < / html >

    CSS (style)

    @charset "utf-8";

    / * CSS document * /.

    {img.BG}

    min-height: 100%;

    min-width: 1024px;

    Width: 100%;

    height: auto;

    position: fixed;

    top: 0;

    left: 0 ;}

    @media screen and (max-width: 1024px) {}

    {img.BG}

    left: 50%;

    left margin:-512px ;}

    {#web_centre_wrap}

    Auto margin: 0 ;}

    {#menu_bar}

    #header {}

    Background: url (.. /.. Images/Connor/Header.png) ;}

    #content {}

    Background: url (.. /.. Images/Connor/content.png) ;}

    #footer {}

    Background: url (.. /.. Images/Connor/footer.png) ;}

    Try this:

    http://ALT-Web.com/test/resizable-BG.shtml

    Nancy O.

    ALT-Web Design & Publishing

    Web | Graphics | Print | Media specialists

    http://ALT-Web.com/


  • Adding to my last question... To keep a background image in the center of the Web page when the browser is shrun

    How do do that?  What is the CSS that makes this work?

    Centers of the background, even when the browser window is smaller or the screen resolution is less, but the content remains stationary in the center of the page: www.signatureweddingsbyjenna.ca

    Hello Jules

    I think that Nancy replied to your question in the other thread.

    I have the site you give as an example, this is the CSS that applies to this image:

    {body
    background - image: URL("page_images/background.jpg");
    bottom-top position: center;
    background-repeat: repeat no.;

    }
    Then of course, it is applied as the context in which theelement, it is placed in the Center and on it and it does not repeat itself.  It is what keeps the central image on the page.  Also helps is that the page is a centered layout.  In the example page that you gave, they have this:
    #page, closure-blocks # {}
    margin-left: auto;
    margin-right: auto;
    Width: 1000px;

    }

    Set the width is important and defining the left/right margin as it means that the browser will allocate the rest of the available space at each margin evently between the two, or put content in the middle.  The only other thing you do is to set the content of the site to the center using
    text-align: center
    It is exlpained herefully.  The only other thing the site has done is put a bit of image information in another element to make it appear that the background image loops in the content.
    Martin
  • How to reload (refresh) windows logon background image dynamically?

    I am developing provider of credentials for windows windows 7 and I need to dynamically change the background image to logon when the user sets values in the UI elements. How can I do this? Please help me.

    Hi Peter,.

    Welcome to the Microsoft Community Forums.

    According to the description, you have any questions on the development of supplier of Windows credentials for windows 7.

    You have reached the end user Microsoft support. I suggest you to read the articles and post your query on the link for assistance on the issue:

    http://social.msdn.Microsoft.com/forums/en-us/windowsuidevelopment/thread/db47effe-309b-40DA-ac4f-5ac8a5148435

    http://social.msdn.Microsoft.com/forums/en-us/WindowsSecurity/thread/64fdc605-54f9-42AC-8c3d-9e440e84fb98

    It will be useful. For any other corresponding Windows help, do not hesitate to contact us and we will be happy to help you.

  • How can I edit an unwanted background image?

    How can I blow some unwanted image?

    Hi Paul,.

    It kind of depends on how much background is part of the brush. You have typed the change icon (a square with a pen)? Once you are in mode that the crop tool allows to choose which part of the image you want to use for the brush of edition.

    Sue.

  • How to fade along with a background image.

    Does anyone have a suggestion on how better to fade along with a background image, which left and right side exactly blends in the background. In addition, it should be a very gradual fade.

    My image is a model of 18px 1900px X and it supposed to repeat on the y-axis. I did apply a layer mask, select from the left and the right 250 250px. Then I went to put smoth to 100% and the feather to 100px, and cut the fethers part to see the fade.  It worked well, but you are still able to see the visible lines on each display of color fade. The re is a better way to fade and other image or something else I can try to make the transition to choke?

    Thank you!

    Looks like bands, not feather. try to work in 16-bit...
    / G

  • How to have a background image transparent web page to the browser

    I used a color gradient background image on my scene for my Web site.

    Managed to load the same background on the background of the browser.

    However, the result is not satisfactory that I can see the limits of background image site against the background of the browser.

    How can I get around this? Or y at - it a code that allows me to change my transparent Web site background so that I do not have a background of the browser?

    Tried to post using the window Mode: Transparent windowless, but does not work.

    Pls help...

    Thank you!

    You can try to remove the background image on the Flash file, and then will the WMODE = transparent route.

  • How to set up a library of images?

    I want to set up all my photos in one place and be able to download onto a CD. I also want to be able to edit photos before printing.

    Thank you

    Hi Jeannet,

    I will certainly help you to question, but to help you better I would like to know;

    • Are the images in different place?

    Ability of libraries Windows 8 to determine what local photos to display, with the theory being that all the sites that you add to the image library will automatically appear in the Photos.

    By default, the image library for Windows 8 located here: my pictures (C:\Users\your-user-name\Pictures). If your photos are in the other location.

    To gather them all in the same place, I suggest you to move all the photos in the photo folder (drag / move)

    To move the images from a folder in the image folder, follow the steps below:

    Open the folder of photo and the other folder/s where the pictures are saved.

    1. Align the two windows side by side.

    2. Aim the mouse pointer on the file/photo you want to move.

    3. While pressing the left mouse button, move the mouse until it points to the destination folder (photo).

    4. Release the mouse button and choose copy here, moving here or create shortcuts here on the shortcut menu.

    When Drag and Drop takes too much work, Windows offers some other ways to copy or move files, such as right click on the Navigation of menus and commands on Ribbon pane.

    Libraries: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows/Libraries-FAQ#1TC=Windows-8

    Editing images before printing, please click on the link below.

    Edit photos

    http://Windows.Microsoft.com/en-CA/Windows-8/editing-photos

    You can change the image and print it.

    Hope this information is useful. If the problem still persists, please post back for further assistance, we will be happy to help you.

    Thank you

  • Hey all, I can't keep my background image to disappear...

    All I wanted to do was repeat my background image and hit him any browser size.
    Here's the code I ended up with:

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > Untitled Document < /title >

    < style type = "text/css" >

    <!--

    HTML {}

    background-image: url(images/backgroundimage.png);

    background-repeat: repeat-y;

    -background;    margin: 0px;

    padding: 0px;

    Width: 100%;

    background-position: Center;

    -moz-background-size: cover;

    background-size: cover;

    text-align: center;

    }

    ->

    < / style >

    < / head >

    < body >

    < img src = "images/GowerAikidoLogo.jpg" width = "459" height = "181" alt = "Logo" / > "

    < / body >

    < / html >

    The last "< body >" image is an image that I put to test everything worked and when I did the background image disappears, too even if I insert a table or even write words...

    Wonder why that is.

    In any case, I guess the reason why you use this background image is for the shadow effect? Well, now you don't have use an image to achieve! You can use simple CSS to do.

    Here's the CSS:

    Then, start your content like this:

    Logo

    It will work on all modern browsers. In addition, allows to save loading time that can take your background!

    -ST

  • How can TabbedPanels Tab - we put individual images to each button on the tab?

    Hello

    How can we put individual properties (such as size, background images etc.) to each tab of TabbedPanels tab button?

    Thank you

    Have a look here http://www.adobe.com/devnet/dreamweaver/articles/spry_widgets_design.html

    GRAMPS

  • Change the background image for each page of the site.

    I would like that the bottom of several pages with the difference that the bottom of my home page. How to do this using CSS?

    I also have a div on each page to have a background of differnet by page. How can I do this without replacing the main CSS?

    I'm new to this, so I apologize if this is a silly question.

    Thank you!

    Let's say you have 5 pages requiring a background image.

    index.html, about.html, contact.html, prod.html and services.html,

    Add some classes of body to your external style sheet.

    Body.index {background-image: url (main - Bg.jpg) ;}}

    Body.about {background-image: url (Bg - 1.jpg) ;}}

    Body.contact {background-image: url (Bg - 2.jpg) ;}}

    Body.Products {background-image: url (Bg - 3.jpg) ;}}

    Body.Services {background-image: url (Bg - 4.jpg) ;}}

    In the HTML code of each page, change thetag to reflect the classes defined above body.

    It is the purpose of the page.

    This is the contact page, etc...

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB
    http://ALT-Web.blogspot.co

  • How can I get the Extension toolbar icon to display the image without text (without affecting the other icons universally)? How can I change the text of the icons (except space)?

    «In the drop-down view menu, you can choose what to display toolbars: icons, text, or icons and text together.» By default, Firefox shows icons only. "Is it possible to choose a setting for a specific toolbar icon to be icon only (no text) without affecting all the other icons on the toolbars universally?

    Second, is there a way to edit the text on a toolbar button by another extension (because it takes up too much horizontal space in the toolbar because of the amount of text)? I do not know how to locate the xpi file and open it with Notepad, but then it is mainly (not English) code & FIND is not to search the text of the button (to change).

    These 2 questions should apply to the buttons of the Extension in general. However IF it makes a difference I'm talking for the toolbar button back to 7.0 top of the page that says 'Go to top/bottom '. I would like to at least change on "Go to", but my questions also apply to the other buttons Extension. I realize that it may be necessary to redo a fix/change whenever there is an update? Thank you.

    You should always see this icon that only the text of the label could be hidden.

    You can try this code in the file userChrome.css below default @namespace.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    toolbar[mode="full"] #b2tTBUnicon { min-width:0px !important; }
    toolbar[mode="full"] #b2tTBUnicon .toolbarbutton-icon { margin-top:-20px !important; }
    toolbar[mode="full"] #b2tTBUnicon .toolbarbutton-text { display:none !important; }
    
  • How to set up Time Machine via a HARD drive connected to the USB port on the router?

    Hi all

    I have an Arris Touchstone Data Gateway DG1670A/TW for my internet / wireless which was provided by my ISP.  There is a USB port at the back of the router and I was wondering if I could connect an external HARD drive to save the two Macbook Pro that I have in my house through Time Machine wireless?  If Yes, could someone provide me the details regarding how to set this up properly?

    I too, was thinking about making a 4 TB HARD drive - 2 and wanted to partition so that half of it would work for Time Machine and the other half I would be able to store photos that I take on my digital SLR and are in Lightroom.  Could this be a problem at all? I partition? or Time Machine just to use the available space and delete older backups to make room for additional photos?

    Thanks in advance for any help.

    A device third-party network attached storage (NAS) or a router is unsuitable for use with Time Machine.

    Apple has published a specification for network devices that works with Time Machine. No third party provider, AFAIK, does meet this specification.

    Apple does not endorse any device third-party network for use with Time Machine. See this support article.

    Network backup, use as destination an Apple Time Capsule or an external storage device connected to another Mac or a 802.11ac AirPort base station. Only 802.11ac base stations support time Machine, not older model.

  • Background image with scrolling not for the screen

    Hi all.

    I use the following code to make the background dropdown not image, and it works for all BlackBerry Storm2 (OS 5.0) except (I tried it on a simulator):

    public class MyScreen extends MainScreen{
    
    ...
    
        public MyScreen() {
           super(NO_VERTICAL_SCROLL);
           bitmap=loadBG();       super.add(mContainer = new BGVerticalFieldManager(bitmap));
        }
        public void add(Field field){        mContainer.add(field);    }...
    
    }
    
    public class BGVerticalFieldManager extends VerticalFieldManager {
        Bitmap mBgBitmap = null;
        int mBgWidth = -1;
        int mBgHeight = -1;
        int mBgX = -1;
        int mBgY = -1;
    
        public BGVerticalFieldManager(Bitmap background) {
            super(USE_ALL_WIDTH | USE_ALL_HEIGHT | VERTICAL_SCROLL
                    | VERTICAL_SCROLLBAR);
            mBgBitmap = background;
            mBgWidth = mBgBitmap.getWidth();
            mBgHeight = mBgBitmap.getHeight();
            mBgX = (Display.getWidth() - mBgWidth) >> 1;
            mBgY = (Display.getHeight() - mBgHeight) >> 1;
    
        }
    
        protected void paintBackground(Graphics graphics) {
            paintBackgroundBitmap(graphics);
        }
    
        protected void sublayout(int maxWidth, int maxHeight) {
            mBgX = (Display.getWidth() - mBgWidth) >> 1;
            mBgY = (Display.getHeight() - mBgHeight) >> 1;
            super.sublayout(maxWidth, maxHeight);
        }
    
        private void paintBackgroundBitmap(Graphics graphics) {
            if (null != mBgBitmap) {
                int x = mBgX
                        + getHorizontalScroll();
                int y = mBgY
                        + getVerticalScroll();
                graphics.drawBitmap(x, y, mBgWidth, mBgHeight, mBgBitmap, 0, 0);
            }
        }
    
    }
    

    The Storm2 scrolls the background image, looks that getVerticallScroll() does not work.

    Can someone help me with this?

    Thank you.

    also have glance at this:

    http://supportforums.BlackBerry.com/T5/Java-development/use-a-background-image-in-application-screen...

Maybe you are looking for

  • Cannot print any document of the iMAC

    The only file type that allows to print's email (Gmail account).  When you try to print any type of document from MS Office, PDF, or HTML, the page file is empty.  I restarted my iMac (el Capitan OS) and my printer (Epson XP-400) without change.  Pro

  • Why can not download and install updates from Windows Vista Home Premium 32 bit?

    Why can not download and install updates from Windows Vista Home Premium 32 bit?

  • WRT54GL L2TP-domain name server

    I have WRT54GL v1.1 with the latest firmware. How to specify the L2TP server in domain name? I don't see the fields of intellectual property.

  • How do I disapprove deleted assets

    I'm trying to disapprove each asset approved on my site and I'm stuck with this deleted assets. When I select them and click Unapprove I get the message "cannot disapprove deleted assets.»Is there a way to permanently remove this approved asset 'dele

  • Pause/Stop replication in the RV MRS

    HelloI guess migrate VMS from one datacenter to another data center and it was a matter of time so I decided to configure replication of vSphere so that I can migrate the virtual machine.Now I see the virtual machine on the target DC but I want to st