Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I increase my app's device compatibility?

I've found that I can't find my app on google play with any of our new Android phones(a Galaxy Note, and a HTC Evo 4g lte). I figure it has to do with my manifest.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example"
android:versionCode="7"
android:versionName="1.15" >

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

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<compatible-screens>
    <screen android:screenSize="small" android:screenDensity="ldpi"/>
    <screen android:screenSize="normal" android:screenDensity="mdpi"/>
    <screen android:screenSize="large" android:screenDensity="hdpi"/>
    <screen android:screenSize="xlarge" android:screenDensity="xhdpi"/>
</compatible-screens>
<supports-screens android:xlargeScreens="true" android:smallScreens="true" android:anyDensity="true" android:resizeable="true" android:normalScreens="true" android:largeScreens="true"/>

<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <!-- AdMobActivity definition -->
<activity android:name="com.google.ads.AdActivity"
android:configChanges=    "keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
    <activity
        android:name="com.example.MainActivity"
        android:label="@string/app_name"
        android:configChanges="orientation|keyboardHidden|keyboard" >

        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

</manifest>
like image 357
Able Avatar asked Jan 31 '26 19:01

Able


1 Answers

<compatible-screens>
    <screen android:screenSize="small" android:screenDensity="ldpi"/>
    <screen android:screenSize="normal" android:screenDensity="mdpi"/>
    <screen android:screenSize="large" android:screenDensity="hdpi"/>
    <screen android:screenSize="xlarge" android:screenDensity="xhdpi"/>
</compatible-screens>

this limits your compatibility to devices with small screen and ldpi. So a small screen with mdpi will not be supported. I would remove this block, the <supports-screens> should be enough to make it visible to all devices out there.

like image 73
WarrenFaith Avatar answered Feb 03 '26 08:02

WarrenFaith



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!