Search code examples
androidgoogle-playscreentablet

Support for tablets configuration


I have made an application which has been tested on the emulator, some 2.2 phones and a 3.1 tablet. The application worked and the graphics were ok. But when I uploaded it on the market (EDIT: Now named Google Play), the support for tablets wasn't enabled, so I went through some solutions and made these changes to my manifest file.

<supports-screens
    android:smallScreens="true"
    android:normalScreens="true"
    android:largeScreens="true"
    android:xlargeScreens="true"
    android:anyDensity="true"/>
<uses-feature android:name="android.hardware.telephone" android:required="false" />

I also changed the minSdkVersion and I have:

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

My target API level is 9, but it's not defined in the manifest. Do you think I should add the following line?

<uses-sdk android:targetSdkVersion="9" />

And my final question: Is this manifest (with or without the targetSdkVersion parameter) ok so that the android market would allow the tablet device to download and install my application or do I need to check anything else?


Solution

  • If you are using features that are not found on tablets (most notably phone-related), you might need to mark those as optional as well.