README.textile
March 31, 2015 ยท View on GitHub
h1. Air Native Extension for iOS and Android - Can Open URL
Note: This is a modified version of https://github.com/StickSports/ANE-Can-Open-URL to support iOS 64 bit
h3. Version
This is version 1.0 of this extension.
h3. Binary files
The bin folder contains the compiled extension and the default swc, which can be used for local testing if required by your development environment (Flash Builder shouldn't need it, but other IDEs may).
h3. Building
Requirements - Adobe Air SDK 3.1 or later, XCode IDE, Android SDK 2.2 or later, Java SDK, Apache Ant
- Run the bash shell script build.sh, this set the JAVA_HOME and invoke the build.xml to creates the native extension and default swc file inside the bin folder.
terminal>cd build terminal>./build.sh
h3. The test project
A simple test project is included for testing the extension. To build this air project
- Run the ant build script test/build.xml. This creates the test ipa and apk apps inside the test/bin folder.
h3. Using the extension
h4. To find whether an app exists to open a specific URL -
@CanOpenUrl.canOpen( url : String ) : Boolean@
h3. Example code
You can see the feature in action in the source code of the test project.
h3. Developers
- "GnanaPrakash":http://www.knobay.com/