setting the background image of the homescreen on the 4.3 OS

I know that an API was added to OS 4.7 to do (HomeScreen.setBackgroundImage (...))

but is it possible to do this in the OS 4.3 (or 4.5) without the new API?

Sorry, but not ;-)

Tags: BlackBerry Developers

Similar Questions

  • How to set a background image

    HY guys, I'm trying to set a background image on a Blackberry screen. I used this code, but the image dousen can't cover the full screen. Can someone me say what the problem is, or give me an example of how's done it? package mypackage;

    SerializableAttribute public class BackgroundImage extends UiApplication
    {
    Imagearriereplan private bitmap;
    fieldBitmap private bitmap;
        
    Public Shared Sub main (String [] args)
    {
    BackgroundImage PAP = new BackgroundImage();
    theApp.enterEventDispatcher ();
    }
        
    public BackgroundImage()
    {
    The background image.
    Imagearriereplan = Bitmap.getBitmapResource ("loginBackground.png");
            
    Display display = new MainScreen();
            
    HorizontalFieldManager horizontalFieldManager = HorizontalFieldManager(HorizontalFieldManager.USE_ALL_WIDTH | nouveau HorizontalFieldManager.USE_ALL_HEIGHT) {}
                
    Override the paint method to draw the background image.
    public void paint (Graphics graphics)
    {
    Draw the background image, then paint.
    graphics.drawBitmap (0, 0, 240, 240, Imagearriereplan, 0, 0);
    Super.Paint (Graphics);
    }
                
    };
            
    The LabelField will be visible through the transparent image.
    LabelField labelField is new LabelField ("is a label");.
            
    A bitmap with a transparent image field.
    The background image will be visible through the transparent BitMapField image.
    BitmapField bitmapField = new BitmapField (Bitmap.getBitmapResource ("field.png"));

    Add the handler to the screen.
    mainScreen.add (horizontalFieldManager);
            
    Add the fields to the Manager.
    horizontalFieldManager.add (labelField);
    horizontalFieldManager.add (bitmapField);
            
    Tap on the screen.
    pushScreen (mainScreen);
    }
    }

    Thanks in advance

    You can scale the image with EncodedImage, but it is usually best to use an image with a sufficient size

  • 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/


  • Setting a background image

    I have a background image that has a master image on the right. I have all my text, logo, content, navigation, aligned to the left. I want the background set for the main image is always show in its entirety on the right side of the browser, while the content on the left scrolls on (or near) the bottom regardless of the amount of content is there.

    I thought I had the solution with the creation of this code in my stylesheet:

    {body

    background-image: url(Jill%20BackgroundKlytemnestra.png);

    background-repeat: no-repeat;

    background-position: 50% 50%;

    display: block;

    -moz-background-size: cover;

    -webkit-background-size: cover;

    background-size: cover;

    height: 1000px;

    background-color: #802536;

    }

    But it doesn't seem to work. The background scrolls with the content.

    The page is:

    www.jillgrovemezzo.com/bio.htm

    Regina

    Add in

    background-attachment: fixed;

    To fix the position of the background image. You also need to change the settings of % of the background to the pixel position so he can sit exactly where you want once you add the attachment setting.

  • Set a background image w / Flash

    Hello-

    Is it possible to set up a background image (repeat or not repetitive) that space scenic floats above.

    When I use the file > publishing settings > HTML > publish - it creates the HTML document but any area outside of the scene is colored with the default phase color - can it be implemented in Flash or changed in HTML?

    Here is a section of the HTML document:

    < body bgcolor = "#ff00ff" > <-it's the current color of the stage in Flash
    <! - url is used in the film - >
    <! - text used in the film - >
    <!-saved from url = (0013) subject: internet->
    < script language = "JavaScript" type = "text/javascript" >
    AC_FL_RunContent)
    'codebase', ' http://download.Macromedia.com/pub/Shockwave/cabs/Flash/Swflash.cab#version=10, 0,0,0 ',
    "width", 100% '.
    "height", 100% '.
    'src', 'krae_pink ',.
    'quality', 'high ',.
    "pluginspage", ' http://www.Adobe.com/go/getflashplayer_fr ',
    "align", "middle",
    'play', 'true ',.
    'loop', 'true ',.
    "scale", "noscale"
    'wmode', 'window ',.
    "devicefont", "false."
    'id', 'krae_pink ',.
    'bgcolor', '#ff00ff', <-it's the current color of the stage in Flash
    'name', 'krae_pink ',.
    'menu', 'true ',.
    'allowFullScreen', 'false. '
    "allowScriptAccess", "sameDomain",.
    'film', 'krae_pink ',.
    "salign", "
    ); end AC code
    < /script >

    Thank you-Ben L

    Yes you can, but flash does not add any background image for you. It only generates the HTML file with the script object incorporation. Then, you will need to add the HTML script to add the background. You will also need to set the SWF object as transparent so that it will be "hover" on the HTML file. Do that by setting the property wmode dipping, code that looks like this: http://www.pastie.org/822998. Or set the window Mode HTML publication to "Transparent Windowless" Settings tab.

  • Set a background Image on Panel by CSS

    Hey guys,.

    I have yet to find a 'decent' tutorial or list examples of external use of the css in combination with a flex application file.
    Although that might be related to me being a node :)
    Anyway, I tried the live docs widely enough I think and even read the pages on css on the Resource Center livedocs thingie.

    So, here's my problem:
    I try to set a certain .jpg I have as a background for ALL my panels in my application.
    So what I try to do is in my .css file I put this:
    Quote:

    Panel {}
    background-image: ' images/camo.jpg ";
    }
  • set a background image for a text box or label?

    Hey gang,

    I would like to put a background image for a text box or label.

    is there a way to do this?

    also if I put the bottom level of the container root and do the rest orders slightly transparent (opacity: 0.8 or something), the background appear through?

    Thank you

    J

    for your text box, define backgroundVisible: false & and/or upgrade the opacity to the low enough that you can see through it and place your background image behind the text box. (I belive opacity changes will affect the text as well).

    for labels, I used the method of the container as you described.

  • How to set a background image in javafx?

    Hello world

    I draw FXML GUI, it includes labels and ProgressBar, load it into JavaFX, it is a code snippet.

    root = FXMLLoader.load (getClass () .getResource ("StartMenuFXML.fxml"));

    Label1 = (label) root. Lookup ("#label");

    Label2 = (label) root. Lookup ("#label");

    progressBar = (ProgressBar) root.lookup ("#ProgressBar");

    scene = new Scene (root, 600, 400);

    stage.setTitle ('start progress");

    Progress p = new Progress();

    p.Start ();

    stage.setScene (scene);

    internship. Show();

    I need to add a background image, so I add the declarations:

    Component GridPane = new GridPane();

    pane.setTitle ("background - fx - image: url ('image1.jpg')");

    and change: scene = new Scene(pane,600,400);

    It can display the background image, but I don't know how to display tags and ProgressBar on the background image.

    Give me a good resolution, please!

    Thank you very much!

    Just do

    root.setStyle("-fx-background-image: url('image1.jpg')");
    

    and use your new Scene call (...) original.

  • set as background image

    Hello

    I imported a picture in the workspace, then the source of the region, I wrote
    < html >
    < background = #ASOCIATIE #test.jpg body >
    < / body >
    < / html >
    but it shows nothing.

    Thank you

    It should be #WORKSPACE_IMAGES #test.jpg

    Make sure the image is downloaded to the components shared-> Images and any selected application and the name of the file is "test.jpg".

  • Why change the background image of the dashboard of data crash the app?

    I'm changing the background image of my dashboard (on a third generation iPad).  Whenever I try to make the change, the data dashobard app breaks down just.  Even if I try to change to a color, the application crashes.  I can insert a picture without problem.  I guess it's just a bug or something but has anyone else seen this problem?

    I was able to reproduce this crash with the following steps:

    -Set up a background image of a page

    -Copy the dashboard somehow. You can reproduce the dashboard, share by email, export and re - import OR clouds, etc.

    -Open the copy of dashboard

    -From the copy, change the background image (for a solid color or another image)

    If you set a background image of a page, close and reopen your dashboard and then try to change the background to something else, you will encounter this error.

    Solution: If you have the original background image in your Camera Roll, you can fall as an image on the same page (Photo Palette, select in the library). Then you can remove this image and change the background also image.

    If you do not have the original image, you may need to start with a new dashboard. (For each page on the old dashboard, you can tap the bottom, select all, copy / paste on another dashboard).

    There is a similar problem with images removed, if you shared the dashboard and you work on a copy. In this case, the solution is to copy and paste the image before deleting. (Otherwise, you'll get a dialog error instead of an accident, but the image is not clear).

    I deposited cars for these issues internally. Sorry for the inconvenience.

  • Background image doesn't show is not in the model

    I created a .dwt that has a background image. When I create a new file from the model that the background image is displayed in the preview in the dialog box new file, but when I open the background image is not there, and if I try to set a background image, it indicates that the background image is not editable. Clues as to what is happening? DW 5.5

    And that's your problem.  It all starts at the Template.dwt level.

    Paths to property should never point to the FILES on your local hard drive that no one can see it but you.

    background-image: url (file:///MacBook Pro/Users/markbau/Desktop /markbau.net/paper_texture.jpg);

    Most likely, the path to the Template.dwt file should be higher than the model default folder a folder.

    URL (.. / paper_texture.jpg);

    Nancy O.

  • How to extract blood vessels of the background image of eye?

    We need extract the blood vessels of a set of background images of eye. We tried the magnetic lasso tool and the quick selection tool, but that doesn't give a very good accuracy and is very long. We have tried to select by color range ships, but that does not work either. We want results like the image. Is it possible to do a relatively good without going through the trouble of tracing along the vessels accurately?

    Query.PNG

    Once replicate you my original result, you can increase the contrast with:

    1 trick image, multiply the value

    2 brush gently and selectively with the Mode set to overlay

    3 fool the image, creating a slightly darker version (end of shadow of the scale through curves) and then retrieve only this darker part of the scale using the mixture if control and not affecting is not the end of the highest point of the scale.

    It will produce a result similar to this:

    Good luck.

  • Change the background image on a page only.

    Hello

    I have a CSS rule for my maincontent which sets its background image.  This image works fine for each exempt page one where he faces visually with the content.  I want to create a new .jpg and Exchange on this page only.  My maincontent has several other CSS rules that I want to stay intact.

    Simple enough, I guess.

    Thank you!

    Gary

    Two ways to do it.

    (1) add a style to your page (in the main head AFTER the link to the css file) like this:

    (2) to the body of a page adds an id like this:

    And then, in your main css file add the following:

    #specialpage #maincontent {background-color: ;}}

    Hope that helps

    --

    E. Michael Brandt
    
    www.divahtml.comwww.divahtml.com/products/scripts_dreamweaver_extensions.phpStandards-compliant scripts and Dreamweaver Extensions
    
    www.valleywebdesigns.com/vwd_Vdw.aspJustSo PictureWindowJustSo PhotoAlbum, et alia
    
    --
    
  • Background image

    I'm trying to set a background image for my office. I have 2 problems. 1. sometimes when I select the image I want that it does not appear in the images available to choose from and it allows me to apply it to the desktop, 2. If I can get it not let me apply it (which isn't often), it only appears for about 5 minutes then goes away. Help, please!

    Try the following and see if it helps:

    Open the image by clicking right on-> open with-> Windows Picture and Fax Viewer

    Then click the icon for the drive down.  A 'Copy To' window opens.  Change "Save as type" "BMP", click the "Desktop" icon to the left, then click "Save".  A copy of the file with an extension of .bmp file should appear on your desktop.

    Then copy/drag the .bmp file in the C:\Windows folder.

    It should now appear as one of the standard choice when paper changing desktop wallpaper.  Sometimes Windows works better with .bmp files.

    HTH,
    JW

  • Background image for ApplicationControlBar

    Hello
    Forgive my English and his accent, it's a little urgent.
    I need to set a background image for an applicationContolBar with css and css only (an external style sheet file)
    I tried several ways but no use... is this possible?
    Help, please...

    sharat87

    Well Yes, it may... but in any case, I guess I just find a solution to my problem... I'm posting here in the hope that it could help someone :D
    instead use background-image or backgroundImage properties, use:
    borderSkin: Embed (source = "bg.png");

    Bingo!

  • Background image for a scene in JavaFX2.0

    Hi all

    I am new to JavaFX2.0 and need to know how to set a background image for a scene.

    Thanks in advance.

    Hello
    Here is an simple example:

    bgTest.CSS

    .root {
        -fx-background-image: url("mybg.jpg");
    }
    

    BackgroundImage.java

    package playground;
    
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.layout.StackPane;
    
    import javafx.stage.Stage;
    
    public class BackgroundImage extends Application {
    
        StackPane root;
        Scene scene;
        Button button;
    
        public static void main(String[] args) {
            launch(BackgroundImage.class, args);
        }
    
        @Override
        public void start(Stage stage) throws Exception {
            stage.setTitle("Custom Background Test");
            button = new Button("test");
    
            root = new StackPane();
            root.getStyleClass().add("root");
            root.getChildren().addAll(button);
    
            scene = new Scene(root, 600, 600);
            scene.getStylesheets().add(BackgroundImage.class.getResource("bgtest.css").toExternalForm());
            stage.setScene(scene);
            stage.centerOnScreen();
            stage.setVisible(true);
        }
    }
    

Maybe you are looking for

  • order of playlist file

    I have a problem with the order of my folders in playlist in iTunes. Currently, they are in alphabetical order, each containing several playlists. But after selecting a playlist folder, it passes immediately to the foot of the playlist files, so out

  • Text in Xnodes recovery

    Hello Background Using Labview 2010, but willing to spend in 2011 if it has the solution. I am currently working on a code to go through a VI and check all text for certain keywords. However, I can't catch any Xnodes text. It is my understanding that

  • Parameters of the CVI

    Hi all, we are updating internal network in my office by creating a new dominion, so my PC user must be migrated on the new dominion; because in fact, it will become a new user, I wouldn't loose al settings and customizations I did to the CVI IDEs (m

  • How can I cancel my hotmail ACC.

    I don't want to have hotmail ACC. In addition. How can I cancel my hotmail ACC.

  • BlackBerry Smartphones Bluetooth 9530 drivers and Vista Ultimate?

    When I try to associate my Storm with my win Vista machine, I get an error message asking the Bluetooth driver for the phone. I tried the installation disk supplied with the phone, but it was not found there.  I have not found on site RIM ether Any s