How to delay a process

 onClicked: {
                    ann.play();//It's an animation
                  // Here i want to add some delat likeThread.sleep() in java. the navigation to second page should happen only after complete the animation.
                    var page2 =second.createObject();
                    nav.push(page2);
                }

I would like to add a few likeThread.sleep () of delay in java. navigation on the second page should fill occur only after the animation.

pls help me.

You can use a signal to detect the end of the animation
https://developer.BlackBerry.com/Cascades/reference/bb__cascades__abstractanimation.html#function-en...

Tags: BlackBerry Developers

Similar Questions

  • How to delay a PXI-5122 trigger before routed to string of PFI

    Hello world

    I use a PXI-5122 in a PXI chassis. I want to synchronize with two external devices. The first will send a trigger (with a 10 Hz repetition rate) for PXI-5122. Then PXI will generate a trigger (with a constant delay) in the second.

    It seems that I need to generate a trigger, then export this trigger to PFI 0 line, but I do not know how to delay triggers with a timeframe of 4µs. I read that there is a slight delay between a trigger on the PFI and the first sample. And the length of the cable is also an important factor to consider.

    Could someone give me some suggestions?

    Wednesday,

    Thanks for the drawings, that helps a lot!  Somehow, I see this work (how to set up the scanner):

    1. set up the record length to be 12us (4us trigger samples, 8us after outbreak).  If the sampling frequency is 100 ms/s, that would be a record length of 1200 samples.

    2 configure the position of record reference to 33%.  That's how the digitizer breaks 1200 400 samples according to trigger before triggers and 800 samples.

    3. configuration of triggering immediate reference.  This will allow the acquisition of trigger the moment she gained 400 before triggering samples.

    4. export the "reference trigger (Stop)" to send to Device_2.  This output pulse is of variable width, so if you want consistency, you will need to the Device_2 trigger the rising edge of the pulse, did not not fall m.  Once 400-pre-trigger samples are acquired, this impulse will be sent, and then the scanner will be immediately habitable after initiation of sampling.

    5 configure the trigger of the entrance of Device_1 (10 Hz trigger), as the 'Advance trigger' and 'Start Trigger'.  This will make the digitizer wait this impulse to start sampling before the next record.  We set up, the relaxation of beginning to the 1st record and the trigger in advance for all subsequent records.

    This facility should allow a pretty decent timing, but please test to be sure that it will be sufficient for your application.

    Kind regards

    Nathan

  • How can I use process explore check PID 1176 60% CPU svchost.exe? Help, please.

    As the title, how can I use process Explorer to check PID 1176 60% CPU svchost.exe? Help, please.

    The task manager has PID 1176-60% CPU, all the time, which I believe is the reason my pc works so slow.

    How to use Exp Pro to know what is actually using 60% of my cpu, via svchost 1176 PID?

    I found the Exp Pro Geek guide - but are struggling to pass for a non geek.

    Using Vista 32 bit.

    Thanks in advance for any answers.

    Process explore uses more resources than svchost, it works automatically using a lot of memory. Anyway, the open task

    Mgr, locate the svchost, R.click on the location of TI/properties/open a file. You will find that it is a service of microsoft.

    The drain is usually in BITS, try to go to run, or cmd, type: services.msc in msc, locate BITS, R.click on it, open,

    Set to manual start, exit msc, restart the pc.

  • How do the MSDT process?

    How do the MSDT process while making new install with upgrade key?

    Your question might be the best answer in the dedicated forum configuration and deployment on TechNet:

    Windows 7 installation, Setup, and Deployment Forum

  • How to find what processes are running on my computer and use it from memory?

    * Original title: find running processes

    How to find what processes are running on my computer and use it from memory?

    You can press Ctrl-Shift-Escape to see which processes are underway and those who is using memory (and how much they use).  Although the memory usage is not as important as how they use lots of CPU, which is what can make your computer slow if there are too many programs use the CPU at the same time.  For memory, even if she says that he uses a lot, an inactive program ' pages on "memory to the hard disk and it frees room for other programs to use, is not as important as the CPU generally (unless you are very very low on memory).

  • How to call javascript process?

    Hello!

    I have a button Delete which redirects to url:

    javascript:apex.confirm (htmldb_delete_message,'DELETE_CONFIRM_MSG');
    
    

    And a process that is placed after validation.

    How to call this process, I put the button to zero State and condition the type of request = Expression 1 and tried the two doDelete and confirmDelete in the expression field, but it does not work.

    How can I call the process?

    Hi EgaSega,

    Give you an example, try something like below

    (1) change your page

    Create the javascript function in the HTML header

      
    

    (2) of the button calls the javascript function

    action button: "URL redirect".

    Target URL: javascript:f_execProc();

    (3) modify your process

    In Conditions

    When you press the button: no condition button

    Condition type: request = Expression1

    Expression1: REMOVE

    Hope this helps you,

    Kind regards

    Jitendra

  • How to automate the process of loading data using load file & Task Scheduler

    Hello

    I do the automated processes to load the data into Hyperion Planning application using the file data_Load.bat & Scheduler of tasks.

    I created Data_Load.bat file, but the rest of the process, I cannot complete.

    Could help you me, how to automate the process of loading data using the file Data_load.bat & task Scheduler or what are the rest of the file is require it to achieve.

    Thank you

    In response to your question using the maxl for loading scripts?

    If Yes, I've seen and deliver in the batch (ex: load_data.bat) that is you do not have the path of the maxl script complete with a batch when passing through the event the task scheduler will work, but the log file and / or error will not be created. Which means lots claims it linked task scheduler, although he did not do what you need to.

    If you use maxl use this as the batch

    "essmsh C:\data\DataLoad.mxl" or you can also use the full path for the maxl or work elsewhere. The only reason why I think that the maxl can then not work is if you do not have the updated batch updated to call on all LANE changes maxl or if you need to update your environment variables to correct the command essmsh to work in a command prompt.

  • How to end a process of each queue?

    Hello

    How to end a process of each queue to the user in a workspace after the date limit? Suggest ways or orchestrations that can put an end to the process.

    Thank you

    Jaison.

    What is a task or just a notification that remains in the queue for the user?

    Jasmine

  • How to implement the process Train in Jdev 10.1.3

    Hello..
    Anyone know where to find a tutorial on how to implement the process train in jdev 10.3.1

    Thank you

    http://download-West.Oracle.com/docs/HTML/B25947_01/web_complex005.htm#CEGIGJID

  • How a shared single process variable be FIFO and single element?

    How a variable shared unique process can we both FIFO and the only element at the same time?

    I read the NOR recommended for communication between a loop deterministic and non-deterministic loop.  He is said to use SVariable ingle-process Shared FIFO and single element.  OK I can't have something... because in my mind these two things must be mutually exclusive.  How do you have a single item 1?

    What 'RT FIFO activé' means, that when you use the variables shared in a timed loop it actually is written to a RT FIFO created automatically.

    The key here is that generally shared variables are shared resources and can add jitter to deterministic tasks if another loop uses the variable at the same time as your loop of deterministic.

    So here's the takeaway, when shared with RT FIFO active Variables using:

    • Normal loops read and write the shared variable in the same way as they always do.

    • Call loops read and write a FIFO RT rather

      • The data is automatically passed between the RT FIFOs and shared in a nondeterministic loop variable

    RT FIFOs exist because their architecture referred to as non-blocking so that when the timed loop trying to access it is guaranteed immediate access to a memory space.

    Does that answer your question?

  • How to start the process of "NI_SystemState"?

    In my Distributed System Manager, I found NI_SystemState process on one of my systems of RT.

    I don't know when and how the process has started.

    The engineering Application of NI Tao li | [email protected] pointed out the result.

    The process is published by the RT himself system. I need install a server named "systemstate" RT target published.

    http://digital.NI.com/public.nsf/allkb/F1AB535F1BD7F1578625780700237A3D?OpenDocument

    http://digital.NI.com/public.nsf/allkb/F4D776187EFCC30986256EFC007FC922?OpenDocument

  • How to increase the processing speed by connecting to another computer via USB - USB cable

    Share laptop processing power. Windows 8, Windows 7

    Hello

    I was wondering if I could increase my processing power by connecting a portable alternative to mine via a USB to usb cable. If anyone knows how I would go to do that, or if it is possible I would like to know. I searched on google but not found all the answers.
    If this can help, my laptop is running Windows 8 32-bit preview developer, and the portable alternative is running as Windows 7 Ultimate 32 bit.
    Any help would be greatly appreciated.
    Thank you very much
    Mike

    Hi MichaelSenior,

    You will not be able to increase the power of a computer processing by connecting it to another computer via a USB cable or by any other means.

    In order to increase the processing power of your computer I suggest you check with your computer manufacturer to see if you can pass any hardware on your computer.

    Example: Increase the size of the memory on your computer or upgrading the processor etc...

    Hope this information helps you.

  • How to delay and trigger output for redeclenchables DAQ

    I make redeclenchables data acquisition based on the technique described here and that my departure point couple year I used joint comes with LabVIEW example.

    What I realize now is also already done that I need to delay the recognized outbreak and output as a trigger for any other device signal.

    How to make a simple diagram:
    Trigger is recognized-> DAQ [which works perfect already more than a year]
    -> wait 100ms-> exit the trigger [to be added]

    Using Windows XP edition family, NI PCI 6110

    I thank you in advance to anyone interested


  • How to kill a process that won't die in Win7 when I use the Task Manager to end?

    How can I terminate a program (kill a process) which does not take account of any attempt by the Task Manager to kill the process?  The program is MagicJack.exe.  It's a * program 32.  Win7 v7200 it contains no message.

    You can use the program 'process explorer' written by mark russinowich from sysinternals... it is available on the microsoft Web site... try the link below and you know what I mean...

    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx
    Best regards, H.M. KOWSHAL a.k.a W@R10CK

  • How to delete the process and free up memory?

    Hi - I have 110 processes running, using the memory of 78%.

    It started quite recently and I had the computer a long time.  I have a JPG file with a list of processes. I don't know how to tell which I can remove.  And, since I don't know how they all got here in the first place, I don't know what to do to avoid this problem in the future.

    I use WebRoot, which always has me protected in the past, so I'm not sure it's a virus.

    I would appreciate your help.

    With all due respect, you should have mentioned the 'insufficient memory' message in your initial post. He told respondents much more than your question rather generally on the liberation of memory.

    'Insufficient memory' usually means that you have a request for misconduct, one causing "a memory leak" by requiring increasing amounts of memory until none is left. You could easily find by clicking on the working set column heading so that the application to memory greater demand floats to the top. Observing this display for a few hours, you will soon know where the leak occurs.

Maybe you are looking for

  • IOS app showing "disconnected" after update to IOS 9.3.2

    Well, it seems that I can access is no longer my actions on my iPhone after updating to IOS 9.3.2,and the app shows my NAS as 'Online', but the actions all show "disconnected." If I'm on WIFI it connects fine and shows "connected (LAN)" cell data are

  • iPhone 5 s - screen look bad - could not open the phone

    We cannot unlock iPhone 5 s my son - the screen just flashes blue and striped and then dies.  How can save us her videos before restoring if we cannot even open the phone? We are anxious to plug it into my Macbook, where there is a virus on it. Can a

  • E-all-in-one printer, HP Photosmart 5520 connected to the network but not detected by computers

    Hello! My printer HP 5520 indicates that it is connected to my network, but the wireless printing does not work correctly. In the implementation of the process of the driver software the printer displayed after resetting my router, a Huawei HG655d. I

  • How to check if condition. ??

    Hello Alert (isOtherAlertPresent) / / this fake show {if (isOtherAlertPresent)}Alert ("Yes");document.getElementById('alertIcon').style.visibility = "visible";                 }else {}Alert ("no");document.getElementById('alertIcon').style.visibility

  • Call Shell Script from within PL/SQL - using DBMS_PIPE

    Hi allI'm trying to run a shell script inside my PL/SQL using DBMS_PIPE block (not sure if this is the right way or not)Pl Sql script==========Set serveroutput size 100000declarecursor c1 is select * from mag_imageswhere nom_image like '% comp2.v_pat