android - <compatible-screens> 适用于 galaxy note

标签 android android-market-filtering

我开发了一个使用 S 笔的 galaxy note 应用程序。我想让它仅适用于 galaxy note。我的理解是 galaxy note 有一个大的 xhdpi 屏幕。

我在我的 androidmanifest.xml 中添加了这个:

<compatible-screens>
  <screen android:screenSize="large" android:screenDensity="xhdpi"/>
</compatible-screens>

但是当我发布它时,由于我的 list ,gt-n7000(galaxy note)显示为不兼容。 我尝试了一些其他的兼容屏幕组合,但它仍然显示 galaxy note 不兼容。

事实上,我什至尝试过这个(minsdkversion=3 和所有屏幕兼容),但笔记仍然标记为不兼容...:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.testnote.testnote"
        android:versionCode="10012"
        android:versionName="1.0.12">
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE"/>

<uses-sdk android:minSdkVersion="3" 
            android:targetSdkVersion="9"/>
    <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"/>

    <screen android:screenSize="large" android:screenDensity="ldpi"/>
    <screen android:screenSize="large" android:screenDensity="mdpi"/>
    <screen android:screenSize="large" android:screenDensity="hdpi"/>-
    <screen android:screenSize="large" android:screenDensity="xhdpi"/>

    <screen android:screenSize="xlarge" android:screenDensity="ldpi"/>
    <screen android:screenSize="xlarge" android:screenDensity="mdpi"/>
    <screen android:screenSize="xlarge" android:screenDensity="hdpi"/>
    <screen android:screenSize="xlarge" android:screenDensity="xhdpi"/>
</compatible-screens>

<application android:label="@string/app_name" android:icon="@drawable/icon">
    <activity android:name="testtest"
                android:label="@string/app_name">
        <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>
</manifest>

移除屏幕过滤器使 galaxy note 兼容,但我无法一一移除所有设备...

最佳答案

如果您只想启用一台设备,最好在市场管理页面中手动选择它(按型号名称)。

关于android - <compatible-screens> 适用于 galaxy note,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9023245/

相关文章:

android - 哪种 json 样式最适合 Android + iOS 应用程序

android - WiEngine Android 中的随机运动

android - 仅为特定版本更新 apk

android - 在 Android Market 上过滤设备屏幕尺寸

android - Google Play 显示 - 您的设备与 Samsung Galaxy tab 2 和 Google Nexus 7 的此版本不兼容

android - 从服务器 : Proxy Authentication Required 收到状态代码 407

android - 直接从浏览器(或从应用程序)发送到 whatsapp 组的链接

java - 在 Android 中通过 Intent 使用 Zxing 扫描条码时如何更改文本?

android - 应用程序不适用于 Google Play 上的 Nexus 7