The correct way to advertise for phones is in the manifest only

After searching for many old stack overflow answers on this question and not finding a specific updated answer, I'm still a little confused! my minSdk is 14 and I want to make my application only for mobile phones, but if I do

<compatible-screens>
    <!-- all small size 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" />
    <!-- all normal size screens -->
    <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" />
</compatible-screens>

How about phones like the galaxy s4 s5 s6 and s6 edge! they will not fall into a large category? and if so, how will it be announced without opening pill support?

+4
source share
2 answers

try it

<compatible-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" />
        <screen android:screenDensity="640" android:screenSize="small" />

        <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" />
        <screen android:screenDensity="640" android:screenSize="normal" />
    </compatible-screens>

android https://developer.android.com/guide/practices/screens_support.html ( )

, Sony Xperia Z5 Premium, 801dp (http://dpi.lv/#3840 × 2160@5.5 ")

+1

: Google Play.

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

Source: https://habr.com/ru/post/1650638/


All Articles