title: Android: Disable application for tablet
body: <p>I developed an application, Now i want to restrict the application for tablet.</p>
  
  <p>Means the application should not run on any tablets. For that I specify the support-screens in Androidmenifest.XML file as:</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.abc.xyz"
  android:versionCode="1"
  android:versionName="1.0" &gt;
  
  &lt;uses-sdk
      android:minSdkVersion="5"
      android:targetSdkVersion="17"
      android:maxSdkVersion="17" /&gt;
  
  &lt;supports-screens 
      android:smallScreens="true"
      android:normalScreens="true" 
      android:largeScreens="false"
      android:xlargeScreens="false"
      android:resizeable="true"
      android:anyDensity="true" /&gt;
  
  &lt;uses-permission android:name="android.permission.SEND_SMS" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/&gt;
  &lt;uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/&gt;
  
  &lt;application
      android:icon="@drawable/appicon"
      android:label="@string/app_name"
      android:theme="@android:style/Theme.Black.NoTitleBar"
      android:allowBackup="true" &gt;
  
      &lt;activity
          android:name="com.abc.xyz.activities.hello"
          android:label="@string/title_activity_hello" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;        
  &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>Now the issue is that :</p>
  
  <p><strong>Application is running on tablet</strong> </p>
  
  <pre><code> android:largeScreens="false"
   android:xlargeScreens="false"
  </code></pre>
  
  <p><strong>After declaring above too.</strong></p>
  
  <p>Now what should i do. Please suggest me and guide me.</p>