7

I am writing an Adobe AIR Android application using FlashDevelop, and I want to make sure that when I publish it to Google Play it is only available to devices that support Adobe AIR based applications. What is the proper way to configure this in my project files?

UPDATE: Tech Requirements for Adobe AIR 3 (from Adobe):

  • ARMv7 processor with vector FPU, minimum 550MHz, OpenGL ES 2.0, H.264 and AAC HW decoders
  • Android™ 2.2, 2.3, 3.0, 3.1, 3.2, and 4.0
  • 256MB of RAM
  • Android web browser
kpatelPro
  • 287
  • 2
  • 10
  • fwiw, here is an Adobe page concerning [Android manifest settings for AIR](http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffc.html). It does not answer this question but has other useful related information. – kpatelPro Sep 25 '12 at 22:20

2 Answers2

4

AIR will run on Froyo (Android 2.2 SDK version 8) or above. In your application.xml add the following to the manifest additions

<uses-sdk android:minSdkVersion="8" />

This will ensure anything running less than 2.2 wont be compatible with your app.

  • Will this filter out unsupported ARMv6 devices? (if those can run Android 2.2 at all) – Philippe Sep 25 '12 at 13:12
  • I dont think there is a way to filter out the unsupported ARMv6 devices. That code will show the app as incompatible on anything less than 2.2 – Phil Vessey Sep 25 '12 at 13:22
  • Thanks! I've updated the question with the full list of requirements. – kpatelPro Sep 25 '12 at 22:11
  • I've just uploaded an application using only the manifest setting you mentioned, and Google Play specified that "This apk requests 1 native platofrms that will be used for Google Play filtering: armeabi-v7a". So I guess that takes care of itself. :) Marking this as the correct answer. – kpatelPro Sep 26 '12 at 08:45
0
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="16"/>
<supports-screens android:resizeable="true" android:anyDensity="true" android:smallScreens="false" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true"/>

You need to add supports-gl-texture flag to filter out devices with old opengl and video-card:

<supports-gl-texture android:name="GL_OES_compressed_ETC1_RGB8_texture"/>
esdebon
  • 2,460
  • 5
  • 26
  • 33