https://github.com/oldes/helloair
Simple AIR app for testing native extensions
https://github.com/oldes/helloair
Last synced: 2 months ago
JSON representation
Simple AIR app for testing native extensions
- Host: GitHub
- URL: https://github.com/oldes/helloair
- Owner: Oldes
- License: apache-2.0
- Created: 2024-03-28T09:50:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-14T15:23:32.000Z (6 months ago)
- Last Synced: 2024-11-14T16:30:42.074Z (6 months ago)
- Language: ActionScript
- Size: 65.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HelloAir
Simple AIR app for testing some of my native extensions:
1. [Hello](https://github.com/Oldes/ANE_Hello) - just a minimal extension template
2. [GooglePlay](https://github.com/Oldes/ANE_GooglePlay)
3. [GooglePlayAssets](https://github.com/Oldes/ANE_GooglePlayAssets)
4. [System](https://github.com/Oldes/ANE_System) - for Android so far## How to build the application
This project uses [Rebol](https://github.com/Oldes/Rebol3/) to [make the build](https://github.com/Oldes/HelloAir/blob/main/build.r3), but even without Rebol it may be built in 2 steps using these commands (on Windows):
#### Building a SWF file
```
java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m ^
-Dflexlib=C:\Dev\SDKs\AIRSDK\frameworks ^
-jar C:\Dev\SDKs\AIRSDK\lib\mxmlc-cli.jar ^
-load-config=C:\Dev\SDKs\AIRSDK\frameworks\air-config.xml ^
-load-config+=swf-config.xml +configname=air ^
-advanced-telemetry=false ^
-o Data\main.swf
```
#### Building an AAB file
```
java -jar C:\Dev\SDKs\AIRSDK\lib\adt.jar ^
-package -target aab ^
-storetype jks -keystore certificate.keystore -alias 1 -storepass qwerty ^
Build\HelloAir.aab ^
application-v33.xml ^
Data\main.swf Data\icons\* ^
assetpack1 assetpack2 assetpack3 ^
-extdir Extensions ^
-platformsdk C:\Users\oldes\AppData\Local\Android\Sdk
```In case anybody wants to test it, IDs and credentials must be changed!