MahjongAndroid

From WikiFlashed

Jump to: navigation, search

I will share my experience about creating/converting android app using adobe's AIR packager. For the detailed parts, you should be able to get it from the Air SDK. The app will be using my Mahjong HK game. Let's call it Mahjong Air.

Author

Youtube Demo

View Demo

Logics

Basically it is extremely simple. The only issue you have to worry about is to make sure that all images are optimized and re-sized correctly for the target phone's dimension. The emulated version runs quite slow. I hope on a 1GHZ device, it will run well.

  1. Steps
    1. Create AIR 2 Project in Adobe Flash IDE or Flex Builder
    2. Configure Dimensions and Debug until it is working
    3. Make sure that all embeded SWF using Flex's meta tag have been chucked into the project FLA and export them instead
    4. After compiling, open up command line prompt in windows/linux
    5. Create the certificate signing file using adobe's adt tools or android SDK. (Make sure you download JAVA SDK)
    6. Compile the APK file.
    7. Install the APK onto Android.
    8. TBD Full Testing and optimization on a REAL device.

I tested GTween and Actuate for this. It seems that TweenLite does not work with this AIR overlay at all. I am quite excited at the moment to speak to other developers about optimization animations and bitmap drawing. Lets see what happens.

google ads
Personal tools