How to scroll vertically and horizontally the entire screen?

Hello!

I have a screen that displays an image that is large enough. My problem is that I can't do scroll horizontally and vertically to see the whole picture! I have tried several things but nothing worked! I searched the forum, but nothing helped. Here is my code:

Manager hfm = new HorizontalFieldManager();
        hfm.add(new NullField(NullField.FOCUSABLE));
        image = new BitmapField(Bitmap.createBitmapFromBytes(array, 0,-1,1));
        hfm.add(image);
        hfm.add(new NullField(NullField.FOCUSABLE));
        add(hfm);

I tried to create a verticalFieldManager and add it to hfm, but nothing! I also tried to add in the screen, but the chance either! The class extends screen.

Any suggestions please?

Thnx in advance!

I suspect that this article will help:

http://supportforums.BlackBerry.com/T5/Java-development/create-a-scrollable-image-field/TA-p/444955

Tags: BlackBerry Developers

Similar Questions

  • Use the scrolling Vertical and Horizontal

    Hi all, I am new to BB. I tried to do a manager can scroll through both vertical and horizontal. I want to do a Picture Manager only a BitmapField, where the BitmapField have width and height more than display, and the Manager could scroll through both vertical and horizontal, so I can't look at BitmapField.

    I read and try to do something like this ( http://supportforums.blackberry.com/t5/Java-Development/How-to-make-Vertical-and-Horizontal-scroll-o... ) and this one ( http://208.74.204.192/t5/Java-Development/How-can-i-use-both-of-horizontal-scroll-and-vertical-scrol... ) but it does not work

    in general I want to do something like ZoomScreen (I do not use zoomscreen, because I can not add the button or another field in this thing).

    I have try this one too, but nothing...

    BEGIN

    public myScreen() {}

    _Image = new VerticalFieldManager VerticalFieldManager (Manager.VERTICAL_SCROLL |) Manager.HORIZONTAL_SCROLL) {}
    protected void moveFocus (int x, int y, int status time int) {}
    setVerticalScroll (y);
    setHorizontalScroll (x);
    super.moveFocus (x, y, status, time);
    };
    };

    B=Bitmap.getBitmapResource("img/edit.jpg bitmap image");
    BitmapField bi = new BitmapField (b, BitmapField.USE_ALL_WIDTH);

    _image. Add (BI);
    Add (_image);

    }

    END

    Thanks for the reply... and sorry for my bad English (Not My Mom Language;-D)

    Welcome to the forums!

    USE_ALL_WIDTH first, remove your BitmapField constructor - as is, it will become monstrously huge (a width of Integer.MAX_VALUE > 1). A default constructor is sufficient. You may need to add FOCUSABLE style according to your needs.

    Second, your moveFocus method is quite useless, because it is called only on touchscreen devices when the user touches that particular place. Touchscreen can already reach moving-scroll and swipe scrolling, so your problem is automatically solved it. In addition, moveFocus is a call relatively high level - all of these calls work well on a screen with many focusable fields and other things.

    You will need to substitute navigationMovement for the BitmapField if it is FOCUSABLE or the screen itself. If you want other fields on the screen, this task becomes really not negligible, so formalize the specs for this screen as much as you can before you implement it. When you have an exact plan, write here, if you still need help.

  • Watch the video on the Pearl Flip 8220 smart blackBerry phones, how to make horizontal and fill the entire screen?

    I have movies on my flip. When I look at a screen remains vertical and small. Is there a way to make the horizontal screen and use the full screen? Thank you.

    After some trial and error, I discovered, you must use the blackberry Media Manager to transfer your movies and when you move the film selected your file to your phone, you must select the option 'optimize '. When I did this it turned the film 1/4 turn so I could watch it on full screen. To make the small of DVD movies to the mpg4, I use a program called "convert M2 to Smartphone". It works well.

  • How to enable vertical and horizontal scrolling with sculpt Touch Mouse (W7-64). When I activate horizontal disables vertical scrolling to scroll.

    Load the IntelliPoint software that is more recent, although she did not recover that (!). Scrolling works when you use the Synaptics Touchpad.

    When I turn on all the other functions in the IntelliPoint vertical scrolling is disabled.

    Hello

    Thanks for posting your question on the Forums of community of Microsoft.
    The description of the question, I understand that you can not use horizontal and vertical scrolling with sculpt the touch mouse.
    Let me go ahead and help you with the issue.
     
    As you have been told that the IntelliPoint software is updated, but sometimes Sculpt mouse drivers may be outdated which causes this problem.
     
    Here are some ways you can follow to resolve the problem:
     
    Method 1:
    I suggest for the link and follow the steps in the article:
    Install IntelliPoint software and the mouse
     
    Method 2:
    Download and install the drivers from the link:
     
    See also:
     
    I hope this helps. If you have any other queries/issues related to Windows, write us and we will be happy to help you further.
  • How to apply vertical and horizontal projection?

    Dear,

    I hope someone can help me solve this problem...

    I need to apply the vertical projection on the image that contain a vehicle with plate to determine the location propably the plate of the car.

    Please find attached 2 pictures 17. jpg is image I want to apply the horizontal projection, v - h [projection] .png is what I want to do like her

    I thank...

    Looks like LinearAverages IMAQ for me.  If you multiply the average by the number of rows or columns, you will get the count for a binary image.

    Bruce

  • Wireless mouse seems to randomly start both vertical and horizontal scrolling

    My wireless mouse is out of control.  First, it seems random scroll vertically and horizontally.  When I started my computer I had no mouse at all.  I rebooted and it worked again but began to scroll wildly.  I changed the batteries, but nothing helped.  How should I do?

    Hello

    ·        You did changes to the computer before the show?

    ·        What is the number and the model of mouse you are using?

    ·        What operating system is installed on your computer?

    Put the computer to boot and check which application is causing the problem:

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

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    If you use Microsoft mouse, then follow the instructions from the link:

    Troubleshoot the incidents of the response to the mouse or wireless keyboard

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

    Note:  You can also visit the website of the manufacturer of the mouse and download and install the latest driver for mouse and check if that helps.

  • cursor - vertically and horizontally

    Hello, I have a problem with the slider.

    I create a framework and put in an image. I put the direction to scroll vertically and horizontally. Watch it on the iPad when you scroll the picture up and down all the time, it's going up on the next page.

    I don't have this kind of problem when scrolling of the image to the right and to the left.

    If I understand correctly, you use the frame with scrolling to create a block of text that you can pan horizontally and vertically. When you say that the view displays the previous page when you scan vertically is that once you have reached the bottom of the content, or the vertical scan does not work?

    With the iOS Viewer when you hit the top or bottom of the page frame edge will change to the previous page or next on the next shot. The same is not true when the left or right edges are affected in the framework (i.e. it does not change the section in the preceding article or under).

    Maybe what you observe.

  • How to hide or disable the vertical and horizontal scroll bars?

    I would like to hide or disable scroll bars vertical and horizontal window of Firefox (20.0.1 at the moment), is there a CSS rule or the setting in "subject: config" resource for this behavior?

    Thanks in advance.

    The code shown above should always work.

    Make sure that you have placed the file userChrome.css in chrome file in the Firefox profile folder.

    This chrome folder does not exist by default and must be created.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #content browser {
     margin-right: -14px !important;
     overflow-y: scroll;
     overflow-x: hidden;
    }
    
  • Hi, while writing an email online using Firefox 3.6.3, I was using one of the "CTRL + left arrow or right" to move the cursor on the text. I must have pressed some other key because the screen has become huge - and I can't scroll vertically or horizont

    Hi, while writing an email online using Firefox 3.6.3, I was using one of the "CTRL + left arrow or right" to move the cursor on the text. I must have pressed some other key because the screen has become huge - and I can't scroll vertically or horizontally, which makes the pages of Mail of Hotmail impossible. I have connected since using the Explorer MSFT and it works very well. This problem occurs only on the page of Mail of Hotmail Live not on the home page or other.
    Could you please let me know if there is a problem with Firefox, or if you have any advice on how to restore the appearance of Hotmail in Firefox?

    This has happened

    Just once or twice

    == I'm compiling an email in Hotmail Live

    See this:
    https://support.Mozilla.com/en-us/KB/page+zoom

  • The entire screen and not just game scroll arrows window

    When you play a game, I need the arrow keys to operate within the game window to move the 'blocks' and does not scroll the entire screen.

    Used to work, it stopped working yesterday (after my 9 year old had a computer time.)     Several other settings have been changed, so I'm assuming he's changed a setting somewhere!      Help!

    It is quite a wild guess, but try typing your key to ScrLck (e.g. stop scroll) once. Otherwise, you can consult the documents of the game on how to disable this behavior.

  • Keep the Central text box vertically and horizontally

    I am reproducing this style of website Zhang Jingna - beauty · Fine Art · Underwater · New York, New York fashion photographer

    But I'm fighting to get the plant but I'm fighting to get the central text central rest horizontally and verticlally such that it is scaling one seen on PPI different screens that is 1080 and 1440 p

    any ideas how to fix this live text?

    my site Homepage

    There is a thread where this topic has long been discussedin.

    How to center you objects and or a vertically and horizontally in Muse Web site?

  • Where can I find the vertical and horizontal spaces of you or margins on CC Version?.

    Where can I find the vertical and horizontal spaces of you or margins on the CC Version? I need to leave a few spaces pixels around an image, but I can't find it on this new version.

    Thanks in advance

    In the CSS designer under window > CSS designer or SHIFT + F11

    Choose the item that you are working with and press on the + in the selectors of section

    Then in the Properties section, make sure that the first tab is selected (Layout) and scroll down to the margin

    Set it to a number of pixels that you want (for example, 10px)

  • Borders and the vertical and horizontal lines

    Hi guys,.

    I'm new to InDesign and I am trying to create the below, but I'm having difficulties.

    How can I create the border and vertical and horizontal lines as shown in the picture? I wan't to make a model of these so that I can easily modify the title and the text and keep the same formatting.

    Thank you!

    Screen shot 2011-05-16 at 18.19.34.png

    You must learn to have a little patience. Everyone here is a volunteer, and we all work day, too.

    Your outer rim could be either a stroke applied to a block of text in multiple columns, or it could be a separate framework used closely as a background. If you apply a line directly on the text block, you can add an insert to move the text of the line. Horizontal rules (that's the term for a straight line in page layout) look like they're probably paragraph nets (lines above or below a paragraph). These can be included as part of the paragraph styles applied to securities. Paragraph nets can be adjusted to the weight and position on the basis of either the first or the last line of paragraph (depending on whether the rule is above or below) and can run across the width of the column or just the width of the text, and to add dashes, positive or negative.

    There is no way to automate the vertical rules, at least not with ID right out of the box. You can add a few PlaceHolder rules between columns on your master page, but you will need to override and set them on the page of the document itself. Set benchmarks of rule between columns on the master page would help, especially in a situation where the rule needs to be broken to accommodate something like the floating image.

    You can see if the school library has some reference materials. A particularly good book for a beginner would be Visual Quickstart Guide of Sandee Cohen for InDesign.

  • I hit a button and now this tab takes up the entire screen. How to bring back my browser?

    Website of the tab takes over the entire screen, even the line apps Windows downstairs. Hit the ESC does nothing. If I close FF and re - start, it goes back to the same state that it was when I killed him. Order No. FF buttons there so there is no way to reset it. The tab web site occupies the entire screen. Help! I use MS Internet Explorer to send this info that FF is currently useless.

    Sounds that you have enabled Firefox mode full screen (press F11 or Fn + F11 to toggle; Mac: Command + SHIFT + F).

    If you are in full screen view then hover over with the mouse to the top of the screen to facilitate the bar appear Navigation and tab bar.

    Click the expand (in the top right Navigation bar) to exit full screen or right-click on a space empty on a toolbar and select "exit full screen" or press the F11 key.

  • Does anyone know html or css when I drag my magic mouse to the right there is my low site scroll vertically and when I slide to the left makes scrolling upward?

    Does anyone know html or css when I drag my magic mouse to the right there is my low site scroll vertically and when I slide to the left makes scrolling upward?

    As this Web site: our wedding

    Please check the options available here:

    http://resources.Muse.Adobe.com/search?q=swipe

    Thank you

    Sanjit

Maybe you are looking for

  • Can't see the content

    Web sites load very well, I see that the loading is completed as usual, but I can see only empty page instead of some imfomation. Page has also scrolls - as usual. Sometimes, for a second, I can see the content, but then it disappears. I can't still

  • I want to buy the new watch

    I want the new watch you

  • shared - variables multi-network

    Hello I have problems of publication of multiple variables shared in a network configuration to the correct network. (NIC1, NIC2, wireless) I followed the info in Spreading of Variables shared for a specific network adapter For a Windows-based system

  • Split a string and give dat to 4 meters on a

    I use the serial port for the acquisition of data with labview. serial port sends a string of decimal numbers as 203,200,210,230 now, I want to break these chains. I used the stop ther (comma) in Visa character configure serial port vi But now, I wan

  • Problem with HTTPConnection

    Hello I have an app balckberry making an HTTP request and download a JSON object, it works perfectly in all simulators and devices ' "BOLD", Bold2 (5.0), curve, I have two camera a storm 2 (5.0) and a (5.0) 9630 tour where I get the following error m