GithubHelp home page GithubHelp logo

slavikyad / air-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from branchmetrics/air-plugin

0.0 2.0 0.0 232.06 MB

Adobe AIR plugin for Tune

Home Page: https://developers.tune.com/sdk/adobe-air-quick-start/

ActionScript 14.58% Java 19.43% Shell 0.70% C 24.66% Objective-C 40.63%

air-plugin's Introduction

TUNE AIR Native Extension

Please see the Quick Start guide here:

AIR Quick Start

Building the ANE

Prerequisites

  1. Install Apache Ant if you haven't already

Make sure to use an Ant distribution compatible with Java 7 or lower, such as Ant 1.9.x.

Put the download somewhere permanent and add the bin directory to your PATH

  1. Download the Flex SDK installer This is the SDK that you need to build the AIR plugin
  • Run the downloaded Flex installer
  • Select a download location for the Flex SDK (you'll need this location later)
  • Choose the latest version of Flex and Air (or whatever you need to build the plugin against) and download (this will take some time)
  1. Download the Android SDK

  2. Download Adobe Flash Builder

This is the IDE that you build the AIR Plugin with.

  • Make sure you have java 6, which the Flash Builder 4.7 depends on Mac download

Developing and testing in the Adobe Flash Builder IDE

  1. Run Adobe Flash Builder

Adobe Flash Builder is built on Eclipse, so it might look familiar to you

  1. Choose File -> Import -> Existing Projects into Workspace and then choose the whole sdk-air directory

You should see 9 projects imported into the workspace.

  1. Run the TuneANETestApp project on both iOS and Android devices. All the buttons in the test app should work on device without crashes. You can verify the AA requests succeed by looking at debug output from Xcode console or Android LogCat.

Upgrading Air SDK for Adobe Flash Builder

  1. Make a backup of /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722

  2. Erase all contents inside com.adobe.flash.compiler_4.7.0.349722

  3. Extract the new Air SDK and then paste it into com.adobe.flash.compiler_4.7.0.349722

Building the ANE from the command line

  1. In the /build/ folder, rename the build.config.dist file to build.config and set your system paths for flex.sdk and android.sdk

  2. In extension.xml, platformandroid.xml, and platformios.xml, change the AIR SDK version if needed

  3. Then from /build/, run 'ant' which will create a TuneANE.ane file in the /dist/ folder

air-plugin's People

Contributors

hasjohnb avatar hasronald avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.