AndroidManifest.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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="3"
  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_debug" />
  52. <activity
  53. android:name=".ui.activity.MainActivity"
  54. android:configChanges="keyboardHidden|orientation|screenSize"
  55. android:launchMode="singleInstance"
  56. android:label="@string/app_name"
  57. android:screenOrientation="portrait" >
  58. <intent-filter>
  59. <action android:name="android.intent.action.MAIN" />
  60. <category android:name="android.intent.category.LAUNCHER" />
  61. </intent-filter>
  62. </activity>
  63. <activity
  64. android:name=".ui.activity.ProfileEditActivity"
  65. android:label="Edit Profile" >
  66. </activity>
  67. <activity
  68. android:name=".sync.tracing.TracingSyncActivity"
  69. android:label="@string/gui_tracing"
  70. android:theme="@android:style/Theme.Holo.Dialog" >
  71. </activity>
  72. <activity
  73. android:name=".sync.bluetooth.BluetoothSyncActivity"
  74. android:label="@string/gui_bluetooth"
  75. android:theme="@android:style/Theme.Holo.Dialog" >
  76. </activity>
  77. <activity
  78. android:name=".sync.nfc.NFCSyncActivity"
  79. android:label="@string/gui_nfc"
  80. android:theme="@android:style/Theme.Dialog" >
  81. <intent-filter>
  82. <action android:name="android.nfc.action.NDEF_DISCOVERED" />
  83. <category android:name="android.intent.category.DEFAULT" />
  84. <data android:mimeType="application/de.tudarmstadt.informatik.hostage" />
  85. </intent-filter>
  86. </activity>
  87. <service
  88. android:name=".Hostage"
  89. android:exported="false" >
  90. </service>
  91. <service
  92. android:name=".logging.Logger"
  93. android:exported="false" >
  94. </service>
  95. <service
  96. android:name=".sync.tracing.TracingSyncService"
  97. android:exported="false" >
  98. </service>
  99. <service
  100. android:name=".logging.LogExport"
  101. android:exported="false" >
  102. </service>
  103. <provider
  104. android:name=".provider.HostageContentProvider"
  105. android:authorities="de.tudarmstadt.informatik.hostage.provider"
  106. android:exported="false" >
  107. </provider>
  108. <provider
  109. android:name=".sync.android.SyncContentProvider"
  110. android:authorities="de.tudarmstadt.informatik.hostage.androidsync"
  111. android:exported="false" />
  112. <!--<activity
  113. android:name=".sync.p2p.P2PSyncActivity"
  114. android:label="@string/title_activity_p2_psync"
  115. android:parentActivityName=".ui.activity.MainActivity" >
  116. <meta-data
  117. android:name="android.support.PARENT_ACTIVITY"
  118. android:value="de.tudarmstadt.informatik.hostage.ui.activity.MainActivity" />
  119. </activity>-->
  120. <activity
  121. android:name=".sync.wifi_direct.ui.WiFiP2pSyncActivity"
  122. android:label="@string/title_activity_p2_psync">
  123. </activity>
  124. <service android:name=".sync.android.SyncService"
  125. android:exported="true">
  126. <intent-filter>
  127. <action android:name="android.content.SyncAdapter" />
  128. </intent-filter>
  129. <meta-data android:name="android.content.SyncAdapter"
  130. android:resource="@xml/syncadapter" />
  131. </service>
  132. <service android:name=".sync.android.HostageAccountService">
  133. <intent-filter>
  134. <action android:name="android.accounts.AccountAuthenticator" />
  135. </intent-filter>
  136. <meta-data android:name="android.accounts.AccountAuthenticator"
  137. android:resource="@xml/authenticator" />
  138. </service>
  139. </application>
  140. </manifest>