I am told to build an app in Android 2.2 which will not support tablets.
I went through lots of googling but found no solution. I also found this link but this give how to do the same from 2.3 onwards.
My problem is that I can't switch to 2.3 as my client want to support the app from 2.2.
Here is the code I am using in my manifest
<supports-screens android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="true"/>
The code above doesn't prevent the app to download from tablet, and so it crashes.