Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 499
user858975 Avatar asked Sep 20 '11 14:09

user858975


2 Answers

You can exclude specific devices when submitting the app to the market. Rather do it there than in the manifest, as it's not possible to specify the required GPU in the manifest, and screen size is not necessarily an indicator of GPU power.

like image 148
RichardB Avatar answered Nov 07 '22 03:11

RichardB


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

like image 2
sealz Avatar answered Nov 07 '22 04:11

sealz