Open pdf from an Air application for Android

Hi at all,
i'm developing an AIR Application for Android devices.
Into the app there is a button which should open a pdf file with the default pdf reader (multitasking), but doesn't work!
I've an Android Emulator (2.2).
This is the code
protected function openClickHandler():void
        f.openWithDefaultApplication();
f is a File object which points to pdf into the storage folder.
Any suggest! Help!!
Thanks.
F.

Specific use cases from developers is one way Adobe prioritizes feature development. That's why whenever you request a feature, the response will often include a request for a use case -- even if the use of the feature seems self-evident. Your use case could add more value to a potential feature beyond the self-evident.
Thanks!

Similar Messages

  • Opening pdf from external C# application

    I have been trying to get a pdf to open consistently in my Winform app's window with the following code:
    AcroApp app = new AcroApp();
                AcroAVDoc avDoc = new AcroAVDoc();
                string myPath = "C:\\Users\\Jeff\\SkyDrive\\";
                string myFile = "Child Support Data Sheet, Lake County.pdf";
                //bool success = pdfDoc.Open(myPath + myFile, myFile);
                app.Lock("Jeff's Program");
                bool success = avDoc.OpenInWindowEx(myPath + myFile, this.Handle.ToInt32(),
                    (int)Acrobat.AVOpenParams.AV_DOC_VIEW, 1, 0, (short)Acrobat.PDViewMode.PDFullScreen,
                    (short)Acrobat.AVZoomType.AVZoomFitWidth, 0, 0, 0);
                // bool success = app.Show();
                MessageBox.Show(success.ToString());
                avDoc.Close(0);
                app.UnlockEx("Jeff's Program");
    For whatever reason, it does not work most of the time.  The Form1 window is blank, although sometimes, it contains the pdf.  I have been trying to deal with that, but I have a more important question, first.  Even if I get it working correctly, will it work on computers where end-users only have Acrobat Reader?  If not, I need to look for another way.  If it will work, I need to keep debugging (so does anyone have any suggestions)?

    The reason for wanting to take it out of the forum is because ultimately, I want to find a consultant I can pay to help me cut to the chase more quickly in deciding on an efficient design.  We would also be open to paying for development if this is the direction we go.  I think this will necessitate conversations by phone and probably remote computer access.  Document assembly is a pretty heavy subject to try to cover in a chat box.  This is not the same as creating simple PDF forms. We already have robust document assembly in place, and we want to extend its capabilities to integrate with existing PDF forms.

  • Creating your first AIR application for Android with the Flex SDK

    This question was posted in response to the following article: http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac25d3d8c712b2d86751e-8000.html

    The name of the self-signed cert that is generated in the "Create the APK package file" step is sampleCert.pfx, but the name of the file in the next step is sampleCert.p12. This should be fixed.

  • How I can make an application for android from director?

    I have a project done in Director 11.5 how I can convert an application for android?
    What I have to do?

    Estas en el Foro de Usuarios en Español.
    Consultando esta página:
    Adobe Director
    Parece ser que se crean ejecutables que requieren Shockwave Player:
    What is Adobe Director 12?
    Adobe® Director® 12 and Adobe Shockwave® Player software help you create and publish compelling interactive games and eLearning courses for the web, iOS devices, Mac and Windows® desktops, DVDs, and CDs. Integrate virtually any major file format, including FLV, swf and native 3D content.
    No veo que sea compatible con Android.

  • Unable to open pdf from some particular shared folder which is not in domain

    Encountered a strange issue here.
    We have copuple of users who login with Citrix session.
    They are able to open pdf from all the shared folders but not one which is not in domain.
    User are able to open all other files viz. doc, excel, notepad and so from that particular folder.
    Issue with all the pdf files and not only one particular file.
    Double clicking the pdf file starts the process AcroRd32.exe but the file does not open.
    If an already running AcroRd32.exe process is there (means if Adobe Reader is already open), then it's possible to open the pdf files from that folder.
    Moreover, came across one strange thing.
    I created a shortcut to one of the pdf file from that folder within the same folder.
    And it was possible to open pdf file from that shortcut but not directly :S
    Gives error: "Acrobat failed to connect DDE server" after about 20 mins if we try to open file directly.
    Googled a bit and found that issue can be resolved by navigating to
    HKEY_CLASSES_ROOT\acrobat\shell\open\ddeexec\application and changing the Key "AcroviewA10"  to  "AcroviewR10
    But when I navigated to the mentioned registry there was no AcroviewA10 but instead it was just Acroview.
    Adobe Reader version: 9.5.5
    I will be really grateful if somebody can provide solution for this.

    What happens when you open the Adobe app, then tell it to open the file?
    How big are the attachments?  There are limitations to the size allowed to be sent:
    Email Provider
    Size Limit
    Gmail
    25Mb
    Outlook
    20Mb
    Yahoo
    25Mb
    Are you sending the files to yourself?  Not sure how you are emailing files from a website...
    Are the PDF's password-protected, or some kind of copyrighted eBook perhaps?  Can you email other files successfully, or are PDF's the only files that don't work?
    Perhaps using a free Cloud service as an intermediary might work better.
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Can't open PDFs from Outlook Access denied

    We are trying to open PDFs from Outlook in Reader XI.  Even after disabling protected mode, continue to receive the message "There was an error opening this document.  Access denied.".  Any suggestions?
    Thanks

    A. Fix One PC
    Launch Adobe Acrobat Reader X
    Go to: Edit > Preferences...
    Click on "General" in the left pane.
    Uncheck "Enable Protected Mode at startup"
    You will prompted with a dialog box to remind you to close the application for the change to go into effect. Click Yes.
    Click OK to save your change.
    Exit Adobe Reader
    B. Fix Several PCs in Your Organization
    Following the above steps aren't practical if you have Adobe Acrobat installed on 1,000+ computers in 30 regional offices! Push this registry setting using your standard software deployment software.
    [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\10.0\Privileged]
    "bProtectedMode"=dword:00000000

  • Video Conferencing in Air 3 for Android/IOS

    Hi,
    We are in the process of creating a Video Conferencing application for Android and IOS devices, the app would be published on Android and IOS market.  I have some quires related to using Air 3.0 for the development:
    For Android devices Front facing camera is supported only in Air 3.0, but can we assume Air 3.0 would be officially available by end of this year?
    Would this feature available for all Android 2.2 and above devices?
    Can we use Flash Media Server/any other streaming server for video conferencing?
    I have read in some of the post that Apple store do not allow video streaming with RTMP, is this true? Is there any work-around to use streaming video from within Air app for IOS?
    Thanks in advance!
    Sangram

    I used milkmangames ANE. (50$), because i didnt want to fork the code for each os.
    http://www.milkmangames.com/blog/tools/
    It was "easy" to set up (quotes: as easy as something complicate can be).
    Consumables, or One-time-purchases worked out of the box, but restore, subscriptions and auto subscriptions (like newspapers) had bugs like hell and were unusable.
    Also check out here for some free stuff (wich propably works as well as the comercial, "supported" stuff, stupid-me)...
    https://github.com/freshplanet/ANE-In-App-Purchase
    More ANEs:
    http://sleepydesign.blogspot.de/2012/07/ane-free-air-native-extensions.html

  • CS6: DistributedCOM Error id: 10016 when open pdf from web page in Win8.1

    For example here below I've got the issue: 
    http://modemwifi.it/wp-content/uploads/asus-dsl-n55u.pdf
    Adobe Acrobat X pro V 10.1.8:
    DistributedCOM Error id: 10016 when open pdf from web page.
    Nome registro: System
    Origine:       Microsoft-Windows-DistributedCOM
    Data:          04/11/2013 19:09:19
    ID evento:     10016
    Categoria attività:Nessuna
    Livello:       Errore
    Parole chiave: Classico
    Utente:        PC-PIERO\Piero
    Computer:      Pc-Piero
    Descrizione:
    Le impostazioni delle autorizzazioni impostazioni predefinite del computer non concedono l'autorizzazione di Attivazione in Locale per l'applicazione server COM con CLSID
    {B801CA65-A1FC-11D0-85AD-444553540000}
    e APPID
    {2EAF0840-690A-101B-9CA8-9240CE2738AE}
    all'utente Pc-Piero\SID Piero (S-1-5-21-3453328585-262132574-2759341577-1001) dall'indirizzo LocalHost (tramite LRPC) in esecuzione nel SID del contenitore di applicazioni Non disponibile (S-1-15-2-1430448594-2639229838-973813799-439329657-1197984847-4069167804-1277922394). Per modificare tale autorizzazione di sicurezza, è possibile utilizzare lo strumento amministrativo Servizi componenti.
    XML evento:
    < Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
        <EventID Qualifiers="0">10016</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8080000000000000</Keywords>
        <TimeCreated SystemTime="2013-11-04T18:09:19.468877700Z" />
        <EventRecordID>14806</EventRecordID>
        <Correlation />
        <Execution ProcessID="768" ThreadID="776" />
        <Channel>System</Channel>
        <Computer>Pc-Piero</Computer>
        <Security UserID="S-1-5-21-3453328585-262132574-2759341577-1001" />
      </System>
      <EventData>
        <Data Name="param1">impostazioni predefinite del computer</Data>
        <Data Name="param2">Locale</Data>
        <Data Name="param3">Attivazione</Data>
        <Data Name="param4">{B801CA65-A1FC-11D0-85AD-444553540000}</Data>
        <Data Name="param5">{2EAF0840-690A-101B-9CA8-9240CE2738AE}</Data>
        <Data Name="param6">Pc-Piero</Data>
        <Data Name="param7">Piero</Data>
        <Data Name="param8">S-1-5-21-3453328585-262132574-2759341577-1001</Data>
        <Data Name="param9">LocalHost (tramite LRPC)</Data>
        <Data Name="param10">Non disponibile</Data>
        <Data Name="param11">S-1-15-2-1430448594-2639229838-973813799-439329657-1197984847-4069167804-1 277922394</Data>
      </EventData>
    < /Event>
    How can I solve this problem?
    Thanks

    // I got this from an Action (I�m using Struts)
    java.sql.Blob file=(java.sql.Blob)request.getAttribute("PDFfile");
    String filename=(String)request.getAttribute("filename");
    try{
      int iLength = (int)(file.length());
      response.setHeader("Content-type", "application/pdf");   
      response.setHeader("Content-Disposition", "inline; filename=\""+filename+"\"");
      response.setHeader("Expires","0");
      response.setHeader("Cache-Control","must-revalidate, post-check=0, pre-check=0");
      response.setHeader("Pragma","public");
      response.setContentLength(iLength);
      ServletOutputStream os = response.getOutputStream();
      InputStream in = null;
      in = file.getBinaryStream();
      byte buff[] = new byte[1024];
      while (true) {
          int i = in.read(buff);
          if (i<0) break;      
          os.write(buff,0,i); 
      os.flush();
      os.close();
    } catch(Exception ex){
       out.println("Error while reading file : " + ex.getMessage());
    }and now it�s running !!! I�m not using response.setContentType(...) and I do this in response.setHeader("Content-type", "application/pdf"). And I use response.setHeader("Content-Disposition", "inline; filename=\""+filename+"\"") instead of response.setHeader("Content-Disposition", "attachment; filename=\""+filename+"\"");

  • There,are,restrictions,to,opening,PDF,files,on,an,Pad,or,Android,Device,that,will,open,in, Microsoft,Internet,Explorer,desktop,or,laptop.,If,I,bought,a,Windows,8.1,tablet,and,had,Ad obe,reader,installed,would,I,then,be,able,to,open,the,secure,document,wit

    There,are,restrictions,to,opening,PDF,files,on,an,iPad,or,Android,Device,that,will,open,in ,Microsoft,Internet,Explorer,desktop,or,laptop.,If,I,bought,a,Windows,8.1,tablet,and,had,A dobe,reader,installed,would,I,then,be,able,to,open,the,secure,document,with,Internet,Explo rer?

    What's,with,the,commas?
    If you have a tablet that runs full Windows 8 - not Windows 8 RT, which is limited.
    And if you install the full Adobe Reader for Windows, not the special Adobe Reader Touch for Windows 8.
    Then you will have the same features as a desktop.
    Unless they can't be accessed in touch mode, since it isn't a touch app.

  • Installed Pro 9 and Reader 9 now cannot open pdf from web, but can from an email?

    Installed Both Adobe Acrobat 9 professional and reader 9 yesterday on co worker machine. Went to open a pdf attachement in email no problem. Went to web to download and open a pdf and will not let her, giving co worker the error message need reader 8 or 9 to open this document!
    have unistalled 9 reader and reinstalled same problem.
    So then uninstalled reader 9 and can now open pdf from the web
    My machine has both on and no problems.
    Thank YOU for your help!!

    It may be that you will need to uninstall Reader and Repair Acrobat after the uninstall. Adobe does not recommend the installation of both products. Since you have already done the uninstall and things work fine with just Acrobat, leave things alone as that is the recommended installation.

  • Access Denied Bug Opening PDFs from the DFS in Reader X

    Hi,
    Do you have any timelines for when a bugfix will be released for the Access Denied problems when opening PDFs from a DFS share with Protected Mode enabled? We were hoping to make use of the new sandboxing technology within the corporate environment, as recent issues with security vulnerabilities (in Adobe Reader 9, the authplay.dll issues) would be mitigated by the technology. However, as the Protected Mode does not work when opening from the DFS there is no point in moving to Adobe Reader X from 9.4.1 at the moment.
    It would be good to have a release date so that we can start taking advantage of the technology as soon as we are able to.

    There's no dates, or indications of when this will be done. Thanks for your useful assistance though.

  • Is it possible to packaging Air application for Mac AppStore with Air 3?

    Is it possible to packaging Air application for Mac AppStore with Air 3 ?

    Anyone from adobe? Anyone?
    Also I was wondering what could prevent the window from going
    away when user uses windows "show desktop" command, or perhaps
    there is a way to restore it right away?
    thanks.

  • Opening PDFs from gMail account in iBooks

    I've previously opened PDFs from gMail messages using iBooks but today, for some unknown reason, I cannot open any new PDF file attachment larger than 200k.
    iPod Touch 8GB (2nd generation) using iOS4.1- Still have 5.7GB available so I'm not sure why certain size files won't open.
    I've even tried using Safari w/ gMail account - In both cases, as soon as I try to open the PDF attachments w/ iBooks, the display drops out without transferring to Ibooks as it used to do.
    Message was edited by: MacNoob0909

    Tried resetting - No joy.
    When I tried to open the attachment w/ "iBooks", the iPod switched to iBooks and an "Untitled" file showed on the bookshelf momentarily then the display dropped out and returned to the "Home" screen. No joy there.
    Even tried opening w/ "Quick Look" - Again, no joy. Just a dropout and back to the "Home" screen.
    Looks like I may have to do a total reset - Now iBooks loads w/ "Untitled" file displaying and then the display drops w/ a return to the home screen - In the process of total reset as I write this - Will update after I do a restore. - Its going to take at least 2 hours for reset/restore operation.
    Message was edited by: MacNoob0909

  • Error message says need Adobe reader 8 or 9 installed to open pdfs from web pages yet Reader 9alredy

    Error message says need Adobe reader 8 or 9 installed to open pdfs from web pages yet Reader 9 is alredy installed on computer. Is this a 64 bit ossue although I am sure I did not have this problem prior to a replacement hard drive being installed.

    What is your operating system, browser?
    What is the exact message you are getting?

  • Java.lang.NullPointerException is thrown when packaging Adobe AIR application for iOS

    Hi All,
    https://bugbase.adobe.com/index.cfm?event=bug&id=3071298
    As per above link this bug resolve(latest build) but i am facing  Java.lang.NullPointerException is thrown when packaging Adobe AIR application for iOS, using the packaging tools.
    (for  inappPurchase Demo app --- i used below link code)
    http://code.google.com/p/in-app-purchase-air-ios/
    Thanks,
    Sunil Rana

    Hi Everyone,
    I'm getting basically the same error. Are there any rules or guidelines that we are suppose follow when writing an app for iOS? Is there a way to know exactly where it is crashing? My apps are not MXML, only actionscript. Also I made sure I have no errors not even warnings in my SWF file, but still no go! 
    Getting the same error.
    Exception in thread "main" java.lang.NullPointerException
            at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6944)
            at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:5909)
            at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4628)
            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)
            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215)
            at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:526)
            at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:336)
            at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler
    .java:472)
            at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
    Compilation failed while executing : ADT
    regards,
    Keith

Maybe you are looking for

  • I lost some music and I want to know how to get it back.

    We have 2 iPhones and an iPod Touch all linked to the same iTunes account. When one of us downloads music and apps to the different devices, it does not always download it to our PC when we plug in. Some of the albums show up on the PC iTunes account

  • 3 CCD vs HD

    I know this is a bit off topic, but what the heck. We're in the process of buying a new video camera. My question is: Do we go with a 3CCD or a HD camera? Since our projects will not (or rarely) be shown on HD TVs, is there a point of shooting with a

  • Initials wrong in group messaging. How do I change them?

    How can I change my initials in group messaging? They show wrong on mine and other peoples phones.

  • Error when running the Tutorial

    I am following instructions given in the following website and built the message center. (I downloaded RSA 6.0 trial and working on it) https://www6.software.ibm.com/dw/education/r/rdynwebsites/ In my JSP page where I am retrieving the messages I hav

  • PTP (Precision Time Protocol) configuration

    Hi, Is there anyone has configured PTP on IE-3000 switches? I have some problems with the configuration and operation. Below is the summary of what I've done and the porblems. There are two IE-3000 switches with ip services 15.0 (2) SE4 IOS. One has