Some applications are only made for tablets. So in order to restrict the application to download only in Tablets, we can use supports-screens tag inside the manifest file inside manifest tag.
<manifest ... >
<supports-screens android:smallScreens="false"
android:normalScreens="false"
android:largeScreens="true"
android:xlargeScreens="true"
android:requiresSmallestWidthDp="600" />
...
<application ... >
...
</application>
</manifest>
The above code explains the screens in two ways:-
- It declares the screens that are
traditionally not a tablet i.e.
normalScreens and smallScreens which
are not supported by application.
- It declares the support of large
screens which is having atleast
600dp width i.e. support for Tablet.
0 Comment(s)