AndroidManifest.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. package="de.tudarmstadt.informatik.hostage"
  4. android:versionCode="2"
  5. android:versionName="1.1" >
  6. <uses-sdk
  7. android:minSdkVersion="14"
  8. android:targetSdkVersion="19" />
  9. <uses-permission android:name="android.permission.VIBRATE" />
  10. <uses-permission android:name="android.permission.INTERNET" />
  11. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  12. <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
  13. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  14. <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
  15. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  16. <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  17. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  18. <uses-permission android:name="android.permission.BLUETOOTH" />
  19. <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
  20. <uses-permission android:name="android.permission.NFC" />
  21. <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
  22. <!--
  23. <uses-permission android:name="android.permission.BLUETOOTH" />
  24. <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
  25. -->
  26. <uses-feature
  27. android:name="android.hardware.nfc"
  28. android:required="false" />
  29. <uses-feature android:name="android.hardware.wifi.direct" android:required="true"/>
  30. <application
  31. android:name=".HostageApplication"
  32. android:allowBackup="true"
  33. android:allowClearUserData="true"
  34. android:hardwareAccelerated="true"
  35. android:icon="@drawable/ic_launcher"
  36. android:installLocation="preferExternal"
  37. android:label="@string/app_name"
  38. android:theme="@style/AppTheme"
  39. android:vmSafeMode="true" >
  40. <meta-data
  41. android:name="com.google.android.gms.version"
  42. android:value="@integer/google_play_services_lib_version" />
  43. <meta-data
  44. android:name="com.google.android.maps.v2.API_KEY"
  45. android:value="@string/google_maps_api_key_release" />
  46. <activity
  47. android:name=".ui.activity.MainActivity"
  48. android:configChanges="keyboardHidden|orientation|screenSize"
  49. android:label="@string/app_name"
  50. android:screenOrientation="portrait" >
  51. <intent-filter>
  52. <action android:name="android.intent.action.MAIN" />
  53. <category android:name="android.intent.category.LAUNCHER" />
  54. </intent-filter>
  55. </activity>
  56. <activity
  57. android:name=".ui.activity.ProfileEditActivity"
  58. android:label="Edit Profile" >
  59. </activity>
  60. <activity
  61. android:name=".sync.tracing.TracingSyncActivity"
  62. android:label="@string/gui_tracing"
  63. android:theme="@android:style/Theme.Dialog" >
  64. </activity>
  65. <activity
  66. android:name=".sync.bluetooth.BluetoothSyncActivity"
  67. android:label="@string/gui_bluetooth"
  68. android:theme="@android:style/Theme.Dialog" >
  69. </activity>
  70. <activity
  71. android:name=".sync.nfc.NFCSyncActivity"
  72. android:label="@string/gui_nfc"
  73. android:theme="@android:style/Theme.Dialog" >
  74. <intent-filter>
  75. <action android:name="android.nfc.action.NDEF_DISCOVERED" />
  76. <category android:name="android.intent.category.DEFAULT" />
  77. <data android:mimeType="application/de.tudarmstadt.informatik.hostage" />
  78. </intent-filter>
  79. </activity>
  80. <service
  81. android:name=".Hostage"
  82. android:exported="false" >
  83. </service>
  84. <service
  85. android:name=".logging.Logger"
  86. android:exported="false" >
  87. </service>
  88. <service
  89. android:name=".sync.tracing.TracingSyncService"
  90. android:exported="false" >
  91. </service>
  92. <service
  93. android:name=".logging.LogExport"
  94. android:exported="false" >
  95. </service>
  96. <provider
  97. android:name=".provider.HostageContentProvider"
  98. android:authorities="de.tudarmstadt.informatik.hostage.provider"
  99. android:exported="false" >
  100. </provider>
  101. <activity
  102. android:name=".sync.p2p.P2PSyncActivity"
  103. android:label="@string/title_activity_p2_psync"
  104. android:parentActivityName=".ui.activity.MainActivity" >
  105. <meta-data
  106. android:name="android.support.PARENT_ACTIVITY"
  107. android:value="de.tudarmstadt.informatik.hostage.ui2.activity.MainActivity" />
  108. </activity>
  109. </application>
  110. </manifest>