AndroidManifest.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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. <!-- Required to register a SyncStatusObserver to display a "syncing..." progress indicator. -->
  23. <uses-permission android:name="android.permission.READ_SYNC_STATS"/>
  24. <!-- Required to enable our SyncAdapter after it's created. -->
  25. <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
  26. <!-- Required because we're manually creating a new account. -->
  27. <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/>
  28. <!--
  29. <uses-permission android:name="android.permission.BLUETOOTH" />
  30. <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
  31. -->
  32. <uses-feature
  33. android:name="android.hardware.nfc"
  34. android:required="false" />
  35. <uses-feature android:name="android.hardware.wifi.direct" android:required="true"/>
  36. <application
  37. android:name=".HostageApplication"
  38. android:allowBackup="true"
  39. android:allowClearUserData="true"
  40. android:hardwareAccelerated="true"
  41. android:icon="@drawable/ic_launcher"
  42. android:installLocation="preferExternal"
  43. android:label="@string/app_name"
  44. android:theme="@style/AppTheme"
  45. android:vmSafeMode="true" >
  46. <meta-data
  47. android:name="com.google.android.gms.version"
  48. android:value="@integer/google_play_services_lib_version" />
  49. <meta-data
  50. android:name="com.google.android.maps.v2.API_KEY"
  51. android:value="@string/google_maps_api_key_release" />
  52. <activity
  53. android:name=".ui.activity.MainActivity"
  54. android:configChanges="keyboardHidden|orientation|screenSize"
  55. android:label="@string/app_name"
  56. android:screenOrientation="portrait" >
  57. <intent-filter>
  58. <action android:name="android.intent.action.MAIN" />
  59. <category android:name="android.intent.category.LAUNCHER" />
  60. </intent-filter>
  61. </activity>
  62. <activity
  63. android:name=".ui.activity.ProfileEditActivity"
  64. android:label="Edit Profile" >
  65. </activity>
  66. <activity
  67. android:name=".sync.tracing.TracingSyncActivity"
  68. android:label="@string/gui_tracing"
  69. android:theme="@android:style/Theme.Holo.Dialog" >
  70. </activity>
  71. <activity
  72. android:name=".sync.bluetooth.BluetoothSyncActivity"
  73. android:label="@string/gui_bluetooth"
  74. android:theme="@android:style/Theme.Holo.Dialog" >
  75. </activity>
  76. <activity
  77. android:name=".sync.nfc.NFCSyncActivity"
  78. android:label="@string/gui_nfc"
  79. android:theme="@android:style/Theme.Dialog" >
  80. <intent-filter>
  81. <action android:name="android.nfc.action.NDEF_DISCOVERED" />
  82. <category android:name="android.intent.category.DEFAULT" />
  83. <data android:mimeType="application/de.tudarmstadt.informatik.hostage" />
  84. </intent-filter>
  85. </activity>
  86. <service
  87. android:name=".Hostage"
  88. android:exported="false" >
  89. </service>
  90. <service
  91. android:name=".logging.Logger"
  92. android:exported="false" >
  93. </service>
  94. <service
  95. android:name=".sync.tracing.TracingSyncService"
  96. android:exported="false" >
  97. </service>
  98. <service
  99. android:name=".logging.LogExport"
  100. android:exported="false" >
  101. </service>
  102. <provider
  103. android:name=".provider.HostageContentProvider"
  104. android:authorities="de.tudarmstadt.informatik.hostage.provider"
  105. android:exported="false" >
  106. </provider>
  107. <!--<activity
  108. android:name=".sync.p2p.P2PSyncActivity"
  109. android:label="@string/title_activity_p2_psync"
  110. android:parentActivityName=".ui.activity.MainActivity" >
  111. <meta-data
  112. android:name="android.support.PARENT_ACTIVITY"
  113. android:value="de.tudarmstadt.informatik.hostage.ui.activity.MainActivity" />
  114. </activity>-->
  115. <activity
  116. android:name=".sync.wifi_direct.ui.WiFiP2pSyncActivity"
  117. android:label="@string/title_activity_p2_psync"
  118. android:parentActivityName=".ui.activity.MainActivity" >
  119. <meta-data
  120. android:name="android.support.PARENT_ACTIVITY"
  121. android:value="de.tudarmstadt.informatik.hostage.ui.activity.MainActivity" />
  122. </activity>
  123. <service android:name=".sync.android.SyncService"
  124. android:exported="true">
  125. <intent-filter>
  126. <action android:name="android.content.SyncAdapter" />
  127. </intent-filter>
  128. <meta-data android:name="android.content.SyncAdapter"
  129. android:resource="@xml/syncadapter" />
  130. </service>
  131. <service android:name=".sync.android.HostageAccountService">
  132. <intent-filter>
  133. <action android:name="android.accounts.AccountAuthenticator" />
  134. </intent-filter>
  135. <meta-data android:name="android.accounts.AccountAuthenticator"
  136. android:resource="@xml/authenticator" />
  137. </service>
  138. </application>
  139. </manifest>