This file contains an Adobe Native Extension (http://www.adobe.com/devnet/air/native-extensions-for-air.html) for Air/Android. This will let you show a Toast message, positioning wherever you need it to be.
The extension can be used with:
- Flash Builder Flex Mobile projects (project example included)
- Flash Builder ActionScript Mobile projects (project example included)
- Flash Professional CS6 (project example included)
- Flash Professional CS5 .5 (note that this is for advanced users only: you will have to use the ADT tool and an example project is not included)
Using the ane is very simple. Just declare:
var toast:Toast = new Toast(); toast.setPosition(position); toast.show(message, duration);
The preview example shows the Flex project. Upon installing, a folder including some example files will be copied in your documents folder to show the functionalities.
Release Notes
- rel 01.00: initial release
- rel 01.01: added Flash Professional CS6 example
