发布Android应用程序的手机只在 [英] Release android app for handset only
本文介绍了发布Android应用程序的手机只在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何设置一个Android应用程序成为唯一的手机?我不希望我的应用程序可用于平板电脑的用户界面不会真的为大屏幕的工作。
How do I set an android app to be for handset only? I don't want my app to be available for tablets as the UI wouldn't really work for that large of a screen.
推荐答案
您必须把所有的兼容性信息,在你的Android清单。如果你这样做,Android的市场将只显示你的应用程序,以满足您要求的设备。
You must put all compatability information in your android manifest. If you do this, the android market will only show your app to devices that meet your requirements.
<compatible-screens>
<screen android:screenSize="small" android:screenDensity="ldpi" />
<screen android:screenSize="small" android:screenDensity="mdpi" />
<screen android:screenSize="small" android:screenDensity="hdpi" />
<screen android:screenSize="small" android:screenDensity="xhdpi" />
<screen android:screenSize="normal" android:screenDensity="ldpi" />
<screen android:screenSize="normal" android:screenDensity="mdpi" />
<screen android:screenSize="normal" android:screenDensity="hdpi" />
<screen android:screenSize="normal" android:screenDensity="xhdpi" />
</compatible-screens>
只要将它调整到您的喜好。
Just tweak it to your likings.
这篇关于发布Android应用程序的手机只在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文