Openning a native web browser on Air desktop app

I have developed an desktop air app with aptana studio.
i want to attach a google adsense banner into my air app.
but i got a problem that air app doesn't open a native webrowser.
How can app open a native web browser when click in iframe?

The iframe seems to load code from a remote location, and thus this code will be in a remote sandbox, not in the application sandbox, for obvious security reasons. This means that the code inside the iframe will net be able to use the air APIs.
If you can control the content from the remote location, you can use the parent sandbox bridge (http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7f08. html#WS5b3ccc516d4fbf351e63e3d118666ade46-7edd) to make a call from inside the iframe to the main application to open the browser window.
Otherwise, I don't think there's a way for content loaded from a remote location to open native browser windows (this would be a security issue).

Similar Messages

  • Using the Air Browser inside an Air Desktop App - how to activate webgl?

    Hello,
    I´m using Adobe Air/Flex to build a Desktop App. Inside the App the user should be able to access an Internet Browser. This part is actually working so far.
    BUT:   THE ADOBE AIR BROWSER IS NOT SUPPORTING WEBGL.
    Is there any method to activate the WebGL Support so I could open WebGL-Dependent URLs from Inside my Desktop App?
    Sure, I could tell the User he should Alt+Tab to switch to an WebGL-Compatible Browser, but it would so much better if this all would work from inside my Application.
    Thanks for answering!
    Stefan

    Hi Krazy,
    With the monitor and Bluetooth peripherals connected, when you close the lid the machine will begin the sleep process. The Bluetooth (if set to wake the machine, which it should) when you activate one of the Bluetooth will then wake the machine and you're free to use it normally.
    To answer your last question, you can turn off the machine and leave the setup as is without any problems.

  • "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint 2010 and Publishing Approval workflow.

    I am trying to add a new workflow to a document library with the below mentioned settings and getting error saying "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint
    2010 and  Publishing Approval workflow" . For your information the I have checked the server default option to open in browser.
    Versioning Settings.
    Error
    This is quiet urgent issue . Any help would be really helpful.. Thanks.. 

    Hi Marlene,
    Thank you very much for your suggestions.
    But I am not creating a custom workflow in designer as Laura has mentioned. I am instead trying to create a new Out of the box Approval Workflow and I get the error mentioned above.
    As it works in other environment, I tried figuring out the possible differences which can lead to this error.
    Today I found one difference which is there are no form Templates within Infopath Configurations in Central Admin. Now I am trying to figure out what makes this form templates to be added to the template gallery.
    Regards,
    Vineeth

  • Opening PDF in Web Browser(IE)

    Hi,
    I have written a program to download PDF file. When user will click on "Download" link, PDF file should open in web browser IE itself. Currently file is opening in separate window. I am creating this PDF file run time and it is not stored in harddisk. In Acrobar Reader, I have checked the check box "Display PDF in browser". Despite this it is opening in separate window.
    I have written following code:
    byte abyte0[] = pdfGenerator.generatePDF(getXslFile(instancedata), new String(instancedata.requestResult.message, "UTF-8"));
    httpservletresponse.setHeader("Cache-Control", "no-cache");
    httpservletresponse.setHeader("Cache-Control", "max-age=0");
    httpservletresponse.setHeader("Content-Disposition", "inline; filename=" + instancedata.userId + "_" + System.currentTimeMillis() + ".pdf");
    httpservletresponse.setContentType("application/pdf");
    String s = new String(abyte0, "UTF-8");
    servletoutputstream = httpservletresponse.getOutputStream();
    servletoutputstream.write(abyte0, 0, abyte0.length);
    servletoutputstream.flush();
    Kindly suggest what is required to open PDF in Web browser (IE).
    Regards,
    Dev

    I don't see anything wrong here offhand.
    In your download link, you aren't using target="new" or anything, are you?

  • One or more PDF documents are open inside a web browser - message

    Hi,
    I have a new L series notebook and its great. The only foible I can think of is a message I keep getting when I try to shutdown. There is a message box that says "One or more PDF documents are open inside a web browser. If you exit adobe reader now, those documents will be closed. Are you sure you want to exit?".
    The thing is I do not have any PDF's or web browsers open at the time! Can you help me please?
    Thanks, Mark.

    Hi Mark
    Believe me its nothing serious the same happens on my notebook from time to time
    Usually the PDF files can be read with the Adobe Acrobat reader. This application service runs in the OS background and this message can appears if the Adobe Acrobat reader cannot close the background process automatically
    I have solved this tiny problem by removing the acrobat reader from the system. After new reboot I have reinstalled it again
    Now the message does not appear and all runs like a dream ;)

  • Loading a website without opening a new web-browser

    Can someone tell me how to load a webpage without opening a new web-browser, having it displayed on the current one...
    I have tried the following code but it opens up a new browser instead... :
    getAppletContext().showDocument(new URL("http://www.angelfire.com"), "_blank");
    Million thanks

    getAppletContext().showDocument(new URL("http://www.angelfire.com"), "_self");

  • My course designed in Captivate 5 will not open in the web browser when published or in preview mode

    Does anyone know why my course will not open in a web browser. It's a pretty standards course. It's 800 X 600 with 73 slides that are all about 10 seconds long. It does have a few videos incorporated, but I removed them and published and I still got nothing in a web browser. Any ideas?

    I'm afraid you haven't given us enough information to know how to help you.
    More details please. 
    Screenshots of what you see perhaps?
    Do you have the same issue with a new blank project uploaded to the same publish folder with the same browser?

  • Open URL in Web Browser from a Java Application

    Hi,
    I have an HTML document that I want to load in a browser window by clicking on a button in my java GUI application.
    Any suggestions?
    Thanks.

    You can use the Process class to start the web browser with the proper command line arguments (depends on the web browser though). Or on windows, you can have your program create a batch file with the code start url (where [url] is your url), and this will open the default web browser when run (again you must run it with a Process).

  • Include Air ( desktop app ) inside Mobile app permited by Apple / Android?

    Include Air ( desktop app ) inside Mobile app permited by apple / android?
    This is my question....:
    I need a "viewer" app run in a desktop machine... via p2p... ( done and working )
    I will like to include it in my iOS / Android Release, an then by example move it to the documents folder.
    Run iTunes and then copy the file from the shared document folder.
    Is this permited by apple / android / adobe ?
    Thanks....

    just tracing some kind of tests I'm doing.
    A couple of hours ago I left working 2 instances of my Application, leaving alone this computer: one instance is the Mac desktop version and the other one is the Web version. In this case both versions were running on the same computer (an iMac with OS X Mavericks):
    1) the AIR/Mac version have been recompiled yesterday with the new AIR4(.0.0.1619 - AIR 3.8 is used to fall in a equivalent way - no changes)
    2) the Web version have been compiled targeting FP 11.8 and it is running on Chrome browser with PepperFlash NOT disabled (which reports version MAC 13.0.0.80, the latest)
    I left working both the Mac and the Web versions of the Application opened on the pc screen (= not minimized) but kept totally behind some Terminal/ssh windows (= not on OS focus and the system is not asked to update any screen area of the app for sure).
    I came back after about 2 hours and I got the browser version connected&running (but it is not a rule) and I also found the AIR-based Mac version disconnected (uau, usually I found the app disconnected but with the screen freezed at last user look ->) which rapidly reconnects upon my click on the Apple dock icon (bring to front).
    Why these different behaviours? I ask to myself.
    The two versions of the software are TOTALLY the SAME application: except for the first Flash file (a 24kb swf file for the Web version and a 170kb dmg file for the Mac version), basically a platform-dependent loader, both versions loads the same remote swf modules. Of course t is AIR (or my first Flash file?).
    I attach the source code of the Mac version of the [first file] AIR-based application at the following url:
    http://92.63.230.100/others/others/wtstarter_mac.as.txt
    _Adobe_, is it a bug? isn't it?
    mc

  • How do I get Adobe Air Desktop App to notify user that a URL text file has been updated?

    How do I get an Adobe Air Desktop App to notify user that a URLRequest ".txt" file has been updated? via blinking system tray icon or something.
    New to Air and need someone to point me in the right direction. I have been searching web for hours and probably not asking the question right.
    I have a very simple Desktop App that just loads a text file from a web location into a dynamic text field at a set timer. it just repeats this action on the timer. right now every 5 minutes
    What would the actionscript be to tell the Air App to look at the date or time stamp of the ".txt" file and notify user if its new?
    Thanks

    Try to follow below steps
    Click on Finder and then hold Command + Shift + G keys on your keypad
    It will open Go to folder window, type  exactly ~/Library and click on Go
    Then open Application Support > Adobe folders
    Trash AAMUpdater and OOBE folders.
    Now click on finder and hold Command + Shift + G keys on your keypad.
    This time type /Library and click on Go.
    Make sure to remove ~ symbol.
    Then open Application Support > Adobe folders.
    Trash AAMUpdater, Adobe Application manager, OOBE folders.
    Now Click on Finder and then hold Command + Shift + U keys on your keypad.
    It will open utilities folder.
    Trash Adobe Creative Cloud and Adobe Application Manager folders
    Download and Run CC cleaner tool from below link
    http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems/_jcr_conte nt/main-pars/accordion_container_1/accordion-par/accordion-item-1/accordion-item-par/proc e dure/proc_par/step_3/step_par/download/file.res/AdobeCreativeCloudCleanerTool.zip
    Accept the license agreement and click on Adobe Application Manager
    Then click on clean up selected
    Close the window
    Download and install Creative Cloud App from below link
    Free Creative Cloud | Download Adobe Creative Cloud free trial

  • Flash app converted to AIR/desktop app: actionscript not running

    Hi there,
    I have a flash app that runs on a browser useing actionscript and webservices for getting data, converted to a AIR desktop app. It access a local database for data. I have opened the .fla file and changed the publishing setting to AIR and set the document class to the Main.as. Also, I have added the following .swc files - framework.swc and rpc.swc. While trying to debug it is showing that "Your swf does not have action script to debug". While running it, I am getting a blank screen. Could you guys please help me out in what I am missing or doing wrong ????????
    HELP PLEASE!!!

    Hi there,
    I have a flash app that runs on a browser useing actionscript and webservices for getting data, converted to a AIR desktop app. It access a local database for data. I have opened the .fla file and changed the publishing setting to AIR and set the document class to the Main.as. Also, I have added the following .swc files - framework.swc and rpc.swc. While trying to debug it is showing that "Your swf does not have action script to debug". While running it, I am getting a blank screen. Could you guys please help me out in what I am missing or doing wrong ????????
    HELP PLEASE!!!

  • Pass parameter to new view in air desktop app

    Hi Guys,
    Have developed a mobile app that uses this code .....
    public function generalList_ChangeHandler(event:IndexChangeEvent):void
    navigator.pushView(Detail, list.selectedItem);
    .... to pass data from a list item that the user clicks to a new view called Detail. 
    This is a very common requirement. ie  Scroll a list, and then click on an item to go to a new view where the
    details about the item selected are rendered.
    ..but, I cannot see how to do this in a classic air desktop app.
    It must be pretty simple but it is not im Tour de Flex and I can't find a solution on the web.
    What would the equivalent code for an air app please?
    Thanks,
    Richard

    Oh, I see.
    Your right if I remember correctly you implemented your own version of a ViewNavigator for your AIR application.
    If you want to use the mobile components in your AIR application you need to add the swc to your project 'mobilecomponents.swc'.
    You do this right click project->propertie, then select Flex Build Path and focus on the Library Path tab. Then click "Add SWC" and browse to 'C:\Program Files (x86)\Adobe\Adobe Flash Builder Burrito\sdks\4.5.0\frameworks\libs\mobile' and select the mobilecomponents.swc.
    That should allow you to leverage the ViewNavigator in your AIR application. However, as your AIR app is not a MoblieApplication you will have to instanciate your own instance of ViewNavigator to use and push views to.
    Hope that helps.
    Greg

  • How to launch an Air desktop app from a second Air desktop app?

    Hi,
    Is there a way to launch an Air desktop app from a second Air desktop app?
    I'm using Air 4 with Flash CS 6 on Windows.
    Thanks

    According to Adobe documentation, AIR doesn't allow you to launch one application using another on desktop. The best bet that I could find at the moment would be to use the File.openWithDefaultAppilcation() function and open a file(like a .doc or .txt file) that has an AIR app set as the default application to use for X filetype. Unfortunately, launching app(.exe, .app, etc) files directly is not allowed. Probably for safety/security reasons. You might be able to get around that with a Native Extension though. Below is a link to the File.openWithDefaultApplication() method which includes a table of all the filetypes not allowed. Tried messing around with some ways around it, but the best I could do was open a new Finder window(testing on a Mac) and highlight the file. The code below assumes that both AIR apps are installed in the same app directory. Not sure how it would work on Windows but the result might be the same. For Mac, no special characters or anything was needed even though the app I was trying to open had spaces in the filename.
    var filePath:String = "file://" + File.applicationDirectory.nativePath + "/App to highlight.app";
    navigateToURL(new URLRequest(filePath));
    File - Adobe ActionScript® 3 (AS3 ) API Reference

  • I have an iPod Touch and am going on a cruise where I have been told that I won't be able to use Safari so I should download Firefox.  I found "Mercury Web Browser" Firefox at the app store.  Is this what I need? I'm leaving on Sept. 3rd.

    I have an iPod Touch and am going on a cruise where I have been told that Safari won't work on the ship so I need to download Firefox. My iPod said that Safari cna't download it from the Firefox website.  I found "Mercury Web Browser" Firefox, in the app store (free) and am wondering if that is what I need?  Help, I'm leaving on Sept. 3/12.  Thanks.

    - I never heard that but it may be true. It could be that for some reason Safari can't be used to log into the network. Once logged in, Safari should work fine
    - However, I see nothing that say the Mercury Web Browser is Firefox. I would contact the cruise line and ask if and how you use the ship's['s wifi for an iPhone or iPad (it will apply to iPod touch)

  • AIR desktop app installation prob

    Gidday
    I'm having trouble getting my AIR desktop app (AIR2.5 with a self-signed certificate) to do auto updates.  I've had it updating fine in the past, but now get the following message:
    "This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance."
    Here's my method when I test the installation:
    - publish a new AIR file using the SAME version number as the currently released app eg 1.017
    - install it on my local machine
    - publish a new AIR file with an incremented version number, in this case 1.018
    - set my text file that the app checks online for updates to contain 1.018
    - upload 1.018 AIR file to my site
    - run the desktop app (version 1.017).  It successfully detects there's a new version, and downloads it.
    - it starts to install, and then I get the error
    I've researched this all afternoon, and have found articles mainly talking about expired certificates.  So I created a new certificate, and the problem still occurs.
    Also, I've tried uninstalling my app from my local machine, but I still get the installation error.
    Any ideas how to rectify this, so that I can continue using auto updating rather than force people to uninstall and download the new version for installation?
    Thanks for your help.

    Nevermind - the txt file that contains the version number and the url for the updater has the url for my live site, not my test one, so I changed it , and it installed fine.

Maybe you are looking for

  • Creative Cloud Desktop App in English

    Hi all, I don't know if this was solved before and I've been looking for a solution but didn't found a clue. My CC desktop app is installed in to my mac but everything is displayed in english and it should be in Spanish. When I install any app (Photo

  • Remove all Scriplets ??  and change to tags.

    I have a shopping cart aproximately 2 years old that is jsp/servlet. The jsp pages look more like servlets as they have TONS of java code in them. The shopping cart currently has no taglibs in it, and I am in the process of re-writing all jsp pages.

  • Flex editing without quantizing

    Is there any way to use Flex and ignore the song tempo? I don't want my music to snap to logic's grid, i just want to move transients forward or backward in time. I tend to record without a click and with constant tempo variations. Can I still use Fl

  • How can i avoid that error

    create or replace procedure test_proc(txn_auth_id in varchar2(12)) is v_msg_type varchar2(4); v_txn_type varchar2(2); begin select MSG_TYPE,TXN_TYPE into v_msg_type,v_txn_type from test where txn_auth_id=txn_auth_id; dbms_output.put_line( v_msg_type|

  • OS X 10.4.3 Becomes Confused

    I have now had several instances in which OS X 10.4.3 seems to become dysfunctional after it has been up and running for a day or longer. It seems to prevent the correct application from executing. For instance, if you try to activate iTunes or Mail,