Coder Social home page Coder Social logo

rontian / battery-ane Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tuarua/battery-ane

0.0 0.0 0.0 1.78 MB

Battery Adobe Air Native Extension for iOS 9.0+, Android 19+

License: Apache License 2.0

PowerShell 0.55% Shell 12.41% ActionScript 22.80% Batchfile 2.31% Java 3.14% Kotlin 8.95% Objective-C 11.78% Swift 38.06%

battery-ane's Introduction

Battery-ANE

Battery Adobe Air Native Extension for iOS 9.0+ and Android 19+.


Android

The ANE + Dependencies

cd into /example and run:

  • OSX (Terminal)
bash get_android_dependencies.sh
  • Windows Powershell
PS get_android_dependencies.ps1
<extensions>
<extensionID>com.tuarua.frekotlin</extensionID>
<extensionID>com.google.code.gson.gson</extensionID>
<extensionID>com.tuarua.BatteryANE</extensionID>
...
</extensions>

iOS

The ANE + Dependencies

N.B. You must use a Mac to build an iOS app using this ANE. Windows is NOT supported.

From the command line cd into /example and run:

bash get_ios_dependencies.sh

This folder, ios_dependencies/device/Frameworks, must be packaged as part of your app when creating the ipa. How this is done will depend on the IDE you are using. After the ipa is created unzip it and confirm there is a "Frameworks" folder in the root of the .app package.

Prerequisites

You will need:

  • IntelliJ IDEA / Flash Builder
  • AIR 29
  • Android Studio 3 if you wish to edit the Android source
  • Xcode 9.3
  • Xcode 9.1 for iOS Simulator
  • wget on OSX
  • Powershell on Windows

References

battery-ane's People

Contributors

tuarua 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.