Android Manifest <uses-configuration>

I have finished writing the first version of my application and I am trying to set the manifest correctly.

My application is a touch-based game.

so I want the phone to touch

so I install the following:

<uses-configuration android:reqTouchScreen="stylus"/>
<uses-configuration android:reqTouchScreen="finger"/>

Now, what is interesting to me, do I need to put a stylus? Will there be a game that works with touch work with a stylus?

I don't have a stylus phone for Android, so I would like to have some input if I have to use it or not.

+3
source share
2 answers

In most cases, yes. However, there are cases when the stylus does not work (if you need multitouch, for example).

, , ( ) :

<uses-feature android:name="android.hardware.touchscreen" />

, :

<uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="true"/>
+4

, ?

.

, 99% Android ... reqTouchScreen.

+1

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


All Articles