Skip to content


Air 2.0 beta NativeProcess.isSupported gotcha

If you wanna start playing with new AIR 2.0 there are a couple things you need:
1. Runtime
2. Air 2.0 beta SDK (installed on top of Flex SDK)
3. New app.xml descriptor namespace which is

xmlns="http://ns.adobe.com/air/application/2.0beta"

But if you want to launch a native app from air, they forgot to mention in the documentation that you need to add

<supportedProfiles>extendedDesktop</supportedProfiles>

to the same xml.

Now if you check

NativeProcess.isSupported

you should get true, which means you can run a native app. You don’t have to be packaging your air app throught ADT or do anything else to see this boolean to be true. It should work in FlexBuilder straight away. Packaging it up is probably a good material for another post. Hope that helps.

Posted in development.

Tagged with , , , .


8 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Elliot says

    hey mate, you mention in step 2. to override the flex sdk4 with the downloaded AIR beta 2.0 SDK. is this what you mean?

    Also how do you do these steps for a pure AS3 project in FB4?

    Cheers

  2. admin says

    Hi Elliot,

    Yes, you need to find where your current Flex SDK is and extract the AIR SDK to the same folder. If you are using FB4 you will have sdks folder, whereever you installed FB4. In that folder you are most likely gonna have 3.4 SDK and 4.0. I would use 3.4, unless you want to experiment with new 4.0.

    For a pure AS3 project I am afraid you won’t be able to use AIR, it has to be a Flex app published to the desktop.

  3. Bamboo says

    Thanks a lot. this article had been helpful.

  4. hava perdesi says

    The topics discussed were very descriptive site Thank you all wish you continued success deserves praise

  5. louisvuittonshoppingmall says

    Hey There. I found your blog using msn. This is a really well written article. I will make sure to bookmark it and return to read more of your useful info. Thanks for the post. I’ll certainly comeback.

  6. Thasan says

    After taken a build the NativeProcess.isSupported is not working

  7. Beulah Maged says

    I want to know if you believe that today it is much harder to get a public proxy? I’ve never been a specialist in this field, but earlier it turned out easier to find a working proxy. Now it is rather difficult. I think this is due to increasing the number of individuals who deal together with spam. Too a lot of people are engaged with mindless spamming. You know some very good proxy service? I really do not use any proxy to great, or send spam mail.

Continuing the Discussion

  1. Setting up AIR 2.0 Beta in FDT – Lean Mean Fighting Machine Tech Blog linked to this post on January 27, 2010

    [...] You may also need to enable extended desktop support in your descriptor file by adding <supportedProfiles>extendedDesktop</supportedProfiles> (thanks Tom) [...]



Some HTML is OK

or, reply to this post via trackback.