Get the size of the screen without the use of DIsplay()

Hello

Is it possible to get screen width (or indeed any dimesion) without the use of Display.getWidth ()?

I am trying to create a demo application that doesn't require code signing.

I know that the code is now free to sign, but this is not the point in this case...

Thank you!

I managed to solve my problem by using:

Graphics.getScreenWidth)

and ignoring the notification "deprecated code" in Eclipse.

Your link in combination with this post helped me to find a solution.

Thanks for your help Simon!

Tags: BlackBerry Developers

Similar Questions

  • Qosmio G20 - could not get the video to display on the LCD screen

    I have a laptop Toshiba Qosmio G20, running Windows XP MCE.

    The DVD player on board isn't sounds very well so I thought I would plug an external DVD drive to expand its use. After a lot of internet research, I finally found how to do this. Here's my setup.

    Using the monitor port I used the adapter 3 RCA jacks. (There is no S-video on the DVD drive and an adapter did not work). I finally discovered that in order to get the image on the screen, I have to use Fn + 4. Now, here's where I'm having the problem. I can't get the video to display on my external LCD. FN + 5 didn't do. The monitor is an I - inc AH191D and is connected by VGA cable. There is no driver other than the one for the VISTA operating system... That is why it is not anywhere in the Device Manager.
    Here are the settings I use in order to have all that shows on my desk, shows on the monitor.

    In Control Panel open to the screen. Properties
    Number chosen 1 - multiple monitors GeForce Go6600 video card...
    Advanced under
    the GeForce G06600 tab,
    nViewDisplay Mode: clone 1 a 1 b
    The main screen: digital flat screen
    Secondary display: AH191

    I also tried using the properties of controls on Toshiba. He says under TV output TV output but gives options of the program, but I don't know what I would use. Any ideas out there?

    Wait I'm confused, if you try to send the output of your external DVD drive in the laptop, and then display the image on an external monitor attached to laptop?

    If you use the DVD player on your laptop, it will be good quality S-video as a signal of low resolution.

    Is there something wrong with the DVD player?

    If it's just the DVD software you don't like, you can download other DVD players. PowerDVD is excellent, its better than WinDVD and other players in my opinion.

  • Windows 10 question - can't get the desktop to display

    Hello.

    I have recently upgraded to windows 10 and since restarting (repeatedly) cannot get the desktop to display. boot screen, login screen and screen saver, everything works perfectly.

    Can someone tell me what I can do for my screen working again?

    Thanks in advance.

    Start in safe mode and disable the lock screen.

  • How to get the use of memoery of an individual application

    Hello

    Now, I'm developing an application like a task manager. And I looked through the api system, but I have not found any api

    who can get the use of memoery to an individual application. Is there an API for it? Such as what is being implemented in

    system management applications since OS6 that we can see the CPU usage and the use of memoery to applications.

    Anyone know who?

    Another question, applications storage which will be an application is just the size of the cod files, is that correct?

    Advanced thanks.

    Welcome on the support forums.

    There is no api for this. everything that is used in the options, it is not available to us.

  • How to get the icons to display correctly in the Finder?

    At the time of the "classic" Mac OS, if the icons are not correctly display in the Finder, we could 'rebuild the desktop file' to correct the problem. I've recently updated to Yosemite, and most things work well, but for some reason, most of the files in the Finder .webloc now show as blank icons (but not all; a few show the correct icon). There is no model, I can see: some very old .webloc files now show a white icon (where I know that their icons used to be correct), while the most recent show the icon of correct - although I just created four (by dragging the URL of the Safari, the usual method) which are all empty. Sometimes they appear with the older icon, with the symbol @ (although those who seem to have changed vacuum after running and restart maintenance). I tried from an external disk, repair permissions and repair the file system, as well as cleaning with the utility of Maintenance (which clears the web browser and other caches), nothing works. Does anyone know how to get the computer to display these icons correctly?

    May be a corrupt .plist.

    Make a backup, preferably 2 backups on 2 separate drives.

    Go to Finder and select your user folder. With this Finder window as the windshield, select Finder/display/display options for presenting or order - J.  When the display options opens, check "show the library folder. This should make your visible user library folder in your user folder.  Select the library. Then go to Preferences/com.apple.finder.plist and com.apple.desktop.plist.  Move the .plists on your desktop.

    Relaunch the Finder by restarting the computer and test. If it works fine, delete the plists from the desktop.

    If the same, return the .plists to where you obtained since, by crushing the latest.

    Thanks to leonie for certain information contained in this.

  • How to get the icon to display for a Midlet app?


    Does anyone know how can I fix? It's all over on my application with the exception of the icon. It is ready for release, but the icon does not appear. I tried for a week now get the icon to display.

  • I bought the Adobe Photoshop classroom in a book for CS6 by chance and I CC. I know, stupid mistake. But I can't take back the book. Is is quite similar to CC I can always get the use of the book? Thank you very much

    I bought the Adobe Photoshop classroom in a book for CS6 by chance and I CC. I know, stupid mistake. But I can't take back the book. Is is quite similar to CC I can always get the use of the book? Thank you very much

    Each version of Adobe products is based on the previous ones.  Some things like filters and advanced features may change or become obsolete over time, but the basic tools remained much the same for decades.  As long as you know there are subtle differences between the versions, I think that you will always get a large part of the value of C to a and B for CS6.

    Also see the tutorials online CC

    Tutorials Photoshop CC | Learn how to use Photoshop CC

    Learn Photoshop CC | Adobe TV

    Nancy O.

  • How to get the Panel to display thumbnails of the boundaries of the layer instead of document of toentire relative size?

    There is an option for this, but it only partially works... and I was wondering if there is something else I'm supposed to know about to make the feature work as described...?

    I can activate the option to display thumbnails... transmission in works for the bitmap stuff.  None of my vector masks are shown in the size of their layer.  (Note - I layer in the form of transparency disabled - which means that the layer is shaped by the vector mask and not any content.)  It is verifiable by checking the option to display the boundaries of the layer).

    Yet, when I do this, it's obvious on the biggest screen (if the boundaries of the layer are displayed), than the vector contains the complete layerBut in the thumbnail, I often can't even the shape of all , not very useful.

    So what don't understand me?  How can I get thumbnails of vector to display the size of their layer?

    Thank you!

    I think it is supposed to work this way - vector layers are basically always full document size and the path determines only the pixelation and the visibility of the content based on the rule of filling in the path box. Don't say that there could be no way to determine the bounding box on the fly and use it for the thumbnails does not, but I do not know there is a certain reasoning / logic for this behavior. I guess it is also a matter of preference - in Illustrator, it's like that and it makes me crazy, because we never see where the substance is compared to the artboard.

    Mylenium

  • When a link is clicked, the results go to download file; How can I get the results to display on my screen?

    When you click on a link in our Web site, PDF results go to my download folder. To view my PDF results, I am required to go to my Adobe Reader and open the corresponding PDF file. It would be great if I could just view the PDF on the screen without having to go to Adobe Reader (version 10.1.4). Thank you for any help or advice on this issue.

    Hello

    Check your PDF settings to:

    • Tools (or

      ) > Options > Applications

    It could be set to 'Save', change it to 'Preview in Firefox' or any other solution of your choice.

    Let us know if that solves your problem!

  • How to get the image to display on the Blackberry screen URL

    Hi all

    I'm setting up a Blackberry java application. I have a url to the image... (as you can tell "http://www.christianfilmdatabase.com/wp-content/uploads/2013/06/Movies.jpg"). I get this image dynamically and display on my screen. ... How can I do it... I post my code here...

    Bitmap bitmap = Bitmap.getBitmapResource(imageUrl);
    
                        Background background = BackgroundFactory.createBitmapBackground(bitmap);
    

    Best regards,

    Thank you very much, Peter... Now, I could get the web images and display them on the screen...

  • iOS 10 - How do I get the clock to display the seconds?

    Recently updated my iPhone iOS 10.0.1 6s.

    After a power failure, I was re-creation of different clocks and discovered that the "Clock" Apple app displays more seconds in the "WorldClock" pane In addition, I can't change for the clock faces 'analog-style' in this application. The application icon has a small second hand in the home screen, but it's pretty hard to use when you try to put clocks in the second. Any thoughts?

    As far as I know, the clock of the world cannot do that, which is a pity. I wonder why they decided to remove it. Perhaps he used too much energy to the battery?

    Thank you for pointing out that the application icon displays the seconds hand, I never noticed that before.

    It is discussed by the Parliament, but the only solution which they suggest is to get an application:

    in the new iso standard 10 analog world clock update?

  • How can I get the string value displayed on a digital control defined for the relative time.

    I have a digital potentiometer to display relative time in increments of 30 minutes.

    I want to record the value displayed on the control string.  Unfortunately, when I use the "convert to decimal string.vi" number, the resulting string is just the value in seconds.

    How can I get the value as a string? (for example 01:30 for an hour and thirty minutes)

    Thank you

    Sean

    Hi Sean.C!

    M_Peeker's suggestion is a good thing.  A stage that could clarify things is that you must set the % t <%H:%M> format string entry.

    < br / > Kristen:.

  • How can I get the keyboard to display in the simulator of Dev Alpha?

    Hello

    I use the Dev Alpha Simulator to test my apps of Cascades, and I need to type text in the fields in my application. I can just click and type the keyboard of my Mac, but capitalization does not work. So, how can I get the BlackBerry keyboard to display on the simulator - so that it looks like a real device?

    Thank you.

    Hello
    You can click on the lower right corner, and the keyboard will be visible.

    Kind regards

    Sommily

  • How to get the #APP_VERSION # to display in a region

    Request Express 3.2.1.00.11

    Using a page template (home page > Application Builder > ApplicationNUM > shared components > models > modify the Page template) I can get the version of the Application to display on a page, using the following substitution #APP_VERSION string # in the foot.

    But how do I get the version of the application to display (#APP_VERSION #) in a region.

    If I place the #APP_VERSION text # in a model of the region, it displays the text #APP_VERSION.

    I tried to use the Panel of dispatches Home > Application Builder > Application 221 > shared components > change the definition of request but the same thing happens.

    Ben

    Benton says:

    I tried to use substitutions Panel to access the Version of the Application in the same way that I could do this;

    Replacement replacement value string

    -------------------------------------------------------

    MY_ALIAS & APP_ALIAS.

    Replacement replacement value string

    -------------------------------------------------------

    MY_APP_VERSION what is happening here - I want to access the value which is next to the * Version text in the panel titled 'Name' under Home > Application Builder > Application 221 > shared components > change the definition of request

    I can to the Version of the Application other than its use #APP_VERSION # in a page template. I don't want to use static text.

    The only way to access the application Version attribute using the #APP_VERSION model # substitution string in a template header or footer, or interviewing in the APEX_APPLICATIONS view SQL. Create an application APPLICATION_VERSION element and set it in a calculation of application of SQL query executed about calculation on the new Session:

    select
        version
    from
        apex_applications
    where
      application_id = :app_id
    

    The question of the application can now be referenced in the HTML source code like & APPLICATION_VERSION. or in SQL and PL/SQL like: APPLICATION_VERSION

  • How can I get the Organizer to display file names?

    I'm lost and confused in Photoshop 13. How can I get the names of files to display in the menu Organizer? I chose to keep the old version of the display "grid" and miss having the names of all files. I searched the manual online, but can't seem to find what I need!

    Please check options in the menu organizer of the following elements:

    View > Details

    View > Filenames

Maybe you are looking for

  • Y410P WLAN intel centrino 2230 major connection problem

    A few months ago, I bought my ideapad y410p and was very happy with her on the set of some time. Just last month my wireless has acted significantly upward, and I have no idea of what is happening. My home wireless router has been no change, but now

  • Problems connecting to Microsoft Exchange (EAS)

    Hey guys,. I know there are a lot of discuss you this issue already and I apologize to start another thread on it.  However, I think that my situation may be slightly different.  Basically, I can not access my server on my browser when you use https:

  • Series read is slow

    Hi people. I read information for a device that sends its information to start for the serial port. The attached VI reads and takes the relevant information from it. The only problem is that it is quiet, slow. It takes a few seconds for data display,

  • Do not know the password, cannot connect to Windows XP

    who can help... ?? Help, please thnx * original title - help I do not know my password more so I can't connect, how can I reset my password. ? *

  • M277DW: Firmware update is not available...

    I tried to get the scans from the printer to go to my shared network drive (smb) (which is visible on the network) I had 3 tech this morning, on the HP chat system, to attempt to repair. 2 of them quit trying after 1 houre, they did not say a word th