Code Monkey home page Code Monkey logo

ane-wizard's Introduction

ANE-Wizard


#####This is a extended version of a repo by freshplanet.


ANE-Wizard

This wizard is a set of tools to help Air Mobile developers build ANE (Air Native Extensions) faster.

What does it do exactly?

The wizard is composed of 4 tools:

  • an updated version of Divij Kumar's Xcode template (https://github.com/divijkumar/xcode-template-ane) that let you quickly setup the iOS part of your ANE
  • an Eclipse "New ANE Project" wizard that let you quickly setup the Android part of your ANE
  • a Flash Builder "New ANE Main Project" wizard that let you quickly setup two projects with a correct folders, the build script for the ANE and a second Actionscript project for the ANE
  • a Flash Builder "New ANE Project" wizard that let you quickly setup the Actionscript part of your ANE

Installation

Note: the path below might change depending on your system. I assume you are on OSX.

  1. Unzip ANE-Wizard-Xcode.zip in the following directory: ~/Library/Developer/Xcode/Templates/Project Templates (then restart Xcode)
  2. Copy ANE-Wizard-Eclipse.jar in the eclipse directory: /Applications/eclipse/plugins (then restart Eclipse)
  3. Copy ANE-Wizard-FlashBuilder.jar and ANE-Wizard-MainProject.jar in the adobe Flash builder directory: /Applications/Adobe Flash Builder 4.6/eclipse/plugins (then restart Flash Builder)

Creating a new ANE

Let's say you want to create an extension named MyExtension at the path ~/Projects/MyExtension

  1. Create a new Flash builder Main Project: File -> New -> Air Native Extension (ANE) -> ANE Main Project. When promped specyfy the Air sdk path and path of the project
  2. Create a new Xcode project: File -> New -> Project -> Air Native Extension -> Air Native Extension for iOS. When prompted to choose a folder, choose ~/Projects/MyExtension/NativeIOS
  3. Create a new Eclipse project: File -> New -> Project -> Air Native Extension (ANE) -> ANE Project. When prompted to choose a folder, choose ~/Projects/MyExtension/NativeAndroid
  4. Run ant (at this point your ANE is at ~/Projects/MyExtension/Binaries/MyExtension.ane)

Work in progress

This wizard is a work in progress. FreshPlanet was using it to speed up the development of thair own ANEs and I thought it might be useful to other developers to evolve it a little.

Problems / Feedback

If you encounter an issue using this wizard, you can create a new Issue on Github. We'll do our best to help you, but don't guarantee we'll have time to do it promptly.

If you need more information about ANEs, we recommand you read the following articles:

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.