Reputation: 1074
For all day I've looked for a good way to pubblish an Android APp on Google Play Store for only smartphone.
I found this way http://developer.android.com/guide/practices/screens-distribution.html#FilteringHansetApps:
<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" />
<screen android:screenSize="small" android:screenDensity="480" />
<screen android:screenSize="small" android:screenDensity="560" />
<!-- 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" />
<screen android:screenSize="normal" android:screenDensity="480" />
<screen android:screenSize="normal" android:screenDensity="560" />
</compatible-screens>
but the result was more strange.. the application appeared compatible with some device and some other not with no apparently sense. For example: The application was compatible with : galaxy s6, galaxy s6 edge plus , google nexus 6 but not with samsung galaxy s6 edge .
What I have to do to obtain my goal to pubblish an app only for smartphone and not for tablet or minipc ?
P.s : is there a way to see the result of this manifest modification without re-pubblish the app every time ?
Upvotes: 0
Views: 1203
Reputation: 2232
Edited :: Changed entire answer.
<screen android:screenSize="small" android:screenDensity="xxdpi" />
<screen android:screenSize="small" android:screenDensity="xxxhdpi" />
<screen android:screenSize="small" android:screenDensity="tvdpi" />
<screen android:screenSize="normal" android:screenDensity="xxdpi" />
<screen android:screenSize="normal" android:screenDensity="xxxhdpi" />
<screen android:screenSize="normal" android:screenDensity="tvdpi" />
so after clarifying the question precisely i figured you are missing this 6 lines of code to get all the densities for small and normal screen sizes.
let me know if that solve the Samsum S6 Edge issue.
Upvotes: 2
Reputation: 6766
Perhaps an entry like this in the manifest would pick the devices you want.
<uses-feature android:name="android.hardware.telephony" android:required="true"/>
Upvotes: 1