What are the correct Android manifest settings for an Adobe AIR application to restrict device availability?
Asked Answered
U

2

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
Unaware answered 25/9, 2012 at 10:0 Comment(1)
fwiw, here is an Adobe page concerning Android manifest settings for AIR. It does not answer this question but has other useful related information.Unaware
S
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.

Siqueiros answered 25/9, 2012 at 12:59 Comment(4)
Will this filter out unsupported ARMv6 devices? (if those can run Android 2.2 at all)Baton
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.2Siqueiros
Thanks! I've updated the question with the full list of requirements.Unaware
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.Unaware
C
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"/>
Comma answered 11/2, 2015 at 14:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.