我想在平板电脑只安装我的应用程序 [英] I want my app to be installed only in tablet

查看:118
本文介绍了我想在平板电脑只安装我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Android应用程序。我需要在Android Market上传。我已经开发了这个应用程序在蜂窝。这个应用程序是仅适用于Android平板电脑。的我为平板电脑设计的布局只(600x1024)。的我想这个应用程序安装只在从Android Market平板电脑,而不是在Android手机。我真的不知道该怎么做..?我一定要编程方式检查..?如果是的话,该怎么做..? 我的意图是,只有片可安装我的应用程序..!请分享您的宝贵建议..!

I have an android application. I need to upload in the android market. I have developed this app in "Honeycomb".This app is only for android tablets. I designed the layouts for tablets only (600x1024). I want this app to install only in tablets from android market and not in android phones. I really don't know how to do this..? Do i have to check programmatically..? if so, how to do that..? My intention is that only tablets can install my app..! Please share your valuable suggestions..!

推荐答案

你不试试这个 -

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

 <uses-sdk
    android:minSdkVersion="14"
    android:targetSdkVersion="14" />

看一看这个。具有Android开发者页面的好文章。 支持屏幕元素和的屏幕支持

Have a look at this. Have a good article from android developers page. Support Screens Element and Screen support

这篇关于我想在平板电脑只安装我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆