How to hide and resume a native activity in flex app

what i want to do is like this:
(1)start an activity by the native extension when lauching the application and then display a list for users to choose
(2)make a choice and send it back to the flex
(3)flex does something and then jump to the native list above for users to choose
the problem is:
how to hide the native activity in step(1) and how to resume it in step(3)?
as the download of the native list wastes much time, i dont want to destroy the native activity and recreate it.
can anybody help? i will be thankful!

You probably know by now but I though maybe a could actualy
answer someone question.
{Application.application.parameters.name)
put that in mx:text and you can see the var "name"

Similar Messages

  • How to hide and then unhide AD objetcs?

    Dear all,
    I want to know how to hide and then unhide AD objects?
    Thanks
    Regards

    Microsoft
    Active Directory (AD) has decent capabilities for setting permissions on objects. You can use these permissions to allow delegated administration of users, groups, or computers to any security principal. In this way, many daily operations don't need to
    be performed by domain administrators. But when it comes to making specific data visible to only those users who need to see it—either because typical users shouldn't see the objects or because the data is truly confidential—the default AD permissions can
    make the task rather complex.
    Using the Confidentiality Bit to Hide Data in Active Directory
    http://windowsitpro.com/active-directory/using-confidentiality-bit-hide-data-active-directory
    Regards,
    Biswajit
    MCTS, MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, Enterprise Admin, ITIL F 2011
    Blog:
      Script Gallary:
      LinkedIn:
    Note: Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights..

  • How to Create and Test a Zone of Type F1-APP-URL

    Hi,
    I would like to how to create and test a Zone of Type F1-APP-URL?
    What all is required to setup an ADF application based URL in F1-APP-URL, what to configure and what are the basics or definite steps required to have a Zone of Type F1-APP-URL up and running in the application? Any Sample ADF components to be created?
    Please kindly let me know. Any test or dummy URL existing already which is based on ADF?

    Refer to Doc. Id 1515146.1 on the support site. Although for the moment it refers to a MWM example and may not be much of a help but it'd give a basic idea as to how it should be done.

  • How to Install and Configure Workflow For PO in Oracle Apps Version R12

    Hi,
    Please do let me know how to install and configure Workflow for Purchasing in Oracle Apps R12 Version.
    I want to the standard setup of workflow configuration for the PO.
    Thanks and Regards
    Srini

    Hi Suresh
    Only the latest version of WLP which is WLP 10.3.2 has facility to integrate with Oracle UCM with Adapaters. So make sure that you do have this latest version of WLP 10.3.2. Older versions like WLP 10.3 do not have this provision.
    Also I guess when you install and configure this Oracle UCM Adapater and choose above WLP Home, I guess these modules may be added in already installed WLP folders. I checked on my side for WLP 10.3.2 and I could NOT find the modules you mentioned. So most probably you may be missing some installation/configuration stuff from UCM side.
    Thanks
    Ravi Jegga

  • How can i track my ipod without activating any special apps?

    how can i track my ipod without activating any special apps?

    You can't.  You have to already set up the FidfMyiPhone feature of MobileMe.

  • How to hide and show Omniportlet based on user privileges

    hi all
    I am trying to hide or show an Omniportlet based on user privileges, which means accessc control on portlet-level for Omniportlet. But I couldnt find out how to do it.
    According to Portal Developer's Guide:
    You can hide and show portlets built with Web Clipping and OmniPortlet on portal pages dynamically by using security managers. Although Web Clipping and OmniPortlet do not expose security managers through the user interface, you can apply them by editing their XML provider definition file.
    Question is: where can I find that XML file? Is this file accessible and configurable somewhere through Portal Enterprise Mgr?

    Hi,
    I don't think you can edit this file through Enterprise Manager. Atleast as far as I know. But its available on the server. I have a NT installation and I found it under:
    D:\oracle\Mid_tier\j2ee\OC4J_Portal\applications\portalTools\omniPortlet\WEB-INF\providers\omniPortlet
    You might want to restart the Portal application through OEM after you change this file.
    Hope this helps,

  • How to upload and resume upload over webservice !!!

    Hello everybody ! I have two problems:
    Content:"I want to have the functions (upload and resume) . I write javaDesktopApplication and call these functions over webservice.
    Please give me your ideas and help me!!!
    I thank so much!

    I have just wirtten some code:
    Every body read and give me idea.
    + On client:
    int chunk =1024;
    byte[] Buffer = new byte[chunk];
    String filePath = jTextField1.getText();
    File file1= new File(filePath);
    FileInputStream is = new FileInputStream(file1);
    try { // Call Web Service Operation
    org.fos.WSfosService service = new org.fos.WSfosService();
    org.fos.WSfos port = service.getWSfosPort();
    port.http(Buffer , jLabel2.getText(), is);
    System.out.println("Result = "+result);
    } catch (Exception ex) {
    // TODO handle custom exceptions here
    + On server:
    @WebMethod()
    public void http(byte[] Buffer, String FileName, FileInputStream is)
    String pathUp ="D:"+ File.separator + "upload" File.separator FileName;
    try
    FileOutPutStream os = new FileOutputStream(pathUp);
    int readBytes;
    while( (readBytes =is.read(Buffer)) != -1)
    os.write(Buffer,0,readBytes);
    is.close();
    os.close();
    catch(Exception ex)
    System.out.println( ex );
    }

  • How to stop and resume smart card reader handle using OCF framework

    I need to stop the reader handle and transfer the handle to other application and after reply from that application, i have to resume the reader handle.
    I tried Smartcard.shutdown and then I used SmartCard.start but it doesnt help.
    Can anyone help me to sort out this issue?
    Provide some sample code if possible.
    Thanking you in advance.

    with ocf you have CardTerminal instances to represent readers.
    Did you try the close() method on your CardTerminal instance?
    afterwards, you can open() it.

  • How to stop and resume a subVI from the main VI?

    I am trying to write a test sequencer, I need to start a subVI (which is a test sequence) from my main VI, I'd like to control the execution of subVI by pressing the 'stop' 'resume' 'jump step' button in the main VI. Does anyone have any idea how to implement this in LV?
    Thank you.

    Yay for State Machine!! I would actually recommend the State Machine Using Events design pattern. Taking advantage of the Event Structure will allow you to replace the "Idle" state in the traditional state diagram design pattern. Instead, we are not waking LabVIEW to handle particular events on the front panel.
    More information regarding the State Machine design pattern as well as design patterns in general are available:
    NIDZ Tutorial: Changing the Face of Design Patterns with LabVIEW 7 Express Event Structure
    NIDZ Tutorial: Applicati
    on Design Patterns: State Machines
    LabVIEW Application Design Patterns
    Good luck.

  • How to stop and resume the animations of nested movieclips

    Hi
    I have many nested movieclips  in different positions of the main timeline.
    I have 2 buttons, play_btn and pause_btn.
    I'd like when the user click pause_btn, the animations on the main timeline and in nested movieclips stop.
    Whe he click play_btn the animations resume in both the main timeline and nested movieclips.
    I have created array of nested movieclips on the main timeline.
    var arr:Array = new Array(mc1, mc2, mc3, mc4, mc5);
    play_btn.addEventListener(MouseEvent.CLICK, on_play_btn);
    pause_btn.addEventListener(MouseEvent.CLICK, on_pause_btn);
    function on_play_btn(e:MouseEvent):void
         gotoAndPlay(currentFrame);
         for(var i:Number = 0; i < arr.length; i++)
             if(arr[i] != null)
                 arr[i].play();
    function on_pause_btn(e:MouseEvent):void
         gotoAndStop(currentFrame);
         for(var k:Number = 0; k < arr.length; k++)
             if(arr[k] != null)
                 arr[k].stop();
    but it only stops the animations on the main timeline and dosen't stop the animations in the nested movieclips.
    Help me Please.

    I'm having the same issue.I have a main timeline, which has nested movieclips with there own timelines and motion tweens. Using the new motion tween, and not the classic tween, which may or may not be the problem.
    Was having a similar issue with stopping the timeline, the main timeline would stop, but the nested movieclips would keep going. Found this blog post that helped.
    http://blog.nobien.net/2009/02/05/as3-stopping-all-timeline-animations/
    Used the code below to stop everything by passing the stage as the displayObject. Worked great, but now i'm having the reverse issue. When I resume play, the nested movieclip timeline stays exactly where I stopped it, and the main timeline resumes play. If there are a 100 frames in the nested movieclip, once it reaches the 101st frame, the main timeline kicks in again.
    function stopAllChildMovieClips(displayObject:DisplayObjectContainer):void{
            var numChildren:int = displayObject.numChildren;
            for (var i:int = 0; i < numChildren; i++) {
                var child:DisplayObject = displayObject.getChildAt(i);
                if (child is DisplayObjectContainer) {
                    if (child is MovieClip) {
                        MovieClip(child).stop();
                        stopAllChildMovieClips(DisplayObjectContainer(child));

  • How to hide and show button based on if row is selected in tabular form

    Hi,
    Im pretty new to apex. I am using version 4.1. I have a tabular form and what i want to do is only have the delete button show if i select a row from the [row selector] column. Can this be done using a dynamic action? I have tried it that way unsuccessfully. Please help or let me know if you need any more information.
    Thanks

    Do you mean if the check box is selected in the row?
    Assign a static ID to the delete button, e.g. MY_DEL_BTN. Look for "Static ID" under the Attributes section of the button.
    If so, make an advanced Dynamic Action based on Click and a jQuery selector. Usually, this element is name "f01" but, you need to make sure. Assuming it is "f01" then your jquery selector would be:
    input[name="f01"]set the event scope to live.
    Your dynamic action will fire JavaScript. (BE SURE TO UNSELECT FIRE ON PAGE LOAD). To make sure you have the right jQuery selector, at first just put a pop up message in the JavaScript.
    alert('You Clicked the Row Selector!');Run the page. Click the row selector. If you get the pop up you have specified the jQuery selector correctly. Yay!
    Then, assuming the above is correct. You can now determine if any have been selected.
    Now, set it back to SELECT TO FIRE ON PAGE LOAD (You want the delete to be hidden when you first open the page).
    Change your JavaScript to this:
    var checkedCnt = $("input:checked").length;
    if( checkedCnt > 0 )
       $('#MY_DEL_BTN').show();
    else
       $('#MY_DEL_BTN').hide();
    };-Joe

  • How to hide and unhide scrollbar at runtime

    I have a multiline item and i attached a scrollbar to this item. However, I only want the scrollbar to appear when my input text is more than the multiline text. Suppose my multiline can allow 5 lines, If i want to go to the sixth line that is when i want the scollbar to appear

    Ade
    You cannot set the items multi_line property. Instead you can check if multi_line has been set to true or not.
    DECALRE
    V VARCHAR2(10);
    BEGIN
    V := GET_ITEM_PROPERTY('ITEM_NAME',MULTI_LINE);
    END;
    MULTI_LINE will return TRUE /FALSE ( a varchar2 type).
    For more details, check the documents on SET item_property on what all properties that can be set .
    Cheers... Bob

  • How to divide and load parts of Large Adobe AIR app for Android

    Hi!
    I want to create an app for Android but it will quite large. It will be larger than the 50MB offered by Google Play Store. This means that I need to find a way and break the app and load parts of it when I need them. Imagine it like minigames inside a bigger app.
    It is not clear to me how to achieve this since every time on AIR, I can export and APK file for a mini-game let's say. Can I later download APKs and integrate them into my main app? How would this be possible? Another question that I have is: In order for a SWF to play on my app, it needs to be built by AIR for Android?
    The best case would be to download content from In-App purchases and integrate in my app.
    But these things are not so clear.
    Thanks in advance for your help and support.

    I don't know how your application is structured, but if you can split sections off into separate SWFs(plain AS3 document) then you could host those section SWFs online and require the user to download them on first run.
    You could use the FileReference object to download the SWFs, save them to the File.applicationStorageDirectory, and then display/load them up with the Loader object when needed from the app storage directory. You would possibly need to check to see if the files are present at every boot of the app though as a user could "Clear Data" or "Clear Cache" of the app in the Settings of their device and one or both of those could/would delete the downloaded files.
    FileReference - Adobe ActionScript® 3 (AS3 ) API Reference

  • How to compile and deploy an ejb into Sun ONE app.server 7.0

    I am new to Sun ONE application server. I Have .java files and deployment descriptor files with me. How should proceed. When i tried to use asant it is saying that build.xml not found. I copied build.xml from some other directory to the current directory. Then it is saying that common.xml not found. Please help.
    Regards,
    Nagaraju.

    Hi,
    The build.xml file should be in a directory from where
    you are running the asant command.
    To resolve the common.xml file not found error,
    open your build.xml and check from which location the common.xml file is incuded.
    In the sample application it is four directories above
    the directory where build.xml is located.
    You can copy the common.xml in the current directory and then change the following in your build.xml
    <!ENTITY include SYSTEM "../../../../common.xml">
    to <!ENTITY include SYSTEM "common.xml">
    Hope this helps.
    Get back in case you have more issues

  • How to write and check log for windows phone enterprise app

               We have developed a windows phone enterprise app for our customer, this app will be deployed thorough MDM solution, that is , being installed automatically after the device sucessfully enrolled into the MDM server.
               Our customer required that if this app failed, there should be some log file they could send to us for identify the cause.
               So we catch exception in the app and write the exception message into IsolatedStorage as log file , as following:
    var appStorage = IsolatedStorageFile.GetUserStoreForApplication();
                        using (writer = new StreamWriter(appStorage.CreateFile("errlog.log")))
                            writer.WriteLine(format, arg);
                            writer.Close();
                There seemed no problem to write the log with above code. but the problem is , how can the user get the errlog.log to send to us? I tried both Windows phone power tool and IsoStoreSpy tool,  they both seemed
    not able to read the isolatedstorage for the application to get errlog.log due to this application not installed by themselves.
              Any suggestions?
    Many Thanks
    Jennifer

    The easiest way I see to achieve this goal is to provide a feedback page, search on app local storage to find the log file, ask the end user to click button to submit any feedback and post the log file. You can set up a server to receive that file.
    Try read this blog about consuming RESTful service in windows phone programming to get started.
    http://blogs.msdn.com/b/wsdevsol/archive/2014/01/09/consuming-rest-services-in-your-windows-store-and-phone-applications.aspx.

Maybe you are looking for

  • Iphone 5s not picking up home Wi-Fi and/or very poor signals even in downtown area

    Switched to Verizon and bought IPhone 5s less than 3 weeks ago. It was fine the first week then suddenly it won't recognized my home wi-fi and got very poor wireless signal. I have my old IPhone 4s and it works fine like a charm for wi-fi. It keeps r

  • How do I delete a file sharing account?

    I was setting up Time Machine on my wife's new Air to back up to a USB hard drive on my iMac. When I was sharing the drive, I added her as a user and must have mistyped the password as I can't login. I've set up a temp account and all is well with Ti

  • Is there a compatibility issue with the Current USB 3 external Hard drives and MacBook Pro 2011 (USB 2)?

    I am currently having bad hangs with my 13" MacBook Pro (2011) which I book 2012 ad a New external Harddrive (WD My Passport Edge) which was given to me as a gift. Friends of mine told me there is a compatibility issue between the USB 3 cord and the

  • Creating User Components

    Is it possible to create a custom component or function in Flash 8 that performes a set of complex animation features but that can be hidden from the user such that they can distribute or modify that code. Example I to license a custom animation tool

  • Creating background for sub-titles?

    I remember in FCP7 I could make a custom 'solid' clip, resize it small, make semi-opaque, position it behind the sub-title, then use some kind of edge-softening plug-in from the effects bin ... which would take away the sharp edges of the semi-opaque