3

I am create application only for tablets. Now i upload that application on market. My application support in Android 2.2 Galaxy Tab 7 and All android 3.0 version Tablets. Issues is that application can not install in mobile. when i use Android 2.2 version device and search my application than it's found and install in my device.

To avoid that i add this code in my manifest file:-

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

but till that in mobile my application show. I found some other code but this not show in my manifest file

    android:requiresSmallestWidthDp="600"
    android:compatibleWidthLimitDp="integer"
    android:largestWidthLimitDp="integer"

Thanks in Advance

Uttam
  • 12,361
  • 3
  • 33
  • 30
Mitesh Jain
  • 673
  • 1
  • 7
  • 20

2 Answers2

2

As I just answered here: https://stackoverflow.com/a/10540882/413127 it is possible

you need a combination of what you've outlined above in your Manifest:

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

 <uses-sdk
    android:minSdkVersion="11"
    android:targetSdkVersion="14" />
Community
  • 1
  • 1
Blundell
  • 75,855
  • 30
  • 208
  • 233
  • what about list of resolutions . and drawable ,layout folders to support this resolutions . – ahmed Shoeib Nov 29 '12 at 22:11
  • @ahmedShoeib something like this http://blog.blundell-apps.com/list-of-android-devices-with-pixel-density-buckets/ – Blundell Nov 30 '12 at 09:19
  • lett's say i need to develop android app for only tablets including SIII and Note what's the layout,drawable folders i should create. and what's is the standard resolution for each layout folder. – ahmed Shoeib Nov 30 '12 at 19:29
0

MinimumAPILevel attribute in Manifest.xml is used to filter apps. Changes it accordingly.
If you want you app to be visible for only tablets then keep MinimumAPILevel greater than 9. If you want it be visible for phone also then keep MinimumAPILevel less than 9.

Ajinkya
  • 22,324
  • 33
  • 110
  • 161