Multiple choice

If app requires a touch screen display to operate properly, which of the following lines is required to include in manifest?

  1. <features android:name=”android.hardware.touchscreen” android:required=”true” />

  2. <uses-features android:name=”android.touchscreen” android:required=”true” />

  3. <uses-features android:name=”android.hardware.touchscreen” android:required=”true” />

  4. <uses-features android:name=”android.hardware.touchscreen” android:method=”true” />

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Here you have to set the “name” and “required” property of use-features tag to “android.hardware.touchscreen” and “true” respectively. For Example: <uses-features android:name=”android.hardware.touchscreen” android:required=”true” />