Sunday, March 11, 2012

Flash CS5.5 How to create captive apk file with Air 3.1

I release Air for Android application "eniboard for Tablet".
This app was published by Air 3.1 and include Air runtime.
So user don't need install Air runtime look like Air for iOS application.
I described how to publish it.

(1)At first, download Air 3.1 SDK, and expand it.
(2)Publish apk file with Flash CS5.5. (This apk file is published by Air2.6)
(3)Execute following command

adt -package -target apk-captive-runtime -storetype pkcs12 -keystore [package *1].p12 [package *2].apk [package *3]-app.xml -extdir ../runtimes/air/android [package].swf ....[attached files for example icon image files and translation files *4]

  • adk exist at Air3.1 bin folder.
  • *1: p12 file was published by Flash CS5.5.
  • *2: apk file was published by Flash CS5.5(Air 2.6).
  • *3: change from "application/2.6" to "application/3.1"
  • *4:attach all files icon images and translation files.
    • For example "en/board_en.xml"

No comments:

Post a Comment