Domanda

Ho sviluppato un'applicazione per Galaxy Note che utilizza la penna s.Mi piacerebbe renderlo disponibile solo per la nota di galassia.La mia comprensione è che la nota galassia ha un grande schermo XHDPI.

Ho aggiunto questo nel mio AndroidManifest.xml:

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

Ma quando lo pubblico, il GT-N7000 (Galaxy Note) appare incompatibile a causa del mio manifest. Ho provato alcune altre combinazioni di schermi compatibili ma mostra ancora la nota di galassia come incompatibile.

In effetti ho anche provato questo (minsdkversion= 3 e tutti gli schermi compatibili) e la nota è ancora contrassegnata incompatibile ...:

<?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>
.

Rimozione del filtro dello schermo rende compatibile la nota galassia ma non riesco a rimuovere tutti i dispositivi uno per uno ...

È stato utile?

Soluzione

if you only want to enable one device, you're better off manually selecting it (by model name) in the market admin page.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top