AndroidManifest.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:versionCode="31" android:versionName="@string/build_revision" package="org.yaxim.bruno">
  4. <uses-sdk android:targetSdkVersion="17" android:minSdkVersion="7"/>
  5. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  6. <uses-permission android:name="android.permission.INTERNET" />
  7. <uses-permission android:name="android.permission.NFC" />
  8. <uses-permission android:name="android.permission.VIBRATE" />
  9. <uses-permission android:name="android.permission.WAKE_LOCK" />
  10. <application android:icon="@drawable/icon"
  11. android:name=".YaximApplication"
  12. android:theme="@style/YaximDarkTheme"
  13. android:supportsRtl="true"
  14. android:label="@string/app_name">
  15. <activity android:name=".MainWindow" android:label="@string/app_name"
  16. android:launchMode="singleTask"
  17. android:theme="@style/PinkTheme"
  18. android:clearTaskOnLaunch="true"
  19. android:configChanges="orientation|keyboardHidden|screenSize">
  20. <intent-filter>
  21. <action android:name="android.intent.action.MAIN" />
  22. <category android:name="android.intent.category.LAUNCHER" />
  23. </intent-filter>
  24. <intent-filter android:icon="@drawable/icon" android:label="@string/app_name">
  25. <action android:name="android.intent.action.SEND"></action>
  26. <category android:name="android.intent.category.DEFAULT"></category>
  27. <data android:mimeType="text/*"></data>
  28. </intent-filter>
  29. <intent-filter android:icon="@drawable/icon" android:label="@string/Menu_addFriend">
  30. <action android:name="android.intent.action.SENDTO" />
  31. <category android:name="android.intent.category.DEFAULT" />
  32. <category android:name="android.intent.category.BROWSABLE" />
  33. <data android:host="jabber" android:scheme="imto" />
  34. </intent-filter>
  35. <intent-filter android:icon="@drawable/icon" android:label="@string/Menu_addFriend">
  36. <action android:name="android.intent.action.VIEW" />
  37. <category android:name="android.intent.category.DEFAULT" />
  38. <category android:name="android.intent.category.BROWSABLE" />
  39. <data android:scheme="xmpp" />
  40. </intent-filter>
  41. <intent-filter android:icon="@drawable/icon" android:label="@string/Menu_addFriend">
  42. <action android:name="android.intent.action.VIEW" />
  43. <category android:name="android.intent.category.DEFAULT" />
  44. <category android:name="android.intent.category.BROWSABLE" />
  45. <data android:scheme="https" android:host="yax.im" android:pathPrefix="/i/" />
  46. <data android:scheme="https" android:host="yax.im" android:pathPrefix="/j/" />
  47. <data android:scheme="https" android:host="conversations.im" android:pathPrefix="/i/" />
  48. <data android:scheme="https" android:host="conversations.im" android:pathPrefix="/j/" />
  49. </intent-filter>
  50. <intent-filter android:icon="@drawable/icon" android:label="@string/Menu_addFriend">
  51. <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
  52. <category android:name="android.intent.category.DEFAULT"/>
  53. <data android:scheme="xmpp"/>
  54. </intent-filter>
  55. </activity>
  56. <activity android:name=".chat.ChatWindow" android:label="@string/app_name"
  57. android:parentActivityName=".MainWindow"
  58. android:theme="@style/PinkTheme"
  59. android:configChanges="orientation|keyboardHidden|screenSize"
  60. android:windowSoftInputMode="stateHidden">
  61. <meta-data
  62. android:name="android.support.PARENT_ACTIVITY"
  63. android:value=".MainWindow"/>
  64. </activity>
  65. <activity android:name=".chat.MUCChatWindow" android:label="@string/app_name"
  66. android:parentActivityName=".MainWindow"
  67. android:theme="@style/PinkTheme"
  68. android:configChanges="orientation|keyboardHidden|screenSize"
  69. android:windowSoftInputMode="stateHidden">
  70. <meta-data
  71. android:name="android.support.PARENT_ACTIVITY"
  72. android:value=".MainWindow"/>
  73. </activity>
  74. <activity android:name=".preferences.MainPrefs"
  75. android:label="@string/Menu_Settings">
  76. </activity>
  77. <activity android:name=".preferences.AccountPrefs"
  78. android:label="@string/account_settings_title">
  79. </activity>
  80. <service android:name=".service.XMPPService">
  81. <intent-filter>
  82. <action android:name="de.hdmstuttgart.yaxim.XMPPSERVICE" />
  83. </intent-filter>
  84. </service>
  85. <receiver android:name=".service.YaximBroadcastReceiver" android:exported="false">
  86. <intent-filter>
  87. <action android:name="android.intent.action.ACTION_SHUTDOWN" />
  88. <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
  89. </intent-filter>
  90. <intent-filter>
  91. <action android:name="org.yaxim.bruno.ACTION_MESSAGE_HEARD" />
  92. <action android:name="org.yaxim.bruno.ACTION_MESSAGE_REPLY" />
  93. </intent-filter>
  94. </receiver>
  95. <provider android:name=".data.ChatProvider"
  96. android:exported="false"
  97. android:authorities="org.yaxim.bruno.provider.Chats" />
  98. <provider android:name=".data.RosterProvider"
  99. android:exported="false"
  100. android:authorities="org.yaxim.bruno.provider.Roster" />
  101. <activity android:name="de.duenndns.ssl.MemorizingActivity" />
  102. <meta-data android:name="com.google.android.gms.car.application"
  103. android:resource="@xml/automotive_app_desc" />
  104. </application>
  105. </manifest>