How To open a PDF in New Native Window in Air

Hi All,
I have a Air application.I want to open an pdf located in desktop in new native window.
Thanks,
Amol.

There is no easy way to implement this. Its better to instruct users the shortcut to open the link in new window.
--Cheers

Similar Messages

  • How to open a pdf in its native reader in iOS using AIR?

    Hi there,
    I am wondering if there is any feasability of opening a pdf directly in its native reader in iOS environment. I needed this to happen from an AIR application.
    I have found that AIR can be extended using a java program to do the above task for Android.
    here is the link: http://www.jamesward.com/2011/05/11/extending-air-for-android/
    Thanks in advance,
    Sris

    Thanks everyone for the solutions.
    After working all the possibilities to open locally saved file on iPad
    1. StageWebView 
    2. navigateToUrl
    3. file.openWithDefaultApplication();
    4. Java socket extension for AIR,
    I finally found a solution.
    StageWebView works on ipad.
    the code that works is as suggested by xperiments.es.fr
    But the problem I faced was saving the pdf and opening the locally saved file.
    Since iOS does not support desktopDirectory & documentDirectory, I tried to save the pdf in applicationDirectory/applicationStorageDirectory, that didnt work when I tried to open the pdf from those locations.
    So the only way was to store the generated PDF in a temporary directory and StageWebView could locate and load that
    It works!!!
    Now the next challenge is, while the desktop (Windows) compilation of the app shows PDF reader with menu options, which does not show on iPad app. IPad app shows just a page index on left-top corner. It would be good if the options are shown as well.
    Lets see!!!
    Cheers,
    Sris

  • How to open the link in new firefox window for web desktop based application? Or how to open the mail/website/rss link in new firefox window

    I am using the firefox 3.6. My problem is that I am using the web desktop and few web desktop based application directly opens link. If I click on rss link than it opens in same window, so no longer access to web desktop. I want to open any kind of link in new window instead of same window. I have tired to change the value of browser.link.open_newwindow, browser.link.open_newwindow.restriction but doesn't work. Also gone through the https://developer.mozilla.org/en/window.open but not sure where to do this in web desktop based application or firefox where we connect the web desktop?
    Is there any way to open the link every time in new firefox window?

    Hi Joseph,
    the HTMLB link object misses the support for onClientClick through the tag lib, see hbj:link without onClientClick ? and OnClientClick Event for Link HTMLB Component for similiar problems and workarounds.
    With this workaround, you can call for example an AbstractPortalComponent, implement doOnNodeReady (with an empty doContent method) and return the PDF, settings the content type on the http before etc.
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • How can I open all PDFs on my MS Windows desktop in Firefox?

    I would like to open all PDFs on my local MS Windows desktop open in Firefox so I can use tabs.
    How can I open all PDFs on my MS Windows desktop in Firefox?
    I have tried just going to File... Open... <desktop PDF file>, but all I get is funny markup and funny characters, like the following:
    %PDF-1.4 %âãÏÓ 3 0 obj << /Producer (PDF-XChange 3.60.0128 \(Windows XP\)) /CreationDate (D:20110321141052-04'00') >> endobj 5 0 obj << /Type /XObject /Subtype /Image /Width 2551 /Height 3285 /BitsPerComponent 8 /ColorSpace /DeviceGray /Length 500647 /Filter [/FlateDecode /DCTDecode] >> [...]
    I am able to open PDFs from the Internet normally using the Adobe Reader X plugin, but for some reason, it doesn't kick in when I open local PDF files.
    I am using Firefox 4.0.1 and Adobe Reader X.
    Thanks. -Noel

    Do you have any graphics editing software like photoshop or something similar.?
    Surely you can just open both images, resize the image you want to add, then copy and paste it into the main image. Save this as a new file and set it as the background.
    If you need a graphics editing program you can download one called The Gimp for free. Just make sure you have X11 installed.
    Macbook   Mac OS X (10.4.7)   1.83 2GB RAM 60GB HD

  • How to open a pdf file only in one computer

    I would like to sell pdf publications by allowing  the user to open them only in one computer. I learnt that this has been done  the past when I bought  some publications but I don't know the way to do it. Could you help me?
    thank you
    Marco

    thank you for your support
    Best Regards
    Marco
    Da:     Mylenium <[email protected]>
    Per:    MARCO1 <[email protected]>,
    Data:   09/10/2013 11:09
    Oggetto:        How to open a pdf
    file only in one computer
    Re: How to open a pdf file only in one computer
    created by Mylenium in Downloading, Installing, Setting Up - View the full
    discussion
    You will havwe to sign up for some service that supports rights
    management, use protected PDFs via LiveCyle/ Acrobat Connect or learn how
    to create your own ePub stuff using Digital Publishing Suite. In any case,
    it will probably cost you money upfront before you make any revenue.
    Mylenium
    Please note that the Adobe Forums do not accept email attachments. If you
    want to embed a screen image in your message please visit the thread in
    the forum to embed the image at
    http://forums.adobe.com/message/5746873#5746873
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/5746873#5746873]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/5746873#5746873]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in Downloading, Installing, Setting Up at Adobe
    Community
    For more information about maintaining your forum email notifications
    please go to http://forums.adobe.com/message/2936746#2936746.
    Il messaggio trasmesso può contenere informazioni di carattere
    confidenziale rivolte esclusivamente al destinatario. Ne è vietato l'uso,
    la diffusione, la distribuzione o la riproduzione da parte di altre
    persone e/o entità diverse da quelle specificate. Nel caso aveste ricevuto
    questo messaggio per errore, siete pregati di segnalarlo immediatamente al
    mittente e cancellare quanto ricevuto.
    This electronic mail transmission may contain confidential information
    addressed only to the person(s) named. Any use, distribution, copying or
    disclosure by any other person and/or entities other than the intended
    recipient is prohibited. If you received this transmission in error,
    please inform the sender immediately and delete the material

  • How to open a pdf file in JFrame

    hi to all,
    i need to know how to open a pdf file in JFrame. Help is needed with this would grateful, and i used the code state below..
    InputStream in=this.getClass().getResourceAsStream("/images/help1.pdf");
    Process p = Runtime.getRuntime().exec(in);Thanks in Advance...

    this is the error which i'm getting while executing the code
    init:
    deps-jar:
    Compiling 1 source file to /home/VEL AREA/SampleApplication/build/classes
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:3: package com.sun.pdfview does not exist
    import com.sun.pdfview.PDFFile;
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:4: package com.sun.pdfview does not exist
    import com.sun.pdfview.PDFPage;
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:5: package com.sun.pdfview does not exist
    import com.sun.pdfview.PagePanel;
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:25: cannot find symbol
    symbol : class PagePanel
    location: class sampleapplication.Main
    PagePanel panel = new PagePanel();
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:25: cannot find symbol
    symbol : class PagePanel
    location: class sampleapplication.Main
    PagePanel panel = new PagePanel();
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:36: cannot find symbol
    symbol : class PDFFile
    location: class sampleapplication.Main
    PDFFile pdffile = new PDFFile(buf);
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:36: cannot find symbol
    symbol : class PDFFile
    location: class sampleapplication.Main
    PDFFile pdffile = new PDFFile(buf);
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:39: cannot find symbol
    symbol : class PDFPage
    location: class sampleapplication.Main
    PDFPage page = pdffile.getPage(0);
    8 errors
    BUILD FAILED (total time: 2 seconds)
    for the reply #4..

  • How to open a pdf file and then attach it with images

    I am new to Indesign Server.
    I'm currently working on a pdf.
    I have a white blank pdf template.
    that I want to attach/glue it with images.
    How to open a pdf file and then attach it with images.
    Please, help me.
    Thanks.

    First step would be to make yourself familiar with InDesign desktop version.
    Whatever you intend to achieve, do it there manually. (see regular app docs or forums)
    Then try to automate your steps with scripting (see scripting docs or forum)
    If you can do it with a script in the desktop version, that script will likely also run in ID Server. (see server forum).
    If you can specify missing features not achievable thru scripting or manual use, reconsider to write a plugin (this forum).
    A seasoned C++ programmer will need a few months to learn the basics, wade thru tons of documentation etc. Alternatively consider to hire a consultant to do the development work for you.
    Dirk

  • Open PDF in New External Window

    Hi
    how to open a PDF Report(File) in new IE Window from WebdynproJava
    Regards
    Dhinakar

    Hi,
             If the PDF document is in the server then we can show that in the external window onClick of the button.
    Write this code in the onAction button event.
    try
    byte[] content =this.getByteArrayFromResourcePath("<server path>\Guide.pdf");
    String stResourcePath = new String("<server path>\Guide.pdf");
    IWDCachedWebResource resource = WDWebResource.getWebResource(content, WDWebResourceType.PDF);
    IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(resource.getAbsoluteURL()," document");
    window.removeWindowFeature(WDWindowFeature.TOOL_BAR);
    window.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
    window.removeWindowFeature(WDWindowFeature.STATUS_BAR);
    window.open();
    catch(WDURLException ex)
    catch(IOException ex)
    Paste this code here:
    //@@begin others
    private byte[] getByteArrayFromResourcePath(String resourcePath) throws FileNotFoundException, IOException
           FileInputStream in = new FileInputStream(new File(resourcePath));
         ByteArrayOutputStream out = new ByteArrayOutputStream();
         int len;
         byte[] part = new byte[10 * 1024];
         while ((len = in.read(part)) != -1)
                   out.write(part, 0, len);
                   in.close();
                   return out.toByteArray();
       //@@end
    Regards,
    Vijai

  • Open link (PDF) in new window from WebHelp custom skin button

    This question relates to my work with FM>RH integration. But the task I'm trying to accomplish is something specifically done in RH with customization of WebHelp skins, so I'm posting in this forum. I'm running RH9 on Windows XP Pro.
    We have recently replaced WebWorks with RH and finally have the mapping files set up to generate Help from our FM source files. Celebration was short, because then we realized that our users wanted a PDF option. We haven't done any mapping to create PDFs from RH, and that seems kind of silly anyway, since we have superior PDF generation from the FM files.
    So I set about making a custom button in the header of a WebHelp skin that will link to a PDF. I accomplshed that work, but its behavior falls short of the functionality I'd like to see. Currently, you click on the button and it opens the PDF in the browser window of the Help system. I want it to open in a new window, so I can keep the experience clean for the users, separating Help and PDF. I don't know if this is possible.
    Here is where I am at. To create button I navigated to:
    Project Set-up/Skins/NEW SKIN/WebHelp Skin Editor/ Main/NEW BUTTON
    When I choose the edit icon to customize the new button, there is an option to choose Link or JavaScript. I got the PDF to open inside the Help browser by just using the Link option and specifying the PDF. I have tried to use the JavaScript option without success. My JS may be wrong, but when I choose inline JS option and place anything there, it turns all the navigation buttons to gobbledy ****. Specifying an external JS file doesn't work at all.
    Any direction or help would be appreciated.
    Thanks,
    Douglas

    I see one other shortcoming with this solution now that I've implemented it. Our Help follows the applictions through a convoluted path of development servers, amongst other strangeness with the way we deploy Help and PDF documentation. My concern is referencing a single URL/file on a server. Since we're moving things around, that doesn't really work well, we want the PDF to be with the Help system, if possible. Is there a way to reference the PDF as a relative link in the baggage files, so it will pull it from whatever server the Help system resides on without having to make changes?
    UPDATE:
    It seems if you place the PDF in the WebHelp folder and reference it as the JavaScript, the Help system automatically reats it as root folder and find it there. So, I think this is the solution to my question? However, this is a bit annoying, as it means you have to remember to manually place the file in the compiled Help system. I had earlier experimented with placing the PDF as a baggage file, but those don't seem to carry over when you compile Help. Is there any way to put the PDF in the Baggage Files and designate that it be included in compiled Help?

  • How to open a pdf from a button in Flash

    Good Afternoon All,
    I am working in CS4.
    AS 3.
    I am putting together a self-contained Flash presentation. The presentation and all linked images/files will be contained on a flash stick.
    I need to know how to link to a pdf that will be on the flash stick and have it open directly in reader when clicked. I've tried the following AS:
    on (release) {
      getURL("myDoc.pdf", "_blank")
    and it does work, but opens the pdf in a browser window version of reader as opposed to just reader...if that makes sense.
    Any and all help is appreciated.
    THanks.
    Geno.

    Hello,
    <p>Web.show_document calling .htm files saved on disk.....</p>
    Francois

  • Preview; How can I open multiple PDF's in one window with Preview?

    How can I open multiple PDF's in one window with Preview?
    I have gone to Previews preferences and selected 'Open groups of images in the same window' and have tried every setting imaginable and nothing works. What am I doing wrong?

    Hi, a few ways..
    http://www.monkeybreadsoftware.info/Freeware/CombinePDFs.shtml
    http://www.monkeybreadsoftware.info/Freeware/CombinePDFs.shtml
    http://www.macosxhints.com/article.php?story=20060327192826493&lsrc=osxh

  • How do you get Adobe Acrobat X Pro to open multiple pdf's in one window

    How do you get Adobe Acrobat X Pro to open multiple pdf's in one window
    I just got upgraded to Windows 7 64-bit and had to update to Acrobat X Pro.
    I was using Acrobat 8 Pro on my XP machine and this was nice since i usally have muliple files open at the same time

    Hi Richard,
    Due to technical limitations, MDI was dropped with the Acrobat 9 release:
    http://blogs.adobe.com/acrobat/mdi_vs_sdi_in_acrobat/
    -David

  • On opening some pdfs in new tab, get a box labeled Adobe Acrobat with a ? in it. Right click on the link gets the pdf. What does the box and ? mean. Running W7, FF 10.0.2, Adobe Standard 9. Thanks

    On opening some pdfs in new tab, get a box labeled Adobe Acrobat with a ? in it. Go back to the original link, right click on the link gets the pdf. What does the box and ? mean and why do I get it when trying to open some pdfs? Running W7, FF 10.0.2, Adobe Standard 9. Thanks.

    Assuming that you are using IE10 / IE11 on Windows: http://support.microsoft.com/kb/2716529

  • How to open a pdf file using OPEN DATASET

    Im trying to convert a pdf into binary format. So im trying to read the contents of the pdf into a XSTRING. Using the FM 'SCMS_XSTRING_TO_BINARY' i can convert the XSTRING to binary format.
    How to open a pdf file using OPEN DATASET and transfer its contents in a XSTRING variable.
    What i've tried is....
    DATA: f_name type string value 'C:\rep_output_pdf.pdf',
          x1 type xstring,
          LT_DATA TYPE STANDARD TABLE OF X255.
    OPEN DATASET f_name FOR input IN BINARY MODE.
    READ DATASET f_name INTO x1.
    CLOSE DATASET f_name.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER     = x1
        TABLES
          BINARY_TAB = LT_DATA.
    Im getting a short dump .
    Short text: The file is not open.
    Plz help me out.

    Hello Rajesh,
    You are trying to do use OPEN DATASET with a local file. NOT POSSIBLE
    You have to have the file in the app server to use OPEN DATASET.
    BR,
    Suhas

  • How to open a pdf at specific page from EXCEL hyperlink

    I can open a .pdf from EXCEL using hyperlink. May I ask, if ever possible, how to open a .pdf at a specific page from EXCEL hyperlink ? I don't mean open a pdf then click on a bookmark or enter a page number. (I am using Adobe Reader v9.5.2 and MicrosoftOffice Profession Edition 2003.)

    Hello,
    The parameters that can be used in the URL when opening a PDF document are
    described in the document :
    Open Parameters for PDF
    http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf
    Regards

Maybe you are looking for

  • Ipod is Frozen:  Does Not Want to Charge and Be Recognized By The PC

    Yesterday, while I was charging I noticed that the charging sign appeared and the meter was not moving. The charging sign is black not the colored one that we normally see in the 5th gen. Sometimes the apple logo appears and that's it. It's basically

  • Send message in HTML format from Service Desk

    Dear All, I have configure Service Desk in Solution Manager 7 EHP1 (ABAP+JAVA Stack). I am able to send the message to end user in case of change status from "New" to "In process" in PDF or TEXT format. I want to send same in HTML with link just like

  • Can't open the "Access Privileges" in the Sharing preference pane.

    Hi to all: I am having this problem, I have a small network on my office, and I am using VNC to manage all my computers inside my firewall (router), but on my iBook G4 (10.4.11) I press the "Access Privileges" button on the sharing System Preference.

  • "Not" operator in iTunes search?

    Just wondering if anyone knows if there is a "not" operator to exclude a word from your itunes search, say to keep if from picking upi tracks you don't want. This operator would function in a way that would be similar to the "-" operator on google, s

  • EVB3 Plug In Problem....I can't hear anything!

    All of my plug ins work fine except this one. I checked the plugin folder everything is in place but I'm still not hearing anything.....help I'm stuck?!