Culture / stretching to screen Resollution

Hi all!

Can a blackberry Application be skinned If Yes, please can you explain to me how?

If I want to add a "wallpaper" to my application how can I be sure that it fits all the blackberry screen Resollutions? Y at - it a Code which crop or stretch the image for this or do I have to create an App for each screen Resollution for Blackberry?

I looked on the forum but have not found the answers to my questions. Help, please.

What you do is you create an Image that is as large as the bb more big resolution, then the image is automatically cut off.

The code I used to add a background image (which adds the Image behind all fields).

com of the packaging. Images;

Import net.rim.device.api.system.Bitmap;
Import net.rim.device.api.system.Display;
Import net.rim.device.api.ui.Graphics;
Import net.rim.device.api.ui.Manager;

Import net.rim.device.api.ui.container.MainScreen;
Import net.rim.device.api.ui.container.VerticalFieldManager;

/ public final class TestScreen extends screen
{
Private VerticalFieldManager mainManager;
Private VerticalFieldManager subManager;
private bitmap _backgroundBitmap = Bitmap.getBitmapResource
("12814463558610.png");
private int deviceWidth = Display.getWidth ();
private int deviceHeight = Display.getHeight ();

public TestScreen() {}
Super (NO_VERTICAL_SCROLL);
mainManager = new VerticalFieldManager)
Manager.NO_VERTICAL_SCROLL |
Manager.NO_VERTICAL_SCROLLBAR) {}
public void paint (Graphics graphics)
{
Graphics.Clear;
graphics.drawBitmap (0, 0, deviceWidth,
deviceHeight, _backgroundBitmap, 0, 0);
Super.Paint (Graphics);
}
};

subManager = new VerticalFieldManager(Manager.VERTICAL_SCROLL |) Manager.VERTICAL_SCROLLBAR) {}
protected void sublayout (int maxWidth, maxHeight int) {}
int displayWidth = deviceWidth;
int displayHeight = deviceHeight;

Super.sublayout (displayWidth, displayHeight);
setExtent (displayWidth, displayHeight);
}
};

mainManager.add (subManager);

This.Add (mainManager);
}
}

Worked for me

Tags: BlackBerry Developers

Similar Questions

  • Warp stabilizer cultures clip off screen - help!

    Adobe Premiere Pro CC - last updated.

    When I apply the stabilizing effect of Warp, it cultures / moves the clip almost completely off the screen in the preview window. He also stays that way when I export.

    I'm downloading sequences dslr with these properties:

    Path: / Users/Braedin/Desktop/Banff trip/Friday/MVI_9850.MOV

    Type: MPEG Movie

    File size: 52.5 MB

    Image size: 1280 x 720

    Frame rate: 59.94

    Audio Format: 48000 Hz - 16-bit - stereo

    Project Audio Format: 48000 Hz - 32 bit floating point - stereo

    Total time: 00:00:10:03

    Pixel format: 1.0

    I then slow down footage to 40% for a look of 24 frames per second (60 fps in the original)

    I then 'nest' images in order to apply the stabilizing effect of Warp.

    This is what it looks like without a stabilizer of the string:

    Screen Shot 2014-10-14 at 1.57.49 PM.png

    This is what looks like after application of stabilizer in the chain and make the clip:

    Screen Shot 2014-10-14 at 1.58.21 PM.png

    These are the properties of the "Nested" clip with stabilizer Warp:

    Nested sequence 03

    1280 x 720

    00; 00; 04 22, 59,94 frames per second

    48000 Hz - Stereo

    Finally, here is my current settings for the sequence in which I have the question:

    Screen Shot 2014-10-14 at 2.04.28 PM.png

    Any help would be greatly appreciated as I suspect his problem with the configuration of the sequence.

    Thank you

    Braedin

    Hello

    Please try to switch the software rendering engine mode, so, go to the Menu file > project settings > General and change the software rendering option engine only mode.

    Kind regards

    Vinay

  • ADJUST THE SIZE OF THE SCREEN LOOKS A

    Currently, my display screen is not in line with the size of the computer screen. There is an inch of black on each side of the display area. Using the browser to stretch the screen does not work.

    Ralph

    This could be a hardware problem (e.g., your monitor may not be completed its display area).

    Try to use the controls of your monitor to expand the display area.

  • Scalling v3 - 372 screen Acer problem

    Hey, I recently bought an Acer laptop of v3 - 372 without OS pre-installed, and I installed windows 10, then the drivers from the acer site. The problem I am facing is when played the old games like Heroes 3, which is launched in resolution 800 x 600 - instead of the image being stretched full-screen, I have two black bars on the sides of the screen. I tried to change settings in the Intel HD graphics Panel, but this does not help, any ideas on how to solve it?

    Hello

    Unfortunately the driver "recommended manufacturer" cannot be simply replaced.

    Please read the solution in this topic:

    http://community.Acer.com/T5/V-and-VN-series-laptops/VN7-591G-latest-driver-2016/m-p/434317#M10190

    And follow the instructions from the third stage.

  • Unable to get the screen of the internet to cover the entire screen, so cannot enlarge or reduce the size of the toolbar please help.

    No problems with the laptop itself but when get online cannot get all of the coming internet screen it is an empty space on one side and at the top of the screen saver.  Help, please. Thank you /

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    No problems with the laptop itself but when get online cannot get all of the coming internet screen it is an empty space on one side and at the top of the screen saver.  Help, please. Thank you /

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Drag your pointer to the edge and look for the up-down arrows change, then use the mouse to stretch the screen on board.

  • Pushing a screens poping

    OK, I have an app that launches a wallpaper with several buttons, when a button is clicked, I need to push the new screen. But my screen stretches the screen and you can only push and pop with UiApplication. So, how is?

    Ty for your time...

    You can also use

    this.close()
    

    instead of using pop.

  • video covers all the screen

    Hello

    I downloaded a video clip (MP4 360 p) from Youtube

    When I change in pre 10, her height is OK, but the width is too small and so left and right there are black vertical bands. Magnification is set to 'Fit '. If I put a magnification of 75% or 100%, then the video covers the entire screen, but at the expense of resolution.

    is there a way to stretch the screen width while leaving the height the same?

    What is your setting of PrE 10 project?

    What are pixels x dimensions in pixels of this video from YouTube? If you do not know, you should be able to find that in pre with Rt-click > properties in the project Panel, or you can run this video through G-Spot, or MediaInfo (both free of the folder info utility).

    The black stripes are a sign of a mismatch between your Source of the layer (the YouTube video) footage, and the setting of the project frame size.

    Good luck

    Hunt

  • screen text - seems to be stretched horizontally

    My screen text seems to have stretched horizontally... dunno what I did

    Hello

    · What is the operating system installed on the computer?

    · Were there any changes made on the computer before the show?

    Try the methods below:

    Method 1:

    Check the settings of the screen using the buttons on the monitor.

    Method 2:

    Check the resolution of the screen, you can see the link below for the procedure: change your screen resolution: http://windows.microsoft.com/en-AU/windows7/Change-your-screen-resolution

  • objects and text on the screen appear to be "stretched" horizontally.

    all objects and images on the screen seem to be "stretched" horizontally with all applications and web sites.  A good example is a picture of someone... the normal image is large and thin person... on my screen, they appear to be shorter and wider... lol

    find manual for my screen... it is AOC model 2219V1.  As I have explained, I tried to change the resolution.  When I change the resolution on my side of the computer, then my husbands is affected.   There is something that I realized that I can't re-create or find...  You have any other suggestions... Thanks for your help.   What would happen if I reload windows software... do you think all the settings back to the original settings?  If I reload windows, will I lose the documents and files on my computer?

    I do not see where you said you tried to change the resolution.  You have changed the DPI, but it's different than to change the resolution (although can be connected to ALSO change the resolution.)

    The resolution is not independent - that is when you change the resolution of the screen of the user, it is on this size for all users of the computer.  Your original problem was:

    all objects and images on the screen seem to be "stretched" horizontally with all applications and web sites.  A good example is a picture of someone... the normal image is large and thin person... on my screen, they appear to be shorter and wider... lol

    This means that you are using a large non-ecran on a screen resolution and screen is allowing it to fill the entire screen.

    You say you have the AOC 2219V1 monitor)<-- linked="" to="" there)="" and="" according="" to="" the="" specifications="" on="" that="" web="" page,="" the="" resolution="" you="" want="" to="" set="" the="" monitor="" at="" is:="" 1680="" x="" 1050="" @="">

    So, in your case, if you have the correct driver for your video card installed * and * says video card supports widescreen resolutions (what is a new monitor?) then you should...

    1.

    Open display in Control Panel.

    2.

    On the tab settings in the screen resolution, drag the slider to the right until it shows the parameters of selection to 1680 x 1050, and then click apply.

    3.

    When you are prompted to apply the settings, click OK. Your screen becomes black for a moment.

    4.

    Once your screen resolution changes, you have 15 seconds to confirm the change. Click Yes to confirm the change. Click No or do nothing to return to your previous configuration.

    Now - if you do not have the choice of 1680 x 1050, it is a new monitor and you have the latest driver for your video - card, then probably your video card was not made to support screen widescreen resolutions.

  • bought a bigger screen & screen is stretched. How can I make it smaller?

    bought a bigger screen & screen is stretched.  How can I make it smaller?

    Hello

    I suggest you to adjust the screen resolution.

    Here is the link:

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/display_change_screen_resolution.mspx?mfr=true

  • How can I get two jobs when using two monitors, instead of stretching a desktop on both screens?

    Hello!

    How can I get two jobs when using two monitors, instead of stretching a desktop on both screens? I n ' want to clone my office, and I don't want to stretch it. I want two desktop computers, where I can "send/give" to the other desktop programs.

    I need a third party program? It is very good. If you know one please tell me about it.

    Hi OskarKvist,

    This feature is not supported by Windows XP.

    However, you can use your favorite search engine to download any third-party software that could serve the purpose.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Hope the helps of information.

  • My screen is stretched and I want that it is normal

    My screen has somehow stretched so everything is distorted. It just happened; How can I get it back to normal

    My screen has somehow stretched so everything is distorted. It just happened; How can I get it back to normal

    Change the resolution of your screen to the one appropriate for your brand & model of monitor.

  • How can I fix a screen stretched?

    A couple of months ago (spring 2011) my screen went suddenly stretched horizontally (or compressed vertically, if you prefer). How should I do? Please be as simple as possible.

    Maybe you need to adjust your screen resolution:

    Windows Vista - change the screen resolution
    http://Windows.Microsoft.com/en-us/Windows-Vista/change-screen-resolution

    Get the best display on your monitor
    http://Windows.Microsoft.com/en-us/Windows-Vista/getting-the-best-display-on-your-monitor

  • my screen is stretched, how do I return it to how it was

    my screen is stretched, how do I return it to how it was

    Hello

    If a desktop there should be a reset button auto on the monitor

    and if this does not work, try this:

    try going to your graphic card manufacturers site or computer and are looking for the driver download section

    Search your computer or graphics card model number based on what you have and download and install the latest graphics drivers for vista

    then try to make the screen of solution of problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-screen-resolution

  • My screen is stretched horizontally...

    Hello!

    My screen is stretched horizintaly... I tried to change the pixels, but it will then get more wide.

    Can I do to solve this problem?

    Please help me soon! I'm in the middle of my exams and I need my computer to look ok...

    Hello

    Horizontal control of your screen is turned off or you are using a screen on a standard monitor resolution.

    Using the controls of the monitor on the screen itself, try to reduce the horizontal display, so that it fits on the screen.

    If it's not her, then go to the settings/display/personalization in the control panel and adjust the slider to resolution one that best fits your screen.

    Good luck, Rick Rogers, aka "Crazy" - Microsoft MVP http://mvp.support.microsoft.com Windows help - www.rickrogers.org

Maybe you are looking for

  • Keychain, iCloud + problems of Photos on MBPro since changed password and password set firmware

    Hello I recently changed the password for the connection on my main account on my MBPro and added a firmware password, but that doesn't seem to work properly: whenever I reboot Keychain keeps asking me to access the local keychain and all iCloud apps

  • E3000 connects to Windows 7

    My network configuration is simple.  2 computer cable and a laptop computer.  I bought a wireless E3000 router, connected to a wired for XP computer and configured the router with no problems.  Then, I created a simple setup key and plugged the compu

  • Error 401 during the passage of the assessment of the production environment

    Hello We recently moved our application for assessment of the production environment by using the credentials provided by the Push of BB Services, only to find out that we receive an "HTTP 401 - PushServiceId/password status invalid in the authorizat

  • View Keep-Alive in stunts

    Hey all,. Just finished my first approx. Cascades loves it! The only thing I'm always looking for is a way to keep the view while some things are spend in my application (an animation playing). Is there a way to (temporarily) tell the device to not p

  • SPA-2100 continues to Flash.

    Hi all After receiving the SPA-2100, I have a problem with it. SPA-2100 more return as ATA. He seems to be in this stadium and never comes out: Slow flashing (0.5 sec ON, continues to 0.5 s OFF) Initialization of the system; only occurs at the start