Bug in the creation of the window for Z10?

I have a level camera called soft.  I just find that, thanks to a report the user, everything is turned 90 degrees.

The application works on the PlayBook, Dev Alpha A, B and C without problems.  After some debugging, I noticed that when a new form is created for the view finder window, it has a rotation of 90, but which does not occur in the Alphas of Dev and PlayBook.  I'm building the app with the 2.1 SDK.  Why the Z10 returns a screen is in landscape when all Dev Alphas don't do that?  Is this a bug?

Because the viewfinder in photo on QC of the Z10 variants can't stand rotation.   (camera_get_photo_vf_rotations() call you would say that).

Given that all cameras are devices in landscape, you get a window without rotation.  If you were to read camera_get_photovf_property back (handle, CAMERA_IMGPROP_ROTATION, & tempInt);   you won't find that on the material of the PlayBook and TI (Dev Alphas), it is set to 0, but on QC Z10 hardware, it will be 90 or 270.

If you do not need to capture still images, I recommend using the video viewfinder instead.  The video viewfinder works at a higher framerate and a lot more available resolutions and also supports all values of rotation 4.  0 should be the default, but you can set CAMERA_IMGPROP_ROTATION to 0 just to be sure.

If you wish to continue using the viewfinder of the photo, you can just read back the value CAMERA_IMGPROP_ROTATION and apply then SCREEN_PROPERTY_ROTATION to the viewfinder window is displayed correctly.

I would say that if you switch to video mode, you call camera_get_video_vf_resolutions() and choose the smallest resolution which is still greater than the resolution of your screen, to not be too wasteful.  (eg. a 1080 p video is useless, as it is to be reduced to fit on your screen to 1280 x 720).  This is not strictly necessary, but will perhaps save about 20 MB of video memory.

See you soon,.

Sean

Tags: BlackBerry Developers

Similar Questions

  • How can I get rid of a green field with a white check mark in that box covers some of my photos and on the windows for firefox icon.

    How can I get rid of a green field with a white check mark in that box covers some of my photos and on the windows for firefox icon. Edit

    Hello
    I want to thank everyone for the information, I had to uninstall Norton in order to get the green boxes deleted. Thank you once again problem fixed.

  • I can not adjust the size of the window for Firefox on OSX 20 after update

    After updating to the latest version of FF, I can no longer adjust the size of the window. I tried to click and drag the four corners of the window, but it remains the same size. Before the update I could adjust the size of the window. I tried rooting around in the topic: configuration settings but have not been able to find something that would determine the size of the window being locked to certain dimensions. I have also reset firefox to its default settings and this does not resolve the issue.

    Execution of OS x 10.6.8 with Firefox 20.0

    Try to disable the use of Firefox graphics acceleration hardware.

    You need to restart Firefox for it to take effect, so save any work first (e.g. you compose mail, documents online that you are editing, etc.).

    Firefox menu > Preferences > advanced

    In the mini ' General' tab, uncheck the box for "use hardware acceleration when available.

    If you restart Firefox, the problem is solved?

    See also: starting today, Firefox windows is more scaleable. OS x 10.6.8 Firefox 20.0

  • Width of the window for Diff in IDE

    When you use the "Diff" of the CVI feature, both not confined windows that are created for both files are closer I want.  I must always manually expand their. Is it possible to make them automatically more wide?

    OR: I suggest that these windows should be 50% larger by default.

    -Ian

    "Ian, you can select window" Tile Windows if you do not have to manually reposition the windows. I could not find a setting to change the width of the window at all times. You can leave suggestion of product here: http://digital.ni.com/applications/psc.nsf/default?OpenForm&temp1=&node=

  • Cannot download more than 30 photos of the windows for CVS Photo Gallery

    Original title: the windows photo gallery software

    I can't download my pictures in my windows for cvs photo gallery using the Gallery s way. If I download a pic. It works but it will not pass by CVS so I do 30 photos

    Hi jessewebster,

    1 Windows operating system you are using?

    2. what happens when you try to download 30 images at once?

    3. you receive messages or error codes?

    4. were you able to download 30 pictures before without any problem?

    5 you only with CVS or other processors phot problem?

    You can check the CVS support at following link and try the steps and check if that helps:

    http://www.cvsphoto.com/help_panel/help/JavaSecurity.htm#supportedfiletypes

    Hope this information is useful.

  • I can not get the updates from the Windows for my XP Home SP3 site

    I can't get updates - Microsoft site says "the website has encountered a problem and cannot display the page you are trying to display." It also displays the error code 0 x 80070424.

    I have XP Edition SP3 family.

    I get the "XP antivirus" thing feared but thought that I had now got rid of him.

    I also have the message "your computer may be at risk, automatic update are turned off.

    The "Security Center" in the sign says that they are off, I turned on in "Security Center", but it still does not work.

    I used the tool to 'Fix' windows, but he says that he has't set.

    Any help is welcome.

    Thank you

    Geoff

    In the order shown, do not jump...

    First of all - download, install, operate and put to update and then run a full scan of the system with the following two (one at a time, reboot in-between):

    After you perform a full scan with one then the other and remove anything they have all two are completely, you can uninstall these products, if you wish.  This initiative will allow to check there is no malware floating around your system which could cause problems.  If you ask - no, Norton probably does not protect you from what these applications can find.

    Download and run the MSRT tool manually:
    http://www.Microsoft.com/security/malwareremove/default.mspx
    (Ignore the details and download the tool to download and save to your desktop, run it.)

    Reset.

    Download/install the latest program Windows installation (for your operating system):
    (Windows XP 32-bit: WindowsXP-KB942288-v3 - x 86 .exe )
    (Download and save it to your desktop, run it.)

    Reset.

    and...

    Download the latest version of Windows Update (x 86) agent here:
    http://go.Microsoft.com/fwlink/?LinkId=91237
    ... and save it to the root of your C:\ drive. After you register on the root of the C:\ drive, follow these steps:

    Close all Internet Explorer Windows and other applications.

    AutoScan--> RUN and type:
    %SystemDrive%\windowsupdateagent30-x86.exe /WUFORCE
    --> Click OK.

    (If asked, select 'Run'). --> Click on NEXT--> select 'I agree' and click NEXT--> where he completed the installation, click "Finish"...

    Reset.

    Now reset your Windows with this FixIt components update (you'll do the aggressive version, not the other):
    How to reset the Windows Update components?

    Reset.

    CHKDSK
    How to scan your disks for errors* will take time and a reboot.

    Defragment
    How to defragment your hard drives* will take time

  • Set the size of the window for DOS applications running on the Windows XP Pro machine

    I have some old Basic (QBasic, Flodraw) DOS programs I still want to run occaisionally. 2002 was the last time I used them, so I don't know what OS was running then. When I run the application now that open windows are not ideally sized, the Flodraw is too big, I can't see it as much of the screen as I would, and QBasic is too small to get enough text to keep my train of thought.

    Anyone know how I can get control of the size of the window? I need create .pif or something like that?

    Thank you.

    Right click on the shortcut for the program icon, and then click Properties. You will see where you can set the size. MS - MVP - Elephant Boy computers - don't panic!

  • Opening of the session of the Windows for POP3 incoming/outgoing security

    I am a Qwest customer, using the windows email.

    Can't send or receive emails.

    I get a message of Windows e-mail asking me to connect to POP3, what I do, and then I get the following error message:

    Account: 'POP3', server: 'pop.centurylink.net', Protocol: POP3, server response: '-ERR invalid command', Port: 995, secure (SSL): Yes, Server error: 0x800CCC90, error number: 0x800CCC91

    I went into my tools/accounts/mail/Properties/Servers tab e-mail and checked the folloing:

    Incoming mail server is a POP3 Server

    Incoming (POP3) mail is pop.centurylink.net (995)

    Outgoing (SMTP) mail is smtp.centurylink.net (587)

    Suggestions would be appreciated

    Kevin

    Turns out I had 2 different email accounts... I deleted them both and started on.

    Works like a charm... Thanks for your patience!

    Sincerely,

    Kevin & Tammy

  • Bug in the Windows 7 calculator

    There is a basic bug in the calculator of windows 7 (only in the standard display)

    Equation 1 + 2 * 3 the answer 9.
    In fact, the answer should be 7.
    If we play a little, we discover that he is simply performing operations on from left to right, and failing to perform the multiplication and division before addition and subtraction.
    If I try the same equation in scientific display or programmer, you get the right answer (7)
    Concerning
    Geoff Scott

    Hello

    The hierarchy in the basic calculator is from left to right is

    1 + 2 = 3

    3 * 3 = 9

    The scientist and the programmer calculator use the hierarchy of mathematical operations
    and the Standard Calculator treats 1 both functions in the order entered.

    Hierarchy of mathematical operations
    http://www.tpub.com/content/DOE/h1014v1/CSS/h1014v1_36.htm

    http://www.tpub.com/content/DOE/h1014v1/CSS/h1014v1_37.htm

    This has been noticed in many versions of the calculator.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How can I get the Windows for Windows Media 10 player I need to first?

    I have a new computer in a teaching environment.  A Windows 10 education version has been charged and there is no Windows Media Player.  I use Adobe Premiere and I need the player.  How to solve this?

    You, or the one who is the 'administrator' for this computer needs to go to the Microsoft website and download WMP. Most likely, on a computer of this type, the only person who can upload programs to the computer is a person with access to the administrator of the user log-on for this.

    Neil

  • PCoIP zero client does not display an Horizon view Client user of the window for one (and only one)

    The zero client is a Samsung NC241 via Teradici Tera 2. My user has 3 virtual workstations assigned;  Current SOE with WinXP, a specific COMPUTER WinXP and a test for the upcoming Win7. When I connect the customer to see I'm automatically redirected to the WinXP for HER, without going through the window that lists usually all available virtual PC. This happens on all terminals, I tried. Other users, even if you connect to the same terminal, are given the option to select a virtual PC, even if they have the choice of a!

    I have checked the setting for the PC virtual in the Teradici PCoIP Management Console and also the settings of the user under the Horizon view VMware administrator but cannot find where my configurations user and desktop are different from those that work "correctly".

    Is someone able to propose what I'm looking for?

    TIA

    Thanks, Stu, for your input.

    I arrived on the solution after you follow through with your suggestion above. I used the client on a Windows PC, then after that record on I clicked on 'Options' in the bar of VMwareView Client session and erased the text is 'auto connect to this office. We have the option 'Enable automatic reconnection' set to false, so I'm not sure why that followed me.

    But the good news is that it worked!

  • How can I enter a url? The window for this has disappeared.

    The new Firefox home screen doesn't have a place to enter a url. Everything seems to be able to do is go to Ask.com, which I won't do. I want to be able to enter a url, press on enter and navigate to a Web page. With the new design of the screen I can't see how to do this.

    Make sure that you run not Firefox mode full screen (press F11 or Fn + F11 to toggle; Mac: Command + SHIFT + F).

    Make sure the toolbars like the toolbar 'Navigation' and the 'personal bar' are visible.

    • Firefox menu button > Options
    • View > toolbars (press F10 to display the menu bar)
    • Right click on empty toolbar space

    Use the toolbar (Customize) to open the Customize and set the toolbar to display items.

    • Make sure the "bookmarks toolbar items" are on the personal bar
    • If "Bookmarks Toolbar items" is not on the bookmarks toolbar, then FRY it in the palette of the toolbar in the window the bookmarks toolbar Customize
    • If the missing elements are in the toolbar palette then drag them from the window, customize the toolbar
    • If you do not see an item on a toolbar in the toolbar palette and then click the button "Restore default" to restore the default toolbar configuration
  • Bug in the conditional for loop with an array empty

    There seems to be a bug in the loop with a conditional terminal.

    If an empty array is connected to an indexed table auto entry tunnel, a tunnel of output array has an element instead of zero.

    The constant matrix is left empty.

    High loop without the conditional Terminal produces an empty array.

    Conditional down with a terminal loop never true generates an array containing a single element

    Thanks to LabVIEW version 8.5


  • Right click on links opens the window for error 404

    right clicks for opening tab or a new window to 404 not found error.
    It only happens in Firefox.

    Hi nwfirefly,

    I'll try from Firefox Firefox to solve the issues in Safe Mode. If you do not have the issue so that all your modules, extensions, and themes are disabled, you can try adding them in one by one until you find the culprit. You should look at the guide to troubleshooting Extensions and themes and article troubleshooting issues with plugins like Flash or Java to solve common Firefox problems as well.

    Hope this helps!

  • Bug in the search for qualified products from pilot

    I have only one registered product Toshiba, so when I open the search window, the product is preselected (marked as selected in a list of radio button with just one button, because I don't have only one product approved).

    If I then try to search for a driver, assuming that my product is screened in, I get an error claiming that I need to select a product before I am looking for.

    If I press the radio already pre-selected for my registered product button, the search runs. But rather than narrow the search down to drivers for my product, it finds ALL drivers!

    Can you please tell us which laptop model you have?

    You will find the drivers on Toshiba are supported on the page under http://eu.computers.toshiba-europe.com > support & downloads?

Maybe you are looking for