Search code examples
androidlivegpuwallpaper

How to exclude devices with lower GPU in Android?


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

Yesterday, 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. So far I can only eliminate a specific devices which has normal-xlarge screen using the code below. But it does not specifically tell whether it has lower GPU. My question is, is there anyway to exlude other devices with lower GPU?

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

Solution

  • I think you can not exclude by criteria CPU but you can exclude with criteria API level

    <uses-sdk android:minSdkVersion="integer"  />
    

    I know this is not well solution but you can go with assumption that if the is on higher sdk level that the program is installed on device that is newer (which usually means faster). I told you this is not complete solution to your problem but you might find it useful.