The following example shows how you can display web pages in an Adobe AIR HTML control by setting the location property.

Full code after the jump.




Tagged with:

5 Responses to Displaying web pages in an HTML control in an Adobe AIR application

  1. Gurpreet Singh says:

    Hi Peter,

    Thanks a ton for this example.

    I am new to AIR technology.
    I was looking to acheive this for long time.

    Can you guide me on two scenario?
    Scenario 1:
    I am developing an Air Project, wich will run on a corporate LAN.
    I want user to first login on corporate website before using air project.

    I am thinking of two options:
    a) When user open air project ask user to click on a button to login on corporate site, when user click the button launch the corporate site’s login page and close the air application after login user will be taken to a web page which will say click here to launch air application, there i can pass the user session info as arguments to the air application while launching.
    b) I open the corporate site’s login page inside air application using above logic, but in that case, after user logs in what best can i do to close the web page and pass on the session info to air application?

    Scenario 2:
    As in flex project we can create multiple applications (multiple swf files) and switch from one application to another using navigateToURL. How can we switch from one swf to another in an air project?

    Thanks & Regards,
    Gurpreet Singh

  2. shirak says:

    Why AIR application is failing when I try to connect to https website.

  3. Israel says:

    how could i get Air to print out the html in the Html control?

  4. Anand Meena says:

    Hi Peter,

    I am new in This technology.

    Is it possible that I Open my gmail account through HTML control of Adobe Air?

    If I enter my email address and password in 2 textboxes and than click on a button, It automatic redirect to my gmail account.
    Is this possible?

    Thanks in advance.

    Anand Meena

  5. I have been exploring for a bit for any high-quality articles or weblog posts on this sort of space .
    Exploring in Yahoo I at last stumbled upon this site.
    Studying this information So i’m happy to convey that I’ve a very good uncanny feeling I came upon just what I needed.
    I most no doubt will make certain to do not omit this web site and give it a glance on a constant basis.

Leave a Reply

Your email address will not be published.