Is it possible to include a native executable in the extension package?

Hello

I need to call the native code of the CS using the NativeProcess API extension.

Is it possible to distribute a native executable file in the extension package?

It seems that there is a way to include a 'regular' in a hybrid extension file, however, the file must be installed in one of the predefined locations (for example, "$applicationsupport").

The problem is that to create a NativeProcess object in the extension code, I need to know the correct executable path, and I can't seem to find a way to know where exactly the executable file was placed by the installation of the extension program.

Is it possible to install an executable file in the folder of the extension (that I can get to CSXSInterface.getInstance (.getSystemPath(APPLICATION)))?

Thank you

Anatoly

Is it possible to install an executable file in the folder of the extension (that I can get by using CSXSInterface.getInstance () .getSystemPath (APP))?

Well Yes, the answer depends on how you are packaging your extension.

If you use the Builder Extension, you just need the executable file and are automatically copied into the folder bin-debug during the build process. The easiest way to do this is to put the executable file under src / folder. Another option is to make your own resources / directory and add it to the project's source path (see the section "Adding resources files, the path of the source project" here: http://help.adobe.com/en_US/Flex/4.0/UsingFlashBuilder/WS6f97d7caa66ef6eb1e63e3d11b6c4ce74 9 - 7fd8.html). Once you have copy to the folder bin-debug, you're ready, you can start or export as usual and your executable will be reflected in the record of the extension.

If you use ucf.jar, just make sure that your executable is the file extension that you're packing.

You will need to should not create a hybrid extension in order to have a CS extension that uses NativeProcess.

Tags: Creative Suites

Similar Questions

  • Export release build, not including data XML files in the apk package

    Hi, all.

    I have a flash pro project I packed for AIR according to these steps:

    http://Renaun.com/blog/2011/09/using-Flash-builders-mobile-workflow-with-Flash-professiona l-projects.

    There are two differences:

    1. I am loading XML from right next to the swf files
    2. The Flash Pro project and the project Mobile share a directory that is outside of these two projects (this was the workflow already established in the public Service, given that several sovereign wealth funds share the same XML file).

    When I test this on my phone, it adds the XML files to the apk and everything works great. The problem I have is that the export Release Build does not include XML files, and I don't see anything in the Flash Builder interface that looks like it will allow me to add more files than the swf file and the app.xml.

    android.png

    What Miss me?

    Love - your comments helped me to think about this and get to the essential part that missed me. I've marked it useful, because it has shown the way.

    I'm not a big fan of scoring own "correct" answers, but I'll do this time so that people can easily find the steps.

    The error I thought that the "Debug on the device" was wrong to get an AIR debug version, because the swf file was not a debug swf.

    I did not understand that if I clicked on the button run, it would also be a version out to push to the unit, and that this version would not give the message "waiting to connect to the debugger.

    The entire process that you get when you click on 'Run' is a little weird (I say this to those who have never tried). It will install the application on the device, but does not launch (I think that this is impossible). Flash Builder crashes and then in "Installation application to the device. If you look at the screen, you will see a new download in your notifications bar, and from here you can launch the application.

    To summarize:

    1. To start your swf Flash Pro package for Air using Flash Builder, follow the steps in Renaun (http://renaun.com/blog/2011/09/using-flash-builders-mobile-workflow-with-flash-professiona l-projects /)
    2. Doing this work on Mobile, you have probably installed on your phone in debug version. This uninstall using Astro File Manager (https://play.google.com/store/apps/details?id=com.metago.astro&hl=en)
    3. Instead click the "Debug" button in Flash Builder, click on 'run '. This makes an apk without debugging and pushed back them to your phone (if your Setup allows debugging of the device).

    Additional notes: If you have xml files that are packaged in the apk file and you are using URLLoader (because the app originated as a web application), add "app: /" at the beginning of the URL string you use. Thus, "xml/myFile.xml" becomes "app:/xml/myFile.xml". If you need to keep your original web application logic, add a conditional on Capabilities.playerType == "Desktop. »

    Hope this helps someone else with the same problems

  • I just upgraded to El Capitan.  Our photos are in both iPhoto and Aperture.  Is it possible to include both libraries in Photos (El Capitan)?

    Our photos were in iPhoto and Aperture until the upgrade to El Capitan.  Photo and the opening are now gone.  Is it possible to include both of these libraries in Photos of El Capitan?  (When I added the second library of Photos, the first library disappeared.)

    Use PowerPhotos or the library to iCloud to merge; If necessary, launch Photos with Option key button and choose another library.

    (143670)

  • Is it possible to include 'Response from Microsoft' in my home screen "Windows Live"?

    Is it possible to include 'Response from Microsoft' in my home screen "Windows Live"?

    Post Windows Live questions in the appropriate forum found here:
    http://windowslivehelp.com/

  • Disco of VmWare Converter problema su spazio - ERROR: failed to create a snapshot of a volume of the source. Possible causes include not seen all NTFS volumes on Windows XP or Windows 2003 source systems with no is not enough free space on the disk.

    Buongiorno,

    Devo connvertire con vmware converter one Nt Server con AC 450MO di spazio libero su disco C: ntfs file system e

    Ricevo this error:

    ERROR: Impossible to take snapshots of a volume of the source. Possible causes include not seen all NTFS volumes on Windows XP or Windows 2003 source systems with no is not enough free space on the disk.

    He problema e che no ho the possibility di līberō altro spazio.

    Some suggestions?

    Grazie in pre-empted.

    Anni fa it era questa versione di VMware Converter: https://dl.dropboxusercontent.com/u/2197180/coldclone.3.03.iso che permetteva the clonazione a freddo. :-)

  • If I copy and paste a comment in a pdf when I create a comment copied xfdf file is not included.  Is it possible to add these comments copied to the xfdf file?

    If I copy and paste a comment in a pdf when I create a comment copied xfdf file is not included.  Is it possible to add these comments copied to the xfdf file?

    Hi Steve Whipple.

    This link (Acrobat Help |) Import and export comments ) seems relevant to your query. Please let me know if it allows you to export xfdf file comments.

    Kind regards

    Rahul Tyagi

  • Is it possible to start it native Win7 since Win7 host?

    I would like to run two Windows 7 installs (each on their own physical drive) with the possibility to start both natively and also open a via VMware Workstation v8.


    Details on the script:
    AHCI Disk1 = Windows 7 Enterprise 64-bit (volume licensed)
    AHCI Disk2 = Windows 7 Professional 64 bit


    Disk2 will be my main/guest I'll start the Nativity in 99% of the time. There work stations in which I would like the possibility to open Disk1 and start-up of the Nativity Disk1 remaining installed time 1%


    Please let me know if I missed all the details. Any advice or help would be much appreciated!

    seems ok

    I just checked your file vmx-even once.
    You use LSI - SAS but the vmdk is attached as IDE.
    Try the attached version

  • Is it possible to include another app in my folio?

    Is it possible to include another app in my folio?

    I won't be able to go to another application that is already installed on the same iPad? I have a possibility to place a hyperlink to a URL. Can I place a hyperlink to another application on my iPad?

    Thanks in advance.

    Hello

    Is possible by the URL scheme

    See this post - http://forums.adobe.com/message/4653405#4653405

    __Felipe

  • Possible to include a PDF signed into another PDF file?

    Hello

    This can be a bit of a strange question, and I ' do not know if this is the right forum.

    Is it possible to include or wrap a pdf signed into another pdf file. The second PDF will serve as another signed envelope.

    Would I be able to save the original PDF in a separate file?

    see you soon,

    Gary

    Of course you can. You can include a PDF file as an attachment. For example, in, select Acrobat 9: Document > attach a file

    Attached file can be recorded separately in the Attachments pane.

  • It is possible to include Arabic and English (or symbols) in the same sentence using InDesign CS6?

    Hi guys,.

    The title of the discussion is pretty much the question.

    The problem I have is when I put a full stop at the end of an Arabic phrase or a closed parenthesis. If its still with Arabic, the sentence runs correctly. If this isn't the case, then the symbol/English/Conference will be at one end of the sentence.

    Any help is appreciated!

    Adil

    Is it possible to adjust this software to have the same capabiltiies that the ME version?

    If this isn't ME version, on the flyout panel parapgrah switch paragraph composer world-ready adobe , it may be useful.

    There is also a third-party plugin that support right to left language:

    http://in-tools.com/products/plugins/world-tools/

    door http://store.WinSoft-international.com/products/product/WinSoft/ScribeDOOR-InDesign/scribe - of - indesign.html

  • Start the native application of the android app

    I need to do a task which is not allowed to make an android app. So I created a native app and I want to start this app for my android app. Is this possible?

    I found this question as soon as 2013 (https://supportforums.blackberry.com/t5/Android-Development/How-to-register-my-Android-app-as-Conten...), but it's 2 years old...

    I don't want to develop my entire application natively.

    Thks in adv

    It is possible to what you describe.  An Android application can invoke a native BlackBerry 10 application.  You can even create a headless BlackBerry 10 app that runs in the background (similar to a service on Android).  So the action can be executed without the user see the GUI of the native application.

    In addition, starting with native apps BlackBerry BlackBerry 10 10.3.2 can launch Android applications.  Here are a few links to help you get started on the side BlackBerry 10.

    Invocation framework

    Apps headless

  • Is it possible to use < af:message > to display the validation model adf instead of the default note window

    For any component input, validation that we created at the level of the entities attribute are executed and if any validation fails, the messge is displayed in a window of default note on the component of the.

    Is it possible to use < af:message > to display the validation model adf instead of the window of default note for the corresponding component in a fragemnt jsff page?

    I use JDev 11.1.1.6.0.

    Thank you

    Jean Bayard

    Michelle,

    I have good news. I was able to reproduce, locate and bypass your problem.

    The problem is the following:

    works very well in JSF pages, but it does not work in JSF fragments (which are part of a glued TaskFlow, what is included in a page parent as a ) because ADF when executing a miscalculation of the value of of 'for' - attribute when it is part of a region BTF. For example, suppose that the has id = "it1" (as it is in your JSF fragment above) and this TaskFlow defined in included as a with id = "r1" in a parent page. Then the internal ID of the input text field will be 'r1:0:it1', but at runtime, the framework will set the value of 'for' - attribute to the 'r1:it1' (which is wrong) instead of "r1:0:it1" (which is the correct value).

    You can work around this bug by specifying:

    Instead of

    in your code above. In this way the framework will make up the correct value for the 'for' - attribute at run time and will not work correctly. Don't worry the caveat against a non-existent ID in the JDev source code editor.

    You must do this trick only in fragments JSF and you should not do in JSF pages.

    Dimitar

  • Is it possible to store parameters to script with the InDesign file?

    Hello

    I have a crazy idea: it is possible to store parameters to script with the InDesign file?

    In this case the Scripting Guys will be able to store these settings with the file, and when the script runs - he can check if those setting exists - if so - script can run without showing the dialog with the settings... (like all the necessary parameters are stored with the indesign file), and of course we can force InDesign to display the script dialog parameters if run us with the alt/option key pressed when executing this script. Maybe even different scripts will be able to share these settings and interact with each other... We will be able to have the settings will be saved with the file, or temp settings for the document assets or session (till InDesign is closed). With eventListeners and commissioning, scripts, that we will be able to make scripts that would be able to check updates and automatically run when we placing images and text and so on... This can be a set framework of InDesign scripting, allowing to write scripts that use ui and same libraries so we don't have to write everything from scratch every time and just included required libs...

    So here are 2 great questions for now:

    (1) is it possible to store script with .indd file settings

    (2) who is interested in creating InDesign scripting (because it only makes sense if it will use a lot of people)

    PS: I know that it is possible to store settings in an external file, but this time, I'm interested only to save the params with .indd

    The syntax of the function to write the label:

    app.activeDocument.insertLabel('myLabel', 'myLabelValue');
    

    IMPORTANT: If you forget the name of the label, the label is LOST! Really? YES, REALLY!

    The syntax of the function for the reading of labels:

    var myLabel = app.activeDocument.extractLabel('myLabel');
    

    http://indisnip.WordPress.com/2010/07/31/saving-script-data-within-document/

  • "Call the executable" allows the environment variable "path"?

    Hello

    It seems that when you use the step type "call the executable" you need to enter the absolute path of the executable, or the absolute working directory, in the definition of "call settings" step.  I seem not to be able to put in a *.exe by himself in the path and have the command is found, even if I can't enter this same command on the command line (windows 7).  Is it possible to configure this step to use the windows ' path' environment variable to search for the executable?

    David J.

    You can do the following:

    (1) specify cmd.exe for the file path.

    (2) specify "/c yourexe.exe" for the argument expression

    This will launch a command window and tell it to run your application with the simple file name.

    The reason why you can't put just yourexe.exe in the path of file is that TestStand made its own resolution of file path that is different from what the window command. It uses its directories to search to resolve relative paths. If you do not have to specify an absolute path for the file path parameter, but it must be compared to a TestStand search directory or the current sequence file.

    Hope this helps,

    -Doug

  • Newbie wanting to AIR w / extensions to native code and the Protocol of Android accessory

    My interests include prototyping and very specific to very specific real-world applications of programming solutions.  So I bought a Playbook after viewing the quick "prototyping" video in this blog:

    http://devBlog.BlackBerry.com/2011/12/BlackBerry-PlayBook-Arduino/

    I tell myself I can do cela or something similar with PIC Basic Pro and a Microchip IC.  Although it has been nearly six months, from what I can tell, the RIM developers have failed to deliver on explaining how to use native code and the ancillary Protocol Android to connect in series on client's port to the mini-USB of the Playbook.

    Is RIM people please, show us how set up the programming environment, use the code, the mini-USB port on client Playbook, the adapter USB (where to buy, what is it exactly?), so we can use the USB client connected to an Integrated Circuit Programmable to connect in series with an AIR running on the Playbook application.

    Kenneth Mark Klausner

    How this kind of thing is that you have the hardware (Controller USB etc.), and there different registers, buffers, etc. that must be handled.  The first layer of software, what made this manipulation, is a device driver. While in some operating systems (Linux, for example), you can write yourself, or port code Besides, material in the PlayBook is accessible only by the drivers as part of the operating system, which means that the RIM should provide their.

    These drivers are may be incomplete. We do not know that for some.

    Drivers expose a particular interface to the next higher step of the software, an interface that must be respected. This interface is generally quite low, and the driver can support the features that cannot be exposed to third party software, so for this and probably other reasons, we can not directly access (and are prevented by security mechanisms).

    There is another layer of software on top of the pilot, commonly called a library. This library is also provided by RIM, as part of the operating system.

    This library can be incomplete as well. We do not know the details, but I suspect someone who knows this level of the design of the system and who attended the BB10 Bluetooth and USB discussion group would be able to interpret what they heard there to clarify.

    It's this library which provides what we call a bit of hand-wavingly API 'USB '. This is an interface in C language, with a set of data and calls structure function definitions that enable higher level code perform different operations related to USB.

    If you want to write a DONKEY, you write about this library, not the level of driver and not material. You have no choice in this matter, as it is applied by the security of the OS.

    So to sum up, if we refer to 'USB API' they're talking about essentially the library routines, and it is necessary to talk to this API to get whatever it is the case here.  The API can be described in the header files (there is something), or maybe he's going to be an API different than what I see out there. Whatever it is, it is undocumented in other places at the moment, so all who want to enter this need to make much low level experiment (talking to the library).

    They can have the documents which cover this and perhaps code samples to talk to the library. If the version of the operating system we have has the incomplete versions or buggy drivers or libraries, this could explain why they have not pushed this documentation and code for us.

    I think that I heard that they are gathering input (requirements, use cases, comments) from people in this session.  Who tells me that they are still working on some details, and when they are at a stage like that they simply don't tell us publicly where they are, deadlines, or what it will look like when it is done.

    And so expect.

Maybe you are looking for