AndroidManifest.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:installLocation="auto">
  4. <application android:label="@string/app_name"
  5. android:icon="@drawable/icon"
  6. android:banner="@drawable/banner"
  7. android:hasCode="true"
  8. android:isGame="true"
  9. android:theme="@style/Theme.STKSplashScreen"
  10. android:hardwareAccelerated="true"
  11. android:resizeableActivity="true">
  12. <activity android:name=".SuperTuxKartActivity"
  13. android:label="@string/app_name"
  14. android:launchMode="singleTask"
  15. android:configChanges="fontScale|keyboard|keyboardHidden|locale|mcc|mnc|navigation|orientation|screenLayout|screenSize|uiMode"
  16. android:screenOrientation="sensorLandscape"
  17. android:exported="true">
  18. <intent-filter>
  19. <action android:name="android.intent.action.MAIN" />
  20. <category android:name="android.intent.category.LAUNCHER" />
  21. <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
  22. </intent-filter>
  23. <!-- Let Android know that we can handle some USB devices and should receive this event -->
  24. <intent-filter>
  25. <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
  26. </intent-filter>
  27. </activity>
  28. </application>
  29. <uses-feature android:glEsVersion="0x00020000" />
  30. <uses-feature android:name="android.software.leanback" android:required="false" />
  31. <uses-feature android:name="android.software.input_methods" android:required="false" />
  32. <!-- Touchscreen support -->
  33. <uses-feature
  34. android:name="android.hardware.touchscreen"
  35. android:required="false" />
  36. <!-- Game controller support -->
  37. <uses-feature
  38. android:name="android.hardware.bluetooth"
  39. android:required="false" />
  40. <uses-feature
  41. android:name="android.hardware.gamepad"
  42. android:required="false" />
  43. <uses-feature
  44. android:name="android.hardware.usb.host"
  45. android:required="false" />
  46. <!-- External mouse input events -->
  47. <uses-feature
  48. android:name="android.hardware.type.pc"
  49. android:required="false" />
  50. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  51. <uses-permission android:name="android.permission.INTERNET" />
  52. <!-- Allow writing to external storage -->
  53. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  54. <!-- Allow access to Bluetooth devices -->
  55. <uses-permission android:name="android.permission.BLUETOOTH" />
  56. <!-- Allow access to the vibrator -->
  57. <uses-permission android:name="android.permission.VIBRATE" />
  58. </manifest>