How do I get the screen width and size of the screen of the Blackberry storm?

Hi guys,.

I use the following code for the image capture.

Bitmap bitmap = new Bitmap (Display.getWidth (), Display.getHeight ());

try {}

Display.screenshot (aBitmap);

}

In 4.3.0 (8120 device), when we use Display.getWidth () and Display.getHeight () it gives 240 x 320 respectively which has the correct size of the device.

But in 4.7.0 Blackberry storm, when we use it gives data(240x320) even where the size of the device screen real is 360 x 480.

So when we capture the image in the storm he's only half of the image. And also when hard code us the image like it from 360 x 480 size is thrown exception.

Please suggest is there a way to capture full screen.

Thank you

Thanks for sharing the result. You can mark the thread as solved.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • I need technical assistance, a solution, an orientation towards the problem - graphics!

    I need technical assistance, a solution, an orientation towards the problem in this notebook, occurs constantly, as the newspaper: Anonymous UUID: 9EFDCAB8-6ADB-8B74-0CF0-C289E7B1BA15 Wed Jun 29 18:37:41 2016 Panic report *. panic (the appellant 2 cp

  • Firefox 14.0.1 and 0.7.9 Session Manager.

    Started having this problem with FF13.My standard session has 3 tabs (Group 1 and 2 webmail). Launch of FF14.0.1 the 3 tabs display but only 1 actually charges. I have to click on the other 2 to load individually. Of course, once loaded, they remain

  • Installation of win xp from USB on NB100

    Hello I tried the most common methods of trying to install win xp from a USB but iam introduce the blue screen on 1 minute of death... Can someone give me a reliable method on it? Thank you

  • Linux RT - copy the file from the disk on USB

    Hi migration my code to a target of VxWorks to one target Linux RT (9068), I'm having problems to run a piece of code that copies files from the cRIO on a USB drive! This code works perfectly under my VxWorks (and same Pharlaps target). See attached

  • LV OOP using accessor (subVIs) or operation bundle/unbundle methods?

    Hello When should I use the (private) (subVIs) accessor methods and when the bundle/unbundle the operation to access the data of the class? What is the reason that the operation bundle/unbundle is introduced in LabVIEW OOP? I need some rules for a co