Tag: AIR

  • Busting the HTTP Error 500.19 on ColdFusion 11 + IIS

    Here’s a little trouble shooting tip to bust an IIS HTTP Error 500.19 (Internal Server Error) that may pop up when IIS is configured with ColdFusion 11. The error mostly occurs when IIS is unable to interpret configurations specified in the web.config file.

    In this post I speak about fixing a specific cause of a 500.19, while the ideology can be applied to fix similar errors.

    When a connector is configured with IIS, ColdFusion attempts to register required MimeTypes in IIS. MimeTypes are registered to the server, or to specific site based on the options selected during connector configuration. Now, there is a good possibility some of these MimeTypes may be already added by other third party applications. Now what happens is a debacle. ColdFusion attempts to register a MimeType, and IIS puts this into a web.config file, and since this entry is actually a duplicate, IIS fails to serve any pages off the affected sites, and throws a 500.19.

    Here is one such error. The duplicate MimeType added in this case, is .air
    MimeError

    All we need to do to get around this error, is to either unconfigure the connector, navigate to IIS Manager > Site in Consideration > MimeTypes, remove the entry that references .air extension, and reconfigure the connector, OR, If you are confident enough to play around with you server, the web.config file itself can be edited to reflect appropriate settings.

    While that should get rid of the 500.19, this particular issue is being tracked, and will be resolved in a future release of ColdFusion.

  • Speech Recognition ANE – Source

    As a follow on for the Speech Recognition ANE I put up for download a while back, here is the a post to give out the source files.

    The source can be downloaded from my BitBucket repository.

    If you are looking for the compiled ANE instead, click here

    The contents of the zip archive are,

    • Android Native Project
    • Actionscript Library Project
    • Files required for compilation

    (more…)

  • New ActionScript Native Extension – Speech Recognition

    Here is a Speech Native Extension that takes advantage of the Android’s speech recognition APIs.

    Here is what the ANE does,

    • Provide an API to check if the feature is supported.
    • Provide an API to launch the default speech recognition UI and capture voice input.
    • Trigger events based on the success or failure of the above call.
    • In case of success, the appropriate event has information of the best match !
    • In case of failure, the appropriate event is fired.

    (more…)

  • Native Extensions – Flash Builder Webinar

    I did a webinar last Wednesday on using Native Extensions with Flash Builder. The agenda covered an introduction to Native Extensions – Rather Actionscript Native Extensions, the workflow involved in using native extensions, followed by a live demo.

    For those of you who haven’t had the chance to attend,

    Here is the link to the Recording,
    View Recording

    Here are the Slides,
    (more…)

  • Toast on AIR for Android

    Here’s a component which behaves as a ‘Toast’ for AIR applications running on Android. The component can essentially be used across any Flex application, since it is an ActionScript class.

    For those of you who don’t know, Toast is the small transparent alert that pop’s up (and doesn’t block your UI) when u set an alarm on Android phones !

    Toast on AIR for Android

    In the pic above, the text ‘Enter Required Fields’ appears in a ‘Toast’

    (more…)

  • Mime types for a Flex Server

    Here are a couple of mime-types for a server housing flex apps,
    Most of these maybe already defined by your hosting provider !

    AIR
    Mime-Type : application/vnd.adobe.air-application-installer-package+zip
    Extension : .air

    FXP
    Mime-Type : application/x-zip
    Extension : .fxp
    (more…)