Tag: Flex

  • 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…)

  • Speaking at, Adobe Flash Platform Summit 2011

    The much awaited Flash / Flex / Actionscript developer summit, the Adobe Flash Platform Summit is back again on 27th – 29th July at Bangalore, India with all new and exciting content around Devices, Experiences & Innovation. Watch out for exciting sessions around Flex for Mobile and Enterprise. Also with us this time are a host of Product Managers apart from Duane Nickull and Renaun Erickson, Evangelists from across the world. Ben Forta, too, is going to be there.

    I will be speaking on the 28th July. Here is an abstract of my session,
    (more…)

  • Speaking at, Great Indian Developer Summit 2011

    I will be speaking at the Great Indian Developer Summit 2011, at J N Tata Auditorium, IISC, Bangalore on the 21st and 22nd April 2011.

    Here are the abstracts for my sessions,

    (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…)

  • Hello World for a Flex Starter

    Here is a Flex Tutorial I’m writing for a couple of my friends. While the Videos on ‘Learn Flex in a week’ and “Test drive Flex in 1 hour” serve as good tutorials, here is an application I have attempted to build, which serves as an example for a developer trying out flex for the first time.

    Get yourself a Flash Builder to start off. A 60-day trial is available here

    The application demonstrates essential implementations like connecting to a WebService, SQLite Database and UI practices, a developer needs to be aware of prior to building a Flex application. This is brought about with 4 components, demonstrating the implementations below,

    1) Displaying Hello World.
    2) Displaying Hello World with a better UI (PopUp) from a XML file.
    3) Displaying Hello World from a Webservice (REST).
    4) Displaying Hello World from a Webservice that pushes data into a SQLite Database.

    (more…)

  • Installing the AIR SDK on Flash Builder

    Here is a set of steps you need to follow to configure a new SDK on Flash Builder 4.

    Download the AIR SDK
    1) The latest SDK can be downloaded from here : http://www.adobe.com/products/air/sdk/
    2) Navigate to /Flash_Builder_Installed_Folder/sdks
    3) Find the folder named ‘4.0.0’ (Our Flex 4 SDK) and make a copy of it in the same location, and name it, ‘4.0.0 AIR’
    4) Extract the contents of the downloaded archive, and paste it inside the ‘4.0.0 AIR’ directory.

    Configuring the new AIR SDK
    1) Right Click on the Project Name in Flash Builder, and select Properties
    2) Select ‘Flex Compiler’
    3) Select ‘Configure Flex SDKs’
    4) In the popup window that opens, Select ‘ADD’ and point to the new SDK you just created, namely ‘4.0.0 AIR’.
    5) Click ‘Ok’
    6) Select ‘Use Specific SDK’, and point to your new SDK.
    7) Click ‘Ok’

    The application should now get complied with the new SDK.

  • Flex – Validate Email Address against the Mail Server

    Here is a small piece of code I wrote to demonstrate Interacting with a Command, through an Event while using a Cairngorm Framework.

    The application connects to a WSDL webservice via Flash Builder 4 Data/Services to validate an Email address against the Email Server. Doesn’t work well with domains with a ‘Catch-All’ email address though !
    (more…)

  • Flash 10.1 performance – Apple VS Android

    Before I start, spend a few seconds going though the links as you come across them.

    The Adobe VS Apple war doesn’t seem to get over. We have seen official websites taking offensive & defensive sides, numerous forums and blogs reasoning their opinion and jokes from presenters at developer conferences (Yes I mean Vic Gundotra at Google I/O 2010). The debate on performance of Flash still seems to be going on and on.

    Focus is now on Android, a scale for judging the correctness of Apple/Adobe. While I dont deny the ultimate browsing experience provided on iPhones/iPads, here is my take on Android running Flash.
    (more…)