Graphics.getScreenWidth () and the height is obsolete

I use a recipe of screen scrolling and methods

Graphics. getScreenWidth () and Graphics.getScreenHeight are deprecated.  Does anyone know an updated version of these methods?

Thank you

Scientist

net.rim.device.api.system.Display.getWidth () and getHeight() are the recommended way to do it now.

Note that the view class requires the signature - when I needed this information and wanted to quickly test something at home, I used the obsolete (but not requiring not signature) graphics... methods and then replaced by display... methods to work.

Tags: BlackBerry Developers

Similar Questions

  • Windows Vista does not recognize the graphics card and the broadband

    Original title: recognize the graphics card and the broadband connection

    Windows vista can't recognize the graphics card and the broadband connection in the Dell laptop

    Hi mfadhelmu,

    1. When did you start to question?

    2. you remember to make changes to the computer before this problem?

    3. you receive messages or error codes?

    4. have you updated all device drivers?

    You can try to launch the Fixit and see if it helps:

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/

    Hope this information is useful.

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

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I have a box and the height of the header is to increase. How to do this?

    Mr President.

    My worm jdev is 12.1.3.0.

    I have a box and the height of the header is to increase. How to do this?

    query by example.png

    Concerning

    Tender,

    Do you have this still works?

    If not, jut removes type = "stretch".

    It should work.

    It should be something like

    
                                
                                
                                    
                                    
                                    
                                
                            
    

    Please let us know how you go.

    See you soon

    AJ

  • Im doing a sensitive web page and the height of my divs match, even if I did the math! No idea why?

    Im doing a sensitive web page and the height of my divs match, even if I did the math! No idea why? I have a rectangle of 100% with screen (1260px) with a square that represents 49% of the rectangle, with 2% margin on the right. Then the other half there is room who do the same size of the largest square with bottom margin and right, as appropriate. Yet looks like this in the browser! No idea why they do not align?Screen Shot 2014-10-31 at 14.48.00.png

    Don't worry thereon, as soon as I posted I worked out how to do it!... Typical! I had somehow reduced the padding inside the small images! Thanks nevertheless!

  • This computer has an add-in graphics card and the monitor cable is plugged into the integrated video connector.

    I tried to connect a new TV to my 8700 with HDMI and I get this message:

    This computer has an add-in graphics card and the monitor cable is plugged into the integrated video connector.

    1. power off the computer
    2. plug the cable from the monitor into the graphics add-in card connector. This may require a video card or the video adapter cable.
    3. turn on the computer

    I unplugged from the back of the computer and put it in my drive macbook & blu - ray. Both worked.

    I tried to find a solution to this already, but none really helped.

    Thank you.

    You need a video card, not the port on your computer HDMI connection:

  • Qosmio G40-127 - the graphics card and the screen Tower freezer

    Hello.

    I have a Toshiba Qosmio G40-127 and I have a problem with the graphics card, this freezer and the Tower of the screen for 1-2 seconds sometimes when I play World of warcraft
    Why is it like this and y at - it of updates for my graphic driver?

    The same happens when you use your laptop to watch TV or other usual stuff (internet, office)?

  • Qosmio X 300 - 14 p: problems of graphics card and the vertical stripes on the screen

    Hello

    2 days, after a long session laptop in many hours a lot, all of a sudden after the game for 2 hours
    Patrician 4 addon, it crushed in a strange and never seen before in a way:

    The screen would show the strange and weird color under all its forms rushing on ther display. You can't recognize anything, and after a few seconds of this screen and the x 300 - 14 p completely froze / crashed (hung - no reaction on anything except power plug pull or pressure on the button 5 seconds walk / stop ther).

    I was scared because it looked like to me a serious problem of graphics (nvidia chip) card or display.

    I was hoping it was because of the heat (even if I have a powerful block of cooling below the laptop and the heat shouldn't be a problem).

    Next day (yesterday), I launched the game immediately after the start, and after a few seconds the same crash appeared again with the same strange video glitches (never seen anything strange like this before).

    I immediately made the 5 second power button press reset. and then, when the first splash screen appears (the bios display indicator and the loading/splash screen), there was like 2-7 white stripes vertical (on black background) on the right side of the screen.
    They would not move or go away.

    I immediately turned off the laptop and it is off since then.

    For me this looks really serious, as if each chip nvidia (Geforce 9800 GTX) is broken or the display.

    Someone knows something about it?
    Everyone knows about this problem?
    Who knows more?

    I know, I can now connect an external monitor.
    If there is no problem, this should mean that it is a x 300 display problem

    If the problem also appears on the external monitor, the nvidia gpu chip. At least that would be my guess.

    Anyone have an idea about it, what it might be and what I could do?

    (I'm afraid to send him only the x 300 in to toshiba for fixing is not worth, because it's quite old)
    (it was purchased new in June 2009). fixing, it is probably too expensive.

    Any ideas on HCet problem?
    I've never had before.
    Who can help?

    Thank you

    PS:
    I was thinlking to buy the new qosmio X 870, but I just saw that there is no express card slot, I need for different expansion modules (like the tv and video equipment, more etc.pp cards e-sata).

    Without an express card slot I would not buy any laptop computer, I need urgently this slot machine (it's like a pci-express slot card connection in a desktop pc).

    For me the express card slot is vital.
    Never saw so many bad books.

    If io may need my x 300 for quite awhile,
    But what I would do abpout this weird new chip/video display problem?

    Hello

    I agree with you that it looks like a GPU problem.
    This means that it is the worst case, because in most cases the motherboard needs to be replaced
    Even if the GPU would be replaceable, this piece would be very expensive
    However, you can get in touch with a local ASP from Toshiba and can ask how it is

    Good luck

  • Problem with TextArea htmlText and the height/num lines

    I am trying to create a text box showing the code html and auto sizes the height so that there is no scroll bar. I got this works with the .text property, although when using.htmlText, the values returned are broadly. Assuming that 'field' is in the text box, I use the following coding:

    var nlines:int is field.mx_internal::getTextField (.numLines);.

    And then to get the height of each line (assuming that I is the index of the line):

    var lineHeight:int is field.mx_internal::getTextField () .getLineMetrics (i) .height;.

    When you do it with .text, it works fine. The presentation of html in the TextArea, my value "nLigne" (the number of rows in the TextArea) return very high values. It seems as if numlinesrequired returns the amount of lines that the TextArea component would be if she didn't analyze the HTML code.

    What can I do to get the real value of numlinesrequired when you use htmlText? Thank you

    I saw numlinesrequired wrong until after rendering.  We use a callLater to get after.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • Satellite Pro M70: upgrade graphics card and the disk is not in 'my computer '.

    Hello

    I have the M70. and is it possible that I can up grade the grafix chip? becuse I like to play games on the move... and im at the end of half-life 2 and also it keeps Freezin' and its very slow! -anyyone help with this?

    and

    I have no hard drive... I go to 'My computer' and its only one hard drive and emulation 2 readers... im another lack... could I have help please [screenshot attached!] - "http://i18.photobucket.com/albums/b140/noodle666/NoDiskDrive.jpg".

    Thank you

    Hello

    1.) No, it is not possible to update the graphics card.

    2.) you have installed several other applications (disk emulation software) which may have a negative influence on the player display. But I found some info that might help you:
    http://support.Microsoft.com/default.aspx?scid=kb;en-us;320553

  • My computer freezes when playing mass effect, I changed graphics cards and the game lasted 2 hours of game, then it froze again.

    It's a pc zoostorm, with 2 9800gt graphics cards, it should be able to support these games however at random intervals the pc would freeze with no error message.

    I have:
    -graphics cards to switch
    -updated from xp to vista
    -a got the update for directx
    -downloaded all the drivers from nvidia, even if I get an audio download that says it cannot find compatible devices when you search for the motherboard.

    Hello

    Just that your graphics card does not support the game. Try to update the drivers for your graphics card, it will work.
     
    Also try to reduce the check and accerelation of material:

    http://support.Microsoft.com/kb/263039

  • Graphics driver and the/3 GB switch on x 61

    Hello

    I use Windows XP (32 bit) and after I installed an upgrade 2GB bought recently (bringing the total to 4 GB), I added the switch/3 GB to the boot.ini file so that the system to recognize fully the RAM installed. The problem as a result of applying the switch is that the system will not load the graphics driver. Apparently, this is a known issue with some drivers as details by MS here - http://support.microsoft.com/kb/319043.

    Unfortunately MS's proposed solution is to install at least service pack 1 - XP SP2 installed so I the assumption would be that it I wouldn't have this problem. MS also suggest playing with / USERVA = xxxx switch - I tried at least 6 different settings (between 2700 and 2900) but in vain.

    All installed additional memory in a XP 32 bit x 61 and applied the switch / GB £? Or does anyone have any suggestions of something else I could try to make this work?

    Thanks in advance for your suggestions

    Paul

    Hi pmc101 and welcome to the Lenovo user community!

    You need a 64 bit OS to use all 4 GB.

    Windows/3 GB switch increases the virtual address that individual applications space accessed from 2 GB to 3 GB. It does not your X 61 to use more than 3 GB.

    For more information on the 3 GB limit, start this community FAQ.

  • Upgrade the graphics card and the power supply on a Pavilion p6823w - compatibility?

    Hello, everyone! After purchasing my HP not too long ago, I decided that I wanted to get updates for it. I intend to turn it into a computer game later, but for now I start small.

    I'm still a little wet behind the ears when it comes to computer hardware, so I would greatly appreciate any input on my decisions for improvement - especially if my power supply and graphics card will adapt and be compatible or if the marks are bad.

    Graphics card:

    PowerColor Radeon HD 6850 1 GB

    http://www.Newegg.com/product/product.aspx?item=N82E16814131374

    POWER SUPPLY:

    Corsair 500W CX500

    http://www.Newegg.com/product/product.aspx?item=N82E16817139027

    Here is the specific computer I have, for reference:

    http://h20000.www2.HP.com/bizsupport/TechSupport/document.jsp?lang=es&CC=ve&TaskID=120&prodSeriesId=...

    Thanks in advance!

    Hello

    I don't foresee any problems with your choices.

    Relatives on the slot PCI-E x 16 must be vacant.  Examine the characteristics of the motherboard.

    These "how-to" HP articles should be useful.

    TIP: Unlock and slide the optical drive forward before you remove and install the power supply. This helps facilitate the removal and installation of the power supply, but it is not mandatory.

  • Quick question: what is the difference between graphic elements and the movie?

    What is the difference between the two symbols: graphics and movie clips? They both contain frames... ?

    video clips can be

    instance names: so they can be ordered through actionscript

    applied filters: drop shadow, glow, blur, color adjust etc.

    applied of blending modes: difference, screen, lighten, Darken, etc..

    3D transformations

    graphics card:

    None of the above

    the practical reason only to use a graph is the reason jdehaan said. an internal animation graphics can be rubbed through the main storyline. graphics will move forward only when the main scenario for advances. When the main timeline stops... Graph stops.

    clips on the otherhand are supposed to run independent of the main timeline. so you can have a timeline of the HAND with a single frame and inner movieclip animation will work constantly.

    also, via the properties panel, you can tell a graphic to get stuck on a certain range or a set number of times in a loop.

    Always use some movieclips unless you have a reason not too. as kglad said it will save you and other very difficult in the future.

  • float and the height of the div

    Hello Webwarriors,

    I'm working on a site: link

    Inside the 'mainContent' div a div 'imagebox' who has some pictures inside there. This will later become a gallery/slideshow thing.

    This imagebox is launched to the left.

    The right of the element comes from the text, where you see the topic 2, followed by the dummy text Lorem Ipsum now.

    I want that white background of this text, which is white, to be always the entire height of the imagebox div no matter what size it is.

    If white background should always extend until the footer, and if the text should become longer the footer should go down.

    What Miss me?

    EagerBob wrote:

    Hello Webwarriors,

    I'm working on a site: link

    Inside the 'mainContent' div a div 'imagebox' who has some pictures inside there. This will later become a gallery/slideshow thing.

    This imagebox is launched to the left.

    The right of the element comes from the text, where you see the topic 2, followed by the dummy text Lorem Ipsum now.

    I want that white background of this text, which is white, to be always the entire height of the imagebox div no matter what size it is.

    If white background should always extend until the footer, and if the text should become longer the footer should go down.

    What Miss me?

    Add overflow: hidden; the "mainContent" css selector and background color: #FC0; so you can see the effect (see below). Then change the background color for what is needed.

    {.twoColFixLtHdr #mainContent
    margin: 0 0 0 144px;
    overflow: hidden;
    background-color: #FC0;
    }

  • Implementation of the same width and the height of the Panel?

    Y at - it an easy way to set the width and height of an application < mx:Application > to the same width and height as the Panel <mx:Panel>. Whenever I try, I get scroll bars. It seems that there is a margin or padding built into Flex even if it is not listed in the css file. Any help or a point in the right direction would be very useful. Thank you!

    I think so:

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

Maybe you are looking for

  • Error - 12 during the construction of facility LV2012

    When I Isaiah to compile a setup in the menu project I get immediately error - 12. (see attachment) This has happened on several different projects. I can make one. EXE, file Zip and distribution build but not Installer. I read the "why my Distributi

  • Problem in creating project of blackberry using svn with eclipse

    I try to import BlackBerry code in Eclipse, svn. It is not verified as a project, so I'm the control using the new project wizard. Unfortunately, it doesn't give me an empty project. How can I get around this? Microsoft Windos XP Eclipse 3.4.1 JDE 4.

  • site to site

    We have 3 routers A and B on a site and C on the remote end. I have a tunnel upward and labor between B and c. but I need C to access subnets on A. Forgive my inexperience in this part. I thought that all I'd need to do was to have static routes on B

  • How to change the properties of the image?

    Windows XP I was able to open the properties of a photo in Windows Explorer and add comments, which became visible as the Description of Microsoft Office Picture Manager or in the context menu by positioning the mouse on the file in Windows Explorer.

  • HP pavilion dv6 drive hard test failure

    Failure ID: 6CVLG8 - 5KL 702 - XD0141 - 60RE03 Please help identify the error.