Search code examples
androidlivewallpaper

How to exlude all the devices which have low GPU in Android Manifest?


Basically, I created a live wallpaper for Android and tried it in my Droid X, Galaxy S, and Fascinate. And I noticed that it runs smootly in Galaxy S and Fasciante but not in Droid X which has lower GPU. My question is, is there anyway to exlude all the devices which has low GPU in Android Manifest? I am planning to publish this live wallpaper soon. Please help me!


Solution

  • You can add supports-screens to the manifest, and pass in a true false valuefor each size. The below example would exclude all mobile handsets.

    Id imagine a solution to narrow everything down to exactly you want would be similar to this.

    <manifest ... >
        <supports-screens android:smallScreens="false"
                          android:normalScreens="false"
                          android:largeScreens="false"
                          android:xlargeScreens="true"
                          android:requiresSmallestWidthDp="600" />
        <application ... >
            ...
        </application>
    </manifest>
    

    Other things are available as well such as Density values.

    See the Support-Screen Dev Doc