是我的應用程序清單條目如下 -銀河兆豐與其他平板手機和Android清單
<supports-screens>
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="false"
android:xlargeScreens="false"
</supports-screens>
<compatible-screens>
<!-- small size screens -->
<screen
android:screenDensity="ldpi"
android:screenSize="small" />
<screen
android:screenDensity="mdpi"
android:screenSize="small" />
<screen
android:screenDensity="hdpi"
android:screenSize="small" />
<screen
android:screenDensity="xhdpi"
android:screenSize="small" />
<screen
android:screenDensity="480"
android:screenSize="small" />
<!-- all normal size screens -->
<screen
android:screenDensity="ldpi"
android:screenSize="normal" />
<screen
android:screenDensity="mdpi"
android:screenSize="normal" />
<screen
android:screenDensity="hdpi"
android:screenSize="normal" />
<screen
android:screenDensity="xhdpi"
android:screenSize="normal" />
<screen
android:screenDensity="480"
android:screenSize="normal" />
</compatible-screens>
當我上傳的應用谷歌Play商店,從下面的列表中的前兩個設備(銀河兆豐)被自動過濾掉。他們下面的類似設備不是。
三星Galaxy兆豐6.3 尺寸 - 6.3分辨率 - 720x1280 DPI - 233
三星Galaxy兆豐5.8 尺寸 - 5.8分辨率 - 540x960 DPI - 190
的HTC One最大 尺寸 - 5.9分辨率 - 1080×1920 DPI - 373
三星Galaxy Note 3 尺寸 - 5.7分辨率 - 1080×1920 DPI - 386
三星銀河回合 尺寸 - 5.7分辨率 - 1080×1920 DPI - 386
三星Galaxy Note II 尺寸 - 5.5分辨率 - 720x1280 DPI - 267
有沒有人有一個瞭解爲什麼開發者控制檯會像對待這兩個星系超級設備不同?
我會建議擺脫'<兼容屏>'完全的。引用[文檔](http://developer.android.com/guide/topics/manifest/compatible-screens-element.html):「小心:通常情況下,你不應該使用這個清單元素。使用這個元素可以顯着減少這是您的應用程序的潛在用戶羣,因爲如果用戶沒有列出屏幕配置的設備,則不允許用戶安裝您的應用程序。「 – CommonsWare
@CommonsWare我知道他們推崇agaisnt它,但有時它是不可避免的。例如我絕對需要2款不同的手機和平板電腦應用程序,所以我提供了2次點擊的谷歌播放。其中一個需要過濾所有的手機,另一個過濾掉所有的平板電腦。這說起來容易做起來難,因爲正如第一個答案所指出的,Galaxy Mega有android:screenSize =「large」。我也希望有人能爲此提供解決方案。 – user3453281
否則我的解決方案將以編程方式過濾出來。在我的主要活動中,我將對displayMetrics進行檢查並啓動電話活動或平板電腦活動。 – user3453281