Problem with display number

Hello

I wrote the following code:

screen_create_context(&m_screen_cxt, SCREEN_APPLICATION_CONTEXT);
screen_get_context_property_iv(m_screen_cxt, SCREEN_PROPERTY_DISPLAY_COUNT, &count);

I am surprised because when I run the present with the phone not attached to an external display, the value of count is always 2. AFAIR, it was 1 in 10.0.9 SDK. I wrote a code that take advantage of dual display with cascade. How can I be sure that a second screen is attached to the camera?

Thanks for any help.

Fred

Yes, I could discover whether or not the screen is fixed.

What puzlles me is that I don't see any use to this call, if it always returns 2. And my code was working in the previous version, I had to check if the screen is attached or not.

Tags: BlackBerry Developers

Similar Questions

  • my computer recently crashed and when I tried to use photoshop, then I got the message: - message - problem with display driver, temporarily disabled the improvements. Does that mean, they will return when the problem is solved?

    My computer recently crashed. A fixed it but! When I then tried to use photoshop I got the message: - message - problem with display driver, temporarily disabled the improvements. Does that mean, they will return when the problem is solved?

    Update or restore your graphics driver.

  • Unable to contact the Service Adobe, I have a problem with the number.

    Hello

    I would like to have more information about the Adobe domain controller. My intention is to buy the product and use it in my office, we are a small company (4 PCs).

    If I am wrong, I have to take the standard networks for Business Plan, but I can't organize any request for payment for more information, because I don't have a problem with the number I'm supposed to call.

    Y at - it another way to know if this software is very suitable for me and my business and most of all the how much it will cost.

    Thank you for your attention.

    Good day!

    I look forward to hear from you.

    Best,

    Augusto

    Hi Avgvstvs67,

    Please see this link: https://acrobat.adobe.com/in/en/pricing/business-pricing.html

    Kind regards

    Rahul

  • Problem with the number of lines in the channel

    Dear community LabView,

    I'm relatively new to labview and I came across a problem that (I assume) can easily be resolved with your help.

    I need to create a digital signal to trigger a camera, but I have a problem with the configuration of my lines or exit lanes. I would not use that line output to trigger the camera. (I use a card NI PCIe-6353). LabVIEW is telling me that the number of lines in the channel does not have the number of rows of data:

    Possible reasons:

    Specified read or write operation failed because the number of rows in the data of a string is not the lines in the channel.

    If you use the digital waveform data type, make sure that the number of lines in the digital waveforms is the number of lines in the channel. If you are using Boolean data, make sure that the dimension of the array for the rows of the data is the number of lines in the channel.

    Number of lines in the channel: 1
    Number of data lines: 2

    Task name: _unnamedTask<11>

    How and why the number of data rows is connected to the resolution of my analog digital converter?

    I would appreciate your help! Labview code and a screenshot attached.

    Thank you

    Beff

    I got it to work by changing the "data format" "binary not signed" OR by plugging is not the "offset" for the Square Wave VI.  I think that the default "offset binary" data format works correctly if there is a negative value.

  • Problem with the number of files?

    Hello guys,.

    I have a problem with the compilation of some projects...

    I realize that when my project 201 records in total (including the file config.xml, Active Directory and directory ext) they do not compile.

    If I delete all the files (if the project has 200 files in total), the success of occours compilation.

    See:

    E:\BlackBerry WebWorks Plug - in Eclipse\plugins\net.rim.browser.tools.wcpc_1.5.1.201010291444-22\wcpc>bbwp.exe "C:\Documents and Settings\Softwell\Desktop\blackberryhtml5.zip".

    [INFO]                  Parsing of the command line options

    [INFO]                  Bbwp.properties analysis

    [INFO]                  Validation of archive application

    [INFO]                  The analysis of config.xml

    [INFO]                  The application of filling source

    [INFO]                  Compilation of application BlackBerry WebWorks

    java.io.IOException: cannot run program ""E:\BlackBerry"(in the"C:\DOCUME~1\Softwell\CONFIG~1\Temp\widgetGen.4723774651307629071871.tmp"directory): error = 87, Parometro incorreto CreateProcess.

    [ERROR]                 CAP exception has occurred

    Can someone help

    Hello tneil,

    Well, I found the problem and a solution.

    The thing is: my project was not limited by the size, this is the number of files (200).
    I realized that BB has released an SDK 2.0 (I used 1.5) and I tryied to compile with the 2.0 and everthing works fine!
    The problem is how bbwp.exe communicate with rapc.exe, maybe he tryies to send files by command line and it has a limit. With the new sdk, it uses a file temp with all orders. This is why it works.

    The maximum size of 7MB, I can't say anything, because my apps are about 3-4 MB. But good to know, if I can put in my documentation.

    That's all.
    CYA

  • Problems with display of text and images from adobe

    I'm a non-techie has a terrible problem with Adobe Acrobat 8 Professional.  Even my group of office tech support can't fix, and they have reinstalled the program twice.  When I receive PDFs with a picture or a graphic, the image/picture comes through as an opaque grey square.  Sometimes the entire document (same text) comes through as an opaque grey square, with only the border area that appear in white.  If I try to print the document, the gray part prints.  Other people in my office who has received the same document do not have this problem.

    I have encountered this problem after that I used Adobe Acrobat Professional for the first time to 'clean up' a document I had scanned a photocopy.  I changed some settings on Adobe to see if I could get a clean version of the document, and it is perhaps the origin of the problem.

    I would be eternally grateful to anyone who has any advice on how to solve this problem!

    Susanne

    PS I have attached a few screenshots in Word that will help illustrate the problem.

    Try going to edit > Preferences > Page Display > Page content and information and make sure the "Show large images" checkbox is checked.

  • AF:panelTabbed - problem with displaying a popup on tab switching

    Hello

    I am facing a problem with disclosureEvent using clientListener of handling. I'm going to show a popup Ok/cancel whenever a user leaves a tab in panelTabbed.


    Here's the code: (this is the same code provided on the Oracle ADF code corner)

    < af:resource type = "javascript" >

    function alertTabSwitch (disclosureEvent) {}

    tab var = disclosureEvent.getSource ();

    {if (Tab.getDisclosed () == false)}

    popup var = tab.findComponent ('p1');

    Popup.Show ();

    popup.setProperty ("tabToOpen", tab.

    disclosureEvent.cancel ();

    }

    }

    function handlePopupOkCancel (actionEvent) {}

    popupButton var = actionEvent.getSource ();

    var butPressed = popupButton.getProperty ('popupAction');

    var = popupButton.getParent () dialog box;

    popup var = dialog.getParent ();

    If (butPressed == 'OK') {}

    var tabToFindAndFocusOnString = popup.getProperty ("tabToOpen");

    If (tabToFindAndFocusOnString.length > 0) {}

    var tab = AdfPage.PAGE.findComponentByAbsoluteId (tabToFindAndFocusOnString);

    tab.setDisclosed (true);

    actionEvent.cancel ();

    Popup.Hide ();

    }

    }

    else {}

    Close the pop-up window and stay on the page

    actionEvent.cancel ();

    Popup.Hide ();

    }

    }

    < / af:resource >

    < af:panelStretchLayout id = "PSL1" >

    < f: facet name = "center" >

    < af:panelTabbed id = "pt1" >

    < af:showDetailItem text = 'TAB 1' id = 'sdi1"disclosed ="true"stretchChildren ="first ".

    clientComponent = "false" >

    First tab

    < af:clientListener method = "alertTabSwitch" type = "Disclosure" / >

    < / af:showDetailItem >

    < af:showDetailItem text = 'TAB 2' id = 'sdi2' stretchChildren = 'first' clientComponent = "false" >

    Second tab

    < af:clientListener method = "alertTabSwitch" type = "Disclosure" / >

    < / af:showDetailItem >

    < / af:panelTabbed >

    <!-id = "af_one_column_stretched"->

    < / f: facet >

    < f: facet = 'Start' name >

    < af:popup = "deferred" autoCancel childCreation = "disabled" id = 'p1' clientComponent = 'true '.

    contentDelivery = "immediate" >

    < af:dialog id = "d1" title = "Tab switch Alert" type 'none' = >

    < f: facet name = "buttonBar" >

    < af:panelGroupLayout id = "g1" >

    < af:commandButton text = "OK" id = "cb1" partialSubmit = "true" >

    < name af:clientAttribute = "popupAction" value = "OK" / >

    < af:clientListener method = "handlePopupOkCancel" type = "action" / >

    < / af:commandButton >

    < af:commandButton text = 'CANCEL' id = "cb2" partialSubmit = "true" >

    < name af:clientAttribute = "popupAction" value = "CANCEL" / >

    < af:clientListener method = "handlePopupOkCancel" type = "action" / >

    < / af:commandButton >

    < / af:panelGroupLayout >

    < / f: facet >

    < af:outputText value = "Do you really want to switch tabs?" id = "ot1.

    inlineStyle = "do-size: medium;" Color: Red; "/ >

    < / af:dialog >

    < name af:clientAttribute = "tabToOpen" value = "" / >

    < / af:popup >

    < / f: facet >

    < / af:panelStretchLayout >

    Everything is done on the client side. When I click on a tab, first the "Unselect" event is fired for the selected tab and the value disclosed in this tab becomes false. After the value is changed, the listener is called.

    So in javascript, the same tab is released again after clicking OK.

    The value was not changed before calling the af: clientListener, this problem would not have arisen.


    Can someone help me with this?


    Kind regards

    Frédéric

    Change the as follows:

    The following has been tested against JDeveloper 11.1.1.7

    
    
        var theTabToClose;
        var theTabToOpen;
        function alertTabSwitch(disclosureEvent){
            var tab = disclosureEvent.getSource();   //This is the tab to close
            if(tab.getDisclosed()==false){
               theTabToClose = tab;
               theTabToOpen = disclosureEvent.getDisclosureCounterpart();
               var popup = tab.findComponent('p1');
               disclosureEvent.cancel();
               popup.show();
            }
        }
    
        function handlePopupOkCancel(actionEvent){
            var popupButton = actionEvent.getSource();
            var butPressed = popupButton.getProperty('popupAction');
            var dialog = popupButton.getParent();
            var popup  = dialog.getParent();
    
            if(butPressed == 'OK'){
                theTabToOpen.setDisclosed(true);
            }else{
                theTabToClose.setDisclosed(true);
            }
                actionEvent.cancel();
                popup.hide();
        }
        
    
  • Problem with page number display

    Hi, need some help please.


    I changed without intention some settings or something, but I can't fix it. I have documents (book chapters) that do not start with page 1 but the spirit 230 or 130 or some other number, but I see the sign where you ca see pages or master pages, the only pages starting with 1 (as in "the first page of this document and so on".) On another computer, no problem, the same file number in this Panel page corect.

    Can someone please help and tell me how corect this?

    I almost forgot; I am working on Windows and with InDesign CS3.

    I thank the of to help.

    IonP

    Check your settings on each computer in Edit > Preferences > General > Page numbering. Chances are it's different on both computers.

  • Problem with display properties.

    Original title: internet explorer 8, windows xp, hdmi connection works. Cannot get parameters with two screens no. 1 and 2 more.

    I sent this problem recently, I got a response that has not fixed the problem as I don't think that they read my question properly. I sent a reply thank you and said what is the current problem.

    I get the same email back me time and time again.

    PROBLEM. When I go to view/settings. I no longer get the icon with two blue screens, numbered 1 and 2. If I did, I could fix my problem.

    Instead, I get a box entitled display properties, which deals with the screen resolution and color quality.

    where is my box with two blue screens went, how do for her?

    Thank you for any input,

    Jerry.

    Hi Jerry,

    I'm sorry for the inconvenience that has happened. I will certainly help the question of fixing.

    I may need a few more details to better understand the issue.

    1. What is the number of brands and models of computer?

    2. did you of recent changes on the computer before this problem?

    Method 1:
    I suggest you to update the latest display drivers on the manufacturer's Web site and check if it helps.

    Method 2:
    If the problem is not resolved, you can try to create a new user account and check if you are faced with the same question.

    How to create and configure user accounts in Windows XP
    http://support.Microsoft.com/kb/279783

    If the problem is resolved in the new user account, you may have corrupted user profile. See link below for troubleshooting a corrupted profile.

    How to copy data from a corrupted to a new profile in Windows XP user profile: http://support.Microsoft.com/kb/811151

    Get back to us and let us know the State of the question, I'll be happy to help you. We, at tender Microsoft to excellence.

  • iMessage problem with display left column

    I'm under EC 10.11.1.  Recently iMessage started behaving wonky.  Normally I have the spectacle of the left column of all information (name, phone number and a photo) of a person I communicate regularly with.  For reasons that I am unclear on the subject, the left column has been reduced to nothing, but either an icon of an image or a picture of the person - no phone number, no other information - and it's really annoying, trying to figure out who the message is from without going through the number of name and/or phone.   (Mac Pro 2013, if necessary).

    How can I get the column to display ALL relevant information on my communicants?

    Thank you.

    Hello

    Click and hold the divider and drag it to the right.

    21:49 Saturday. December 5, 2015

     iMac 2.5 Ghz i5 2011 (Mavericks) 10.9
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro (Snow Leopard 10.6.8) 2 GB
     Mac OS X (10.6.8).
     a few iPhones and an iPad

  • Problem with display of scatterplot

    Hello

    In the joint Test TCP host read three peaks New (events) .vi I try to view a data file in a series of point clouds trace. The data is read in a global, then functional shape based on the selection of the axis and displayed.

    Each parcel allows you to choose the x and is the axis in a menu drop-down. I spent a lot of time troubleshooting the following software bug: everything I do, the program keeps displaying the old data and Econometrics again.

    The program is part of a larger application, where new data are constantly fed to the scatterplots and displayed with the old data.

    I'd appreciate your this application troubleshooting assistance. Thank you.

    Best regards

    Peter

    Oops. I think I answered before I had my coffee. You're right about the shift registers. Back to the problem at hand: the clear Plot.VI indeed work properly when used on a simplified code? For example, the VI does not erase a conspiracy when nothing else is happening in addition to tracing and then erase? Keep in mind, that we cannot really run your code, because're missing us several VI as the clear Plot.vi.

  • problems with display screen & icon after installing an update

    Since a update for windows install everything on the screen, icons, screen etc are extra-large and normal pages do not enter normal views for example in internet explore like on face book or any what page of the normal display mode that fits into the screen doesn't work, everything is improved, it has nothing to do with the zoom feature. And the icons on the screen are also very large, how to set this back to normal? I searched everywhere and can not find answers! Help, please!

    Hello

    Right click on desktop - customize - display settings - top left adjust font size (DPI)

    Right click on desktop - customize - display settings - Set resolution.

    Your system also has a magnifier built in which could be a problem - it can also often be programmed to work
    on mouse/keyboards.

    How to turn on the Magnifier On or Off in Vista
    http://www.Vistax64.com/tutorials/125037-Magnifier-turn-off.html

    To see if your mouse/touchpad is set to Magnify use Control Panel - mouse.

    ================================================

    You can also try restoring the system to a point before it happened or try to uninstall the update.

    Control Panel - Windows Update - lower left Installed Updates - uninstall

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html
    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • Problem with display as the brightness function does not work

    Cleaned keyboard & screen. Now the screen is not as bright. Tried the buttons Sun but no difference.

    Hello

    Thanks for posting your question on the Microsoft Community.

    I understand the inconvenience you encountered.

    In order to understand the issue more clearly, I would ask that kindly provide me with the following information.

    • What is the number and the model of the computer?

    I would suggest trying the following steps and check if it helps.

    Note: Windows chooses the best settings of your PC based on your monitor screen. If you want to adjust your display settings, or if they have been changed and you want to restore the default settings, you can follow the above given below.

    Get the best display on your monitor.

    http://Windows.Microsoft.com/en-us/Windows-8/get-best-display-monitor

    I hope this information is useful.

    Please let us know if you need more help, we will be happy to help you.

    Thank you.

  • Oracle ADF: Problem with display with component LOV selectManyChoice/CheckBox values

    Hi all

    I use Oracle JDeveloper 11.1.1.7. I want to use the selectManyChoice component in my requirement. When you use the same thing, I have observed that selectMany components as a component of selectManyChoice/selectManyCheckBox are not filling LOV VO values in drop-down list. Instead it displays the value VO destination attribute values.

    For example,.

    I have EmpVO and DeptVO. Now, I want to join LOV "DepartmentId" attribute of EmpVO using DeptVO as sourceVO. After this operation, if I drag and attribute DepartmentId of Drop EmpVO as consisting of selectOneChoice , when running, we will be able to see DepartmentName from drop down list I chose DepartmentName as attribute and departmentId as ListAttribute in LOV.

    To create the SelectManyChoice link, if I drag and drop the EmpVO instance to the page, we can find SelectManyChoice option under the "Multiple Sélection" option. As soon as the SelectManyChoice option, we will be able to see the window of EditListingBinding as shown below where we are asked to map baseAttr and displayattribute for this component. This means that he has not considered LOV which we show you. To view Department name in the drop-down list, we can select departmentVO instance 'Source database', while in the Base and display attribute we can map the DepartmentId and departmentName. By doing this, we can achieve my schenario for display in the menu dropdown. The problem is that this element of will will bind with DepartmentVOIterator and no matter what I select component selectMany, I take and wherever I need to set the value on the target attribute programmatically.

    ListBinding.png

    Is there a declarative way to display the selectMany component that uses LOV as a source in the view of value in drop-down list? Please suggest.

    Thanks in advance.

    Praveen.

    Hi William,.

    Thank you for your response. one who shared is related to the display of values such as MultiSelect component. But my requirement is to have combination of InputText and SelectManyChoice so that the user will have two entry key in place. So whenever we enter the code value in InputText, the corresponding value in the SelectManyChoice box should be checked [some]. This combination both annd InputText SelectManyChoice I need to create a component.

    I created the component as described below.

    I created DeclarativeComponent which is having an InputText and component SelectManyChoice. Component of SelectManyChoice I'm filling ViewObject value programmatically. On the selection of any value in the drop-down list SelectManyChoice value changeListener I get selected value and conversion Stringg and affecting InputText to show the selected value. Also in reverse ie. case, whenever I enter the correct value in the InputText, valueChangeEvent, I am taking and convert these values to the list and setting the value property of SelectManyChoice in order to make the selection.

    And to make this component as a single component, I used contentStyle = ' width: 0px "to hide the box InputText of SelectManyChoice as shown below.

    Thank you, regards,

    Praveen.

  • problems with serial number

    I downloaded adobe illustrator cs6 before I created an account, so I don't have a serial number. I was wondering if you can help me with this problem.

    Hello

    Please check the help below document:

    Quickly find your serial number

    In the case of the volume license product, please visit: site Web of Adobe License | Serial numbers | Orders | Accounts

    Kind regards

    Sheena

Maybe you are looking for

  • (Mid-2010) Mini Mac external speakers + Sierra

    Hello guys,. I wonder about this new system. Since I downloaded it my external speakers have not worked. I have Aiwa speakers before 180 system. I tried to plug in the headphones or the internal speakers and nothing happens. The speakers still work b

  • My space Will Rendomly Type as: i8 h &amp; and send when Im Texting sometimes it used. Someone else?

    He began to arrive recently. Since last night as a matter of fact. I sends me text Messages and he began to send for example: I was tempting to send how are you and he ' d send as: how the 8 & .and he would send. Everyone knows the same problem or ho

  • FREE INSTALLATION W10

    receipt of Msn... Unable to install on your Pc W10... Display Fabri URE is not your screen compatible with W10... NVIDIA GeFORCE 6150SEn FORCE

  • Mines and Solitaire (esp.), Vista Minesweeper

    I had a computer that is running Windows Vista, who died last week - the hard disk has been corrupted. I actually do not upgrade to Windows 7 because I loved the game of Minesweeper (and lonely) that came with Vista and I didn't lose it. Nowi want th

  • Windows 8 creates horizontal tear in dual screen

    Sensitive to video games and video playback, moved not using Windows 7 on the same hardware and or when you select extend this view/show only on: Windows 8. I tried with 3 different graphics cards. HD4000 Intel and AMD HD6870 NVIDIA GTX680 - same res