仅适用于平板电脑的应用 [英] Application Only for Tablets
问题描述
我只为平板电脑打造的应用程序。现在,我上传的市场该应用程序。 在Android 2.2的我的应用程序支持的Galaxy Tab 7和所有的Android 3.0版本平板电脑。 问题是,应用程序可以在手机无法安装。当我使用Android 2.2版本的设备和搜索我的应用程序比它的发现,并安装在我的设备。
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.
要避免我添加此code。在我的清单文件: -
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" />
但直到在移动我的应用程序显示。 我发现了一些其他的code,但这不是我的清单文件显示
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"
在此先感谢
推荐答案
正如我刚才在这里找到答案: http://stackoverflow.com /一/413127分之10540882有可能
As I just answered here: http://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" />
这篇关于仅适用于平板电脑的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!