Update: We’re in beta! Contact me to get on the beta list: andrew [at] simplifiedlogic.com subject: NitroScreenCap Beta. Also, include your development OS platform.


I’ve been working on a project for Simplified Logic that requires screen capture capabilities. Since this type of feature would be hugely useful to others developing AIR applications, I’ve convinced them to break it out and sell it as a component. This component has two parts. The first is a .swc file you include in your AIR application. The second is a set of native executables that the AIR app will utilize to handle the native part of the screen capture.

So far, I have it working only on Windows. Next on my list will be OSX support followed closely by Linux. Pricing for this component is undetermined at this time.

The code on the AIR side is pretty straightforward for users. You’ll need to use the extendedDesktop AIR profile and package your app as an executable.

protected function screenshotButton_clickHandler(event:MouseEvent):void
{
    nitroScreenCap.takeScreenshot(
        function screenshotResult(bitmapData:BitmapData):void
        {
            screenshotImage.source = bitmapData;
        },
        function screenshotError(error:Error):void
        {
            trace(error.message);
        }
    );
}

Watch the video to get an idea of what it’s capable of.

Unable to display content. Adobe Flash is required.

Post to Twitter

Posted by Andrew, filed under AIR, C++. Date: February 24, 2011, 6:02 pm | 9 Comments »

9 Responses

  1. Marvin Blase Says:

    Hey Andrew,
    looks awesome – any idea when the source will be available for public?

  2. Tweets that mention Desktop Screen Capture in Adobe AIR | -- Topsy.com Says:

    [...] This post was mentioned on Twitter by Marvin Blase and Marvin Blase, karannnnnnnnnnn3. karannnnnnnnnnn3 said: Desktop Screen Capture in Adobe AIR: I’ve been working on a project for Simplified Logic that requires screen ca… http://bit.ly/fQNeJA [...]

  3. Andrew Says:

    Marvin,
    I would say if all goes well, it should be ready for purchase in a few weeks. It’s not going to be open source, but the code I posted is pretty much all you’ll need to know for usage.

  4. Marvin Blase Says:

    Okay – I was rather interested in behind the scenes as I need to work with nativeProcesses as well soon. Not with screenshots though..

    Good work however, hopefully some ppl will buy it :)

  5. Andrew Says:

    Marvin,

    If you’re looking for good techniques to use with nativeProcess, see my article at RIARockStars:

    http://riarockstars.com/2011/02/04/efficient-nativeprocess-calls-in-adobe-air/

  6. Jay Says:

    Fantastic innovation Andrew, I’m interested in this component, what will the pricing be like? Let me know when it’s ready. Thanks

  7. Andrew Westberg Says:

    @Jay Simplified Logic is targeting a price point of $100 for a yearly developer license subscription. It will be licensed with Nitro-LM and sold through the Nitromation store (https://store.nitromation.com). I’d estimate that I’ll be ready for some beta testers in about 2 weeks. If anyone is interested in beta testing, please send me an e-mail to andrew[at]simplifiedlogic.com with the subject of “NitroScreenCap Beta”. Make sure to include your targeted OS platform(s).

  8. Andrew Westberg Says:

    I forgot to mention that there is no runtime licensing requirement for this component. As a developer, you’ll have to have a purchased license, but after you release it in your software, there is no licensing requirements.

  9. Frank Says:

    I contact you because i looking for the NitroScreenCap library. Can you sale it to me? I really need urgently a answer. Thank you a lot

Leave a Comment

 
Your comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.