Hi guys. Just reposting if you guys haven't read 'em yet. Forwarding from Michael Chou.
Adobe AIR 2.5 for Android Froyo is now in open beta if any of you guys want to start looking at it. -Naz ---- Carlos Nazareno Core Team Member Phlashers: Philippine Flash Actionscripters http://www.phlashers.com General Questions Q: How do I get started? A: Please start by downloading this document from the Documentation section in Resources: Developing_AIR_Apps_for_Android.pdf (In the Documentation section in Resources) Also go view these resources on the internet: *ActionScript 3.0 Reference for the Adobe Flash Platform http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/ *Optimizing Performance for the Flash Platform http://help.adobe.com/en_US/as3/mobile/index.html The following documents and URL are also useful: *ActionScript 3.0 Developer’s Guide http://help.adobe.com/en_US/as3/dev/index.html *Building Adobe AIR Applications http://help.adobe.com/en_US/air/build/ *Adobe AIR Developer Center http://www.adobe.com/devnet/air/ Q: What are the known issues with AIR on Android? A: Please refer to the prerelease notes included with every build we drop to the prerelease site. Q: Where can I tell you about my AIR Android app? A: Post a link to your application in the “AIR for Android App Sharing” user forum or e-mail us at [email protected] . In the next few months, there will be many opportunities for Adobe to showcase the best Android applications built using AIR. Q: Where do I post my questions? A: Please post all of your questions and comments on the “AIR For Android General Discussions” User Forum. Q: Do I need to download the Android SDK to create an AIR application for Android? A: We recommend that you download the Android SDK. While it is not required for the creation of applications, the Android SDK is required for loading your AIR app into devices and there are many tools in the Android SDK that you can use to help test and profile your application’s performance. Q: How do I report bugs and submit feature requests? A: Select “Report Bugs/Feature Requests” from the navigation panel on the left side, then select “Submit AIR Bugs/Feature Requests”, and follow the instructions from the site. When submitting a bug report, please also make sure to include as part of the “Hardware/Device/ Environment” field the device you are using. You will only need to add this information the first time you create a bug, and it will be remembered for future submissions. System Requirements Q: What version of the Android OS is supported by AIR for Android? A: AIR on Android supports Android OS 2.2 (FroYo). Q. What processors does Adobe AIR support in Android devices? A. Adobe AIR on Android requires an ARMv7 processor. Q: What version of Adobe AIR includes support for Android? A: Android Support will be available in AIR 2.5. The build we are dropping in this Prerelease Program is a Beta of the AIR 2.5 SDK. Q: Is Java required for packaging? A: Yes, Sun java version 1.5 or later is required (to be present in PATH) for packaging. Q: What devices are supported by the AIR for Android SDK? A: We expect most Android devices supporting FroYo with an ARMv7 Processor to work. However we only test and certify with the Google Nexus One and Motorola Droid. You can test your AIR application on other devices. We would be interested in hearing about your experiences using other devices. Tooling Q: What developer tools are available today in the pre-release program? A: Available now through the pre-release program, Adobe will allow you to package Android apps using command line tools. Also, there is an extension for Flash Professional CS5 that adds support for Android development. You can find this in the "Download Software" section. Q: Can I develop AIR applications for Android in the pre-release program using Flash Builder 4 and/or Flex 4? A: The Flex 4 framework has not yet been optimized for mobile devices. However, advanced developers who are familiar with creating ActionScript-only AIR projects in Flash Builder can package those projects for Android using the adt command-line tool in the prerelease SDK for AIR on Android. For more information on adt, please refer to the prerelease SDK documentation. Adobe is currently working on creating a highly productive, cross- platform solution for mobile development using Flash Builder and Flex. If you sign up for the AIR for Android prerelease, we’ll keep you informed of our progress. For more information, please see the Flex Mobile labs page at http://labs.adobe.com/technologies/flex/mobile/. Features Q: Can I use the AIR SDK available in this prerelease to create non- Android applications? A: No, not at this time. To target other platforms, use the AIR SDK available in the general AIR pre-release forum. Q: Can I play H.264 Video from Flash content on Android? A: On FroYo devices, you can play H.264 videos. However, on Éclair devices, only the H.264 videos which do not have AAC encoded audio are supported. Q: Does AIR allow a way to launch another application on Android? A: No, AIR on Android does not support this feature. Q: Which versions of ActionScript are supported when developing for Android? A: ActionScript 3.0-based content is supported on AIR for Android. ActionScript 1.0 and 2.0 are not supported. Q: What features are coming in upcoming builds? A: All of the features that we are planning for the AIR 2.5 release have already been incorporated into the latest prerelease build. Any feature requests that you have submitted have been added to our feature request database and we will evaluate them for a future release of AIR. Q: The AIR Android SDK is still missing some features that I need to finish my application. What should I do? A: While we have finalized our feature set for this release, please let us know about missing features that are important to you and to help us prioritize your feature by submitting a feature request. Development Q: Are there any general performance related guidelines that I need to look for when I am developing application for AIR on Android? A: For better performance, it is recommended that you write applications in ActionScript and not in Flex. Q: How do I make sure that my AIR Android application works on multiple devices with different resolutions? A: Adobe has provided best practices guidance in the Adobe Developer Center (ADC) http://www.adobe.com/devnet. See Authoring mobile Flash content for multiple screen sizes http: //www.adobe.com/devnet/flash/articles/ authoring_for_multiple_screen_sizes.html Q: I already have an AIR file. What do I need to do to get it ready for AIR on Android? A: There are three basic things that one needs to be sure of when converting AIR applications to Android APK packages. 1) If you do use Flex, use the Application component, not the Windowed Application component. 2) The namespace in the application descriptor file is 2.5. 3) Set the visible tag to true in the application descriptor file. 4) Use the AIR SDK to package the application files with ‘-target apk’. Please see ‘Developing AIR Applications for Android’ for details about packaging. Testing and Debugging Q: How do I see ActionScript trace() output? A: In the packaging command, use ‘apk-debug’ as the target. The trace() output will be sent to a Flash debugger. Q: Can I debug my application while it is running on the device or emulator? A: Yes, you can remotely debug your application from your desktop if your application is packaged with ‘-target apk-debug’ option. Please see the debugging section in the ‘Developing AIR Applications for Android’ document. Packaging and Deployment Q: How do I package my AIR for Android application? Is there a UI for packaging apk? A: There are several options for packaging your AIR for Android application. You can use the command line tools included in the AIR for Android SDK. Additionally, the prerelease site includes an extension for Flash Professional CS5 that adds support for packaging AIR apps for Android. Also, Adobe Platform Evangelist Serge Jespers has created Package Assistant Pro, a tool with a graphical user interface for packaging AIR for Android applications. For more information, please go to http://www.webkitchen.be/package-assistant-pro/. Q: I already have an IPA file (created with the Packager for iPhone). What do I need to do to get it ready to for AIR on Android? A: You need to have either the .air file or the source files (.swf, the application descriptor file and other assets) and repackage them as .apk using the AIR SDK available in this prerelease. Q: Can I distribute my AIR Android application publicly? A: Not yet. When the AIR runtime reaches a sufficient quality bar to support applications on Android, we will announce instructions on how to make your AIR applications available to end users with Android devices. Q: How will the AIR for Android be distributed? A: After the public release of AIR for Android, the first time an end user runs an AIR app on their device, the user will be prompted to install the runtime from the Android Market. The AIR for Android runtime will be distributed as any other application in the Android Market. The version of the AIR runtime for Android included with the current build is not ready to be redistributed to end users. Use it to test and debug your application, and only share your application with other members of this pre-release program. Q: How will Adobe deploy updates to the AIR runtime? A: Adobe will deploy updates to the runtime via the Android Market. They will then be able to download and update the runtime, which is shared by all AIR apps on the device. Troubleshooting Q: I am seeing a black screen when I launch an AIR application. What should I do? A: Please uninstall that AIR application and Adobe AIR. Package the application again with the latest ADT in the AIR SDK. Then reinstall Adobe AIR and the application. Q: I am unable to install my application on emulator and get an error "Failure INSTALL_FAILED_INSUFFICIENT_STORAGE." A: Increase the size of the memory in your command string "emulator - avd <name> -partition-size <size>". Q: Are there any limitations with the root content size? A: No, there are no limitations to the root content size. Misc Q: Where can I learn more about Adobe AIR? A: The AIR team maintains an AIR Team Blog with all the latest news and developments, new AIR applications and links to other blogs and resources at:http://blogs.adobe.com/air/ Other resources include Adobe AIR Product home page: http://www.adobe.com/products/air/ Adobe Flash Platform Blog: http://blogs.adobe.com/flashplatform/ Adobe AIR MarketPlace (Currently desktop apps only): http://www.adobe.com/products/air/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

