Keith Waggoner
Keith Waggoner

Reputation: 13

Android compatible screen and density

I just finished my game and published it but it won't work on any screen less than the size of a tablet. It says it is due to my manifest settings

<application android:icon="@drawable/icon" android:label="@string/app_name">
    <activity android:name="unjustentertainment.com.GameActivity"
              android:label="My.Game"
              android:screenOrientation="portrait"
              android:configChanges="keyboard|keyboardHidden|orientation"
              >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>
<supports-screens
      android:largeScreens="true"
      android:normalScreens="true"
      android:smallScreens="true"
      android:anyDensity="true" />
<uses-permission android:name="android.permission.WAKE_LOCK" /> 
 <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="9"/>
 </manifest>

But I don't see why I am mainly targeting the htc evo?

Upvotes: 0

Views: 318

Answers (2)

Shawn Lauzon
Shawn Lauzon

Reputation: 6282

I believe that the element is ignored because you're setting the minSdkVersion to 3; from Market filters:

For applications that set either the android: minSdkVersion or android: targetSdkVersion to 3 or lower, the element itself is undefined and no attributes are available. In this case, Market assumes that the application is designed for normal-size screens and shows the application to devices that have normal or larger screens.

Try changing minSdkVersion to 4 and I believe that should fix it.

Upvotes: 1

Chris
Chris

Reputation: 1766

if you want this for as many devices as possible remove the "Supports-screen" and you dont really need targetSDK either. If you dont include them it will assume you support them

hopefully that fixes it

Upvotes: 1

Related Questions