Flex - the difficulty to detect status change since the 2.0 update

Hello everyone. I've been detecting orientation changes in my application without problem throughout until the 2.0 update, now, the events are not firing. Any ideas why the changr in orientation is not detected? I am less concerned by resizing.

this.addEventListener(SoftKeyboardEvent.SOFT_KEYBOARD_ACTIVATING, resize);             this.stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGE, change);

...
public function resize(e:SoftKeyboardEvent):void{
                trace("activating"); // does not trace
                if(currentState == "landscape"){
                    mainTextField.setActualSize(1024, 350);
                    tagwrapper.visible=true;
                }
                if(currentState == "portrait"){
                    mainTextField.needsSoftKeyboard = false;
                    accordV.visible=false;
                    tagwrapper.visible=false;
                }
            }

protected function change(event:StageOrientationEvent):void {
                if(navigator.stage.orientation == "portrait"){
                    trace("portrait"); // does not get traced
                    mainTextField.needsSoftKeyboard = false;
                    IMFConnection.imfConnection.hideInput();
                    mainTextField.setActualSize(mainTextField.width, 1024);
                    tagwrapper.visible=false; //remains visible
                    accordV.visible=false; //remains visible
                }else{
                    IMFConnection.imfConnection.showInput();
                }
            }

I also had a feature that has been resizing components on SofftKeyboard.Activate so I think that blocking the call to the StageOrientationEvent. In any case I did take all the stuff I need to do too much in the StageOrientationEvent and he settled in the SoftKeyboardEvent function.

public function resize(e:SoftKeyboardEvent):void{
                trace("activating");
                if(currentState == "landscape"){
                    mainTextField.setActualSize(1024, 350);
                    accordV.visible=true;
                    tagwrapper.visible=true;
                    togglewrapper.visible=true;
                }
                if(currentState == "portrait"){
                    IMFConnection.imfConnection.hideInput();
                    mainTextField.needsSoftKeyboard = false;
                    accordV.visible=false;
                    tagwrapper.visible=false;
                    togglewrapper.visible=false;
                }
            }

Tags: BlackBerry Developers

Similar Questions

  • Current version of the data in the database has changed since the user has launched the process of update: tabular

    Hi people

    Version of the apex is 4.2

    Oracle database: 11.2.0.2

    I have created a simple form in a table on a table with the following structure

    {code}

    Name                                                  Null?    Type

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

    TID NOT NULL NUMBER

    TEAM_NAME VARCHAR2 (30)

    EMP_NAME VARCHAR2 (30)

    DATE OF REPORT_DATE

    CATEGORY_NAME VARCHAR2 (30)

    NUMBER OF CATEGORY_HR

    CATEGORY_COMMENT VARCHAR2 (120)

    CREATED_DT                                                     DATE

    CREATED_BY VARCHAR2 (30)

    STATUS VARCHAR2 (1)

    {code}

    In the form of default table is

    {code}

    Select

    TID,

    TID TID_DISPLAY,

    TEAM_NAME,

    EMP_NAME,

    REPORT_DATE,

    CATEGORY_NAME,

    CATEGORY_HR,

    CATEGORY_COMMENT,

    CREATED_DT,

    CREATED_BY

    of ' #OWNER # '. " TIMESHEET.

    {code}

    I wanted to add an additional line inserted in the tabular presentation, that's why I included 'UNION ALL' in the query like this

    {code}

    Union of all the

    Select

    TID, null,

    tid_display null,

    team_name null,

    emp_name null,

    report_date null,

    category_name null,

    category_hr null,

    category_comment null,

    created_dt null,

    created_by null

    of the double

    {code}

    After having done that, I can see a blank line on the form of tables, but each time I fill data in the fields and press the "SUBMIT" button, I get the below error

    Current version of the data in the database has changed since the user has launched the process of update

    Thank you

    Navneet

    Why are you insert an extra line manually in tabular from?  There is a feature to add a line.

    If you want to insert a blank line when the page loads, then create dynamic action, this is a most appropriate feature.

    If you manually insert an extra line so that you have to write the update for this procedure.

    Leave.

  • HPCM error - definition model has changed since the last calculation

    Hello world

    I have a bit of a problem on an application Coordinator.

    (1) message warning when I go to balancing-> "model has changed since the last calculation."
    (2) message when I select cube considered in balancing-> 'the database has not been updated with the latest results of calculation."

    What has been done before I got to this point:

    (1) add a few lev 0 members in the current hierarchy for cost center
    (2) run a comparison to check if they are picked up (OK!)
    3) deploy EPMA (result: SUCCESSFUL message)
    4) go to HPCM and deploy the two cubes (OK-> at least is what the status of the job)
    (5) control of new members in OTL (OK! they are there)
    (6) the HPCM Calc launch, check the box to erase all data of calc prev, check the box to regenerate calcs, check the box to transfer data to the reporting cube.
    result: employment status: OK!

    But in reality: never got transferred through to the reporting cube.

    I repeated steps 1 through 6, a few times, I even changed something in the (alias) shared library to check if it went through.
    In EPMA it says that the app is 'in sync with the deployment. And when I run a comparison with deployed application, it does not pick up anything.

    Any ideas?

    Thank you

    Kind regards
    Annie

    Hello world

    Just realised I never came back with the answer to my question. I was developing the new application and starts the compilation of the Calc sequentially, so while I was developing Calc for step 2 or 3, rebuild only those scripts are calculate only the specific areas. This is the reason why I received this message. As soon as I transferred both apps and recalculated at the beginning, the error message disappeared.
    Just in case someone wondered.

    See you soon,.
    Annie

  • British English chosen for keyboard but my @ above the number 2 has changed "since the last Update. He want to come back...

    Since the last OS update two or three days ago my pre-selected keyboard has changed.  They keyboard watch my @ sign is greater than the number 2 - and it has always been up to was last updated.  Now he has changed places with the "display sign beside the semicolon key.;  I have UK chosen as my favorite keyboard, but this seems to be too governed by something else. How can I fix this to what it was?

    If you go to System Preferences-> keyboard-> input methods is your keyboard the value 'British' or 'British PC?'

    I ask that the keyboard layout of the standard British PC has quotation marks ("") above the 2:

  • Detection of change DAQmx - cancel the event error logging

    I am trying to use DAQmx for detection on some digital lines of changes. I think I installed everything in this article, but I always get error 'Error 1 has occurred to unregister events in the detection of change in Test - Error.vi Unregister'. When I change the structure to register for another event, not involving DAQmx but using the same structure, I get this error.

    I need this implementation on a code that runs for a very long time and according to the above article:

    "Use the Unregister function for events and function to destroy the user events to release the associated events and the reference of user event. LabVIEW unregisters all events and destroyed the existing user automatically events when the top-level VI end of execution. However, to conserve memory resources, National Instruments recommends that you unsubscribe and destroy the user events explicitly, especially in an application that is running for a long period of time. »

    Here are some screenshots of my comic, but also the .vi. Note that the detection of real change does not work well, it's just after I click on 'stop' I get the error generated by the "unregister to events.vi.

    Note When you transfer the .vi, I saw the issues described on this thread and had to change the name of the file...

    crossrulz wrote:

    You must cancel the registration of the event before deleting the task DAQmx.

    Delete the task implicitly cancels registration of events.  If you disable the task, rather than simply cancel, the event is already cancelled and you don't need two nodes.

    Or quite simply, the event is part of the job.  no tasks, no event and LabVIEW cleans the records for the non-existent event.  Other events that are not 'owned' by similar of e/s Sessions must use the unregister (as of the events of user)

  • I recently had my computer repaired with a reinstallation of Vista. I've also changed since my old modem to a router. Now the quality of the video is of poor quality.

    I recently had my computer repaired with a reinstallation of Vista. I've also changed since my old modem to a router. Now the quality of the video is of poor quality. But after the call to another specialist, is no better. I'm a little stuck and don't know what to do.

    original title: choppy video streaming

    Hello

    1. what browser do you use to watch videos?

    2. are you having this problem on all sites?

    If you use Internet Explorer, I suggest that you try the troubleshooting provided in the link below steps to solve the problem.

    The video problems with Internet Explorer

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

  • Current version of the data in the database has changed since the user initiated the update process.

    Hello

    I get this error message: when I update a table.

    • Current version of the data in the database has changed since the user initiated the update process. version of current line identifier = "4975F66067C6EE412FF51DF46B8C4916" line application version identifier = "31163419BE48C198DE88A34AD12FE4D2".

    I get this message when a process is used to run an update on the same table.

    BEGIN

    RUN IMMEDIATELY "UPDATE CONTRATS_MAINTENANCE SET EMAIL_SENDED = 0 WHERE ID =: 1' WITH THE HELP OF: P27_ID;"

    END;

    There is an automated line (DML) process process on the table on this page.


    I understand that I get this error message because I update the database EMAIL_SENDED in the same table column and tha the automated process line try to update the same table...

    On this page, I want to the column EMAIL_SENDED always has the value 0 (zero). It is a database column

    How to do?

    Thank you for your help.

    Christian

    If you try to make it through a normal form. So in this case email_sended is getting two values one of your FORM and one of your update statement.

    To resolve this problem, you can code in hard EMAIL_SENDED point the value '0' and keep only the database column.

    If the whenver update you will automatically take the value 0.

    Another solution would be to remove this column from your FORM and then update by creating a process after submit.

    BR,

    Patrick

  • The document has been changed since its creation and use of the extended functionality is no longer available

    I have Adobe Acrobat Reader DC 2015.016.20039 on my system. I filled a form using Foxit Reader. When I tried to open the form with Adobe Acrobat Reader DC I received the error "the document enabled extended in Adobe Acrobat Reader DC features. The document has been changed since its creation and use of the extended functionality is no longer available. Please contact the author for the original version of this document.

    I tried other PDF programs, no problem at the opening of this form.

    Ashampoo_Snap_2016.05.17_02h01m01s_002_.png

    Function "Activation reader" comes from the original shape, and it's essentially a digital signature. It is specific for the free product of Viewer PDF by Adobe (aka Adobe (Acrobat) Reader).

    The problem is that only Adobe products are able to (re) make these documents without breaking the seal of the digital signature.

    So, what happened in your case is the Foxit Viewer broke the seal during the recording of back and what's. Using Acrobat, you can save a copy of the form, and then continue will fill. Otherwise, you will be better off to start over, but stay with viewers Adobe PDF all the time, working with the form, or with a different Viewer, once again all the time you work with the shape.

    BTW, player XI and most recent no. have more need of extended for more rights blocked by previous versions of Reader. This is not enough in this case; only, it would be useful for the sender of the form.

    Update (after rereading of the original message): if it's just for viewing or print the form, you can ignore this message. You can also try to save just, you have a version of player who no longer has the rights extended (at your risk).

    I hope this can help.

  • Virtual disk parent has changed since the child was created.

    I recently had one of my virtual machines go down and I couldn't connect to access anything whatsoever, so I rode as an extra hard drive to another virtual machine in order to access the data I needed.

    Once I had finished I he took off the other VM and proceeds to the power on the virtual machine, but I got an error of:

    "The virtual disk parent has been changed since the child was created." The content of the virtual disk ID parent does not match the ID of parent matching the child content. »

    Reason: The virtual disk parent has changed since the child was created. The content of the virtual disk ID parent does not match the ID of parent matching the child content.
    Cannot open disk ' / vmfs/volumes/4e24c6fe-3c2ad61e-a57c-e4115bbbce6c/SNCTrillium/SNCTrillium-000003.vmdk' or one of the snapshot disks it depends on.

    I read upward through the knowledge base of VMWare on the modified files, but I've never had to do that before and I'm not sure about how to go on this subject as I've never used the vsphere CLI either.

    I am currently using ESXi 5.0.0 with vsphere client 5.0.0. I've attached a screenshot of the error.

    According to the snapshot between SNCTrillium - 000001.vmdk and the basic disk SNCTrillium.vmdk is broken, which means that the basic disk has been changed. I have attached an instant replacement for the SNCTrillium - 000001.vmdk with a fixed string that should allow you to open the virtual machine. However, since I do not know what and how much data has changed on the basic disk, I can't tell you how much data corruption, you will see. So you better take an another snapshot to be temporary once loading hard file attached, in order to ensure the current hard data files cannot be changed.

    André

  • Cannot update Acrobat Pro because the contents have been changed since the original installation

    My system tells me it's time to update to Acrobat. It allows me to go through the download process, but then I get a message saying...

    «The update could not be applied because the Adobe Acrobat application contents have changed since the original installation.» If please reinstall Adobe Acrobat and look for updates again.

    What I have to download all of the Suite to reinstall Acrobat?

    I use Adobe Creative Suite Design Standard v 6.0

    Yes, you must use the installation files immediately if your acrobat was part of this suite.  That is to say, your serial number work with the purchased product.

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • The virtual disk parent has changed since the child was created

    Hi all, need your help with this one.

    I deleted two snapshots and now I can not start the virtual machine.

    Get the following error:

    Reason: The virtual disk parent has changed since the child was created.
    Cannot open disk ' / vmfs/volumes/4c483d34-a8c778c4-46a5-001cc460f09e/WEBPDXXXY/WEBPDXXXY_1-000003.vmdk' or one of the snapshot disks it depends on.

    I tried that link but still did not work KB: http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC & docType = kc & docTypeID = DT_KB_1_1 & externalId = 1007969

    I can still see the WEBPDXXXY_1 - 000003.vmdk, WEBPDXXXY_1 - 000002.vmdk and WEBPDXXXY_1 - 000001.vmdk when I browse the data store.

    WEBPDXXXY_1 - 000003.vmdk

    # Disk DescriptorFile
    version = 1
    Encoding = 'UTF-8 '.
    CID = 59fab513
    parentCID = a4a63bd5
    isNativeSnapshot = 'no '.
    createType = "vmfsSparse."
    parentFileNameHint = "WEBPDXXXY_1 - 000002.vmdk".
    # Description of the measure
    RW 157286400 VMFSSPARSE ' WEBPDWEBPDXXXY_1-000003 - delta.vmdk.

    # The database disk
    #DDB

    WEBPDXXXY_1 - 000002.vmdk
    # Disk DescriptorFile
    version = 1
    Encoding = 'UTF-8 '.
    CID = a4a63bd5
    parentCID = 0f8995f3
    isNativeSnapshot = 'no '.
    createType = "vmfsSparse."
    parentFileNameHint = "WEBPDXXXY_1 - 000001.vmdk".
    # Description of the measure
    RW 157286400 VMFSSPARSE ' WEBPDXXXY_1-000002 - delta.vmdk.

    # The database disk
    #DDB

    DDB. Deletable = 'true '.
    ddb.longContentID = "ab1b7008e386c884ae920930a4a63bd5".

    WEBPDXXXY_1 - 000001.vmdk

    # Disk DescriptorFile
    version = 1
    Encoding = 'UTF-8 '.
    CID = 0f8995f3
    parentCID = 926f96fa
    isNativeSnapshot = 'no '.
    createType = "vmfsSparse."
    parentFileNameHint = "WEBPDXXXY_1.vmdk".
    # Description of the measure
    RW 157286400 VMFSSPARSE ' WEBPDXXXY_1-000001 - delta.vmdk.

    # The database disk
    #DDB

    ddb.longContentID = "0336846d9f849b4b97ad028f0f8995f3".
    DDB. Deletable = 'true '.

    WEBPDXXXY_1.VMDK

    # Disk DescriptorFile
    version = 1
    Encoding = 'UTF-8 '.

    CID = 926f96fa

    parentCID = ffffffff
    isNativeSnapshot = 'no '.
    createType = "vmfsRawDeviceMap."

    # Description of the measure
    RW 209715200 VMFSRDM ' WEBPDXXXY_1 - rdm.vmdk '.

    # The database disk
    #DDB

    ddb.toolsVersion = "8295.
    ddb.adapterType = "free".
    DDB. Geometry.sectors = "63".
    DDB. Geometry.Heads = "255".
    DDB. Geometry.Cylinders = "13054.
    DDB. UUID = "60 00 C2 92 41 62 5 d 8f-10 59 12 60 53 0 to a8 94.
    ddb.longContentID = "b204c5bc523bbc83c01dd3ed926f96fa".
    ddb.virtualHWVersion = "7".
    DDB. Deletable = 'true '.

    Is there a chance to run ls-lisa from the command line (SSH) in the virtual machine folder and provide the output!

    I ask because I'm a little worried about the timestamp of the hard (May 2011). Depending on the size of the files in the snapshot, it seems that the second virtual disk is not really used by the guest operating system and we could come back manually (by editing the .vmx file) on the resized basic disk (100 GB compared to 75 GB for snapshots) without losing important data!

    If you want to revert manually,

    • delete the virtual machine of the inventory
    • backup and then edit the .vmx file (replace "WEBPDMAPPD_1 - 000003.vmdk" with "WEBPDMAPPD_1.vmdk")
    • Move 3 snapshots in a directory temporary sub
    • Add the virtual machine to inventory
    • create a new snapshot to prevent the current hard files to be modified
    • Turn on the virtual machine

    If everything works as expected, you can delete the snapshot files moved and remove the snapshot created in the Snapshot Manager again.

    André

  • "The current version of the database has changed since... "Error

    Now I downloaded my application at the APEX. ORACLE.COM and my workspace is PSGCA and I have problems with the page 310 - details of the Bill.  How can I get the APEX. ORACLE.COM gurus to look over the page?  I'm having a problem with the part detail of this master-detail page.  Specifically, if I add data or update data to the captain only section, no problem.  This is when I need to update the data on the detail starting with my problems section!  If I add to the start of the line, no problem.  If I add information to a field null, no problem.  The problem arises when I want to change the HOURS/DAYS and COSTS.  He will take the initial value, but if I want to change then I get the error "database version has changed since... »

    No indication of this error would be greatly appreciated!

    Do you guys need for me to add table definitions and sample data.  In the past, I was told that it was not necessary; everything you had needed was the page.

    Is this correct?

    Can I add data and table definitions?

    For some reason that I could reduce it to the format mask on the expenditures column, which has been

    999G999G999G999G990D00PR
    

    When I changed it to

    999G999G999G999G990D00
    

    everything magically started working.

    For people wondering about the PR:

    PR

    9999PR

    Returns negative value in .

    Returns the positive value with a beginning and end empty.

    Restriction: The PR format item can only appear in the last position of a model number format.

    Documents: http://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements004.htm

    I'm not sure why this particular mask causes. Because checksums are generated, I ran this sql to take a guess:

    select
    DBMS_OBFUSCATION_TOOLKIT.md5 (input => UTL_RAW.cast_to_raw(exp1)) md5_val1,
    DBMS_OBFUSCATION_TOOLKIT.md5 (input => UTL_RAW.cast_to_raw(exp2)) md5_val2,
    DBMS_OBFUSCATION_TOOLKIT.md5 (input => UTL_RAW.cast_to_raw('1.00')) md5_val1_1,
    DBMS_OBFUSCATION_TOOLKIT.md5 (input => UTL_RAW.cast_to_raw('1.00')) md5_val2_2
    from (
    select
    expenses exp1,
    to_char(expenses,'999G999G999G990D00PR') exp2
    from invoice_details
    ) a
    

    which produces this output.

    MD5_VAL1 MD5_VAL2 MD5_VAL1_1 MD5_VAL2_2
    C4CA4238A0B923820DCC509A6F75849B 4DF59D42C9EE6119AEB2ADC95E7B7CF6 41CF2677CC4EC9356DAD8E76DFB87448 41CF2677CC4EC9356DAD8E76DFB87448

    Still not sure, but maybe it's to do with how and when checksums are generated?

    A space of drawing here - as you can see there is no guru, ace or oracle badge under my name, so I'm sure

    I've made changes on page 310, make backup to 24 but probably is not serious because your application is local. Probably no danger of change your credentials and/or remove your application.

    impressive effort on the example. This helps us better help you!

  • Currency of the line has changed since the user interface has been made on creating

    Hi all

    I'm ' currency of the line has changed since the user interface has been made. " The key to the planned line was oracle.jbo.Key' error on create action. Use case is simple. He saw table and create a button. When I click the Create button, I get this error. Back button of the browser is never used.

    The strange thing is that I don't get this error when I run my application on your premises. However, after I had it deployed in real development environment, he started up this error and I do not get this error on other pages.

    JDeveloper Version: 11.1.2.2.0 (JSF 2.0)
    Weblogic Version development environment: 11.1.1.6

    Kind regards
    Anil

    Same question: do you have the correct version of the runtime ADF your server?

    Timo

  • Instant restore: the virtual disk parent has changed since the child has been created

    Buenos dias,

    A worm if someone is ha sown con este problema y me can echar UN cable.

    Al trabajar con una maquina virtual en local con el disco en un disco external depuradora, to me broken instant crear of the United Nations (por el disco local creo en lo disgrace).

    Al use esta Máquina in casa, arranco perfectly, claro, pero sin los datos del snapshot.

    Hoy al arrancarla in the oficina ha generated a conflict: "the virtual disk parent has changed, since the child was creates," ha detectado what ha modified the virtual machine after ultima grabación del snapshot, no permite arrancarla.

    Could eliminando el solucionarlo snapshot, pero no puedo perder todo lo as he ido generating information.

    Alguna idea?

    Para eso estamos DiegoPS.

    No olvides close the discusion marcandola como respondida.

    Saludos,

  • Problem with a VM server: "the virtual disk parent has been changed since the child was created.

    Hello!

    I have a problem with a server that does not start.

    We had a virtual machine running on VMWare Infrastructure 3 with two hard drives and an instant backup of them.

    This machine has been removed from the inventory, but when it has been recreated, the secondary hard drive is mentioned for the basic-disk vmdk
    instead of being referenced to the instant vmdk and used for a few days.

    All changes made after the snapshot, were kept in the delta snapshot file, which is not loaded.

    We are with difficult to reference the secondary disk for the snapshot file. We tried to edit the .vmx and hard disk files
    to correct the CID made reference, but when we try to start the virtual machine, we got this error:

    "The virtual disk parent has been changed since the child was created.

    I think it happens because we made a blow-up of a secondary drive a few weeks after the backup snapshot. We spent 30 GB to 50 GB.
    And because it has been referenced and used in another vm.

    *** Log is attached

    Thank you

    Bruno.

    It is a bad sign

    next step in the usual forest is to use "testdisk" since a LiveCD to set the tables MBR and partition - if possible

Maybe you are looking for