1

アプリを公開する準備をしていますが、デバイスの互換性の問題が発生しており、互換性のあるデバイスは215台以下しか受信していません。私にとって最も注目すべきものはSamsungGalaxyS2です。今、私はこのデバイスで徹底的にテストし、完全に動作します。ここにいる誰かが私のマニフェストに欠けている/競合を引き起こしている可能性のあるものを見ることができるかどうか疑問に思いました。

注:このプロジェクトでUnityandroidとOpenFeintを使用します。

これらは、市場があまりにも明白に表示する機能です。

画面レイアウト:SMALL NORMALLARGEXLARGE必要なデバイス機能android.hardware.touchscreen

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" package="com.openfeint.api" android:versionName="1.4.1" android:versionCode="6">
  <supports-screens 
    android:smallScreens="true"
    android:normalScreens="true"
    android:largeScreens="true"
    android:xlargeScreens="true" 
    android:anyDensity="true"
    android:resizeable="true" />
  <application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="false">
    <activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation" android:screenOrientation="landscape">
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
    </activity>
    <activity android:name="com.unity3d.player.VideoPlayer" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation">
    </activity>
    <activity android:name="com.openfeint.internal.ui.IntroFlow"
                  android:label="IntroFlow"
                  android:configChanges="orientation|keyboardHidden"
                  android:theme="@android:style/Theme.NoTitleBar"
                  android:screenOrientation="landscape"/>

        <activity android:name="com.openfeint.api.ui.Dashboard"
                  android:label="Dashboard"
                  android:configChanges="orientation|keyboardHidden"
                  android:theme="@android:style/Theme.NoTitleBar"
                  android:screenOrientation="landscape"/>

        <activity android:name="com.openfeint.internal.ui.Settings"
                  android:label="Settings"
                  android:configChanges="orientation|keyboardHidden"
                  android:theme="@android:style/Theme.NoTitleBar"
                  android:screenOrientation="landscape"/>

        <activity android:name="com.openfeint.internal.ui.NativeBrowser"
          android:label="NativeBrowser"
          android:configChanges="orientation|keyboardHidden"
          android:theme="@android:style/Theme.NoTitleBar"
                  android:screenOrientation="landscape"/>
  </application>
  <uses-feature android:glEsVersion="0x00010001" />
  <uses-feature android:name="android.hardware.screen.landscape" android:required="false"/>
  <uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="false"/>
  <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="9" />
  <uses-permission android:name="android.permission.INTERNET"></uses-permission>
    <uses-permission android:name="android.permission.GET_TASKS"></uses-permission>
    <uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission>
</manifest>
4

2 に答える 2

1

前の回答は正しくありません。uses-permission で required="false" を使用することはできません。uses-feauture である必要があります。電話の状態は次のようになります。

<uses-feature android:name="android.hardware.telephony" android:required="false" />

詳細はこちら: http://developer.android.com/guide/topics/manifest/uses-feature-element.html#permissions

于 2012-05-24T16:06:22.817 に答える
0

READ_PHONE_STATE により、一部のタブレットで Android マーケットのフィルタリングが発生します。試してください。

<uses-permission android:name="android.permission.READ_PHONE_STATE" required="false">
于 2012-01-18T19:52:54.723 に答える