AndroidManifest.xml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?xml version="1.0" encoding="utf-8"?><!--suppress AndroidElementNotAllowed -->
  2. <!-- The above suppression is necessary due to the <queries> tag, which is meaningless in older SDKs
  3. but is critical to looking up package names on Android devices running SDK 30.-->
  4. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  5. package="io.github.zadam.triliumsender">
  6. <uses-permission android:name="android.permission.INTERNET" />
  7. <application
  8. android:allowBackup="false"
  9. android:icon="@mipmap/ic_launcher"
  10. android:label="@string/app_name"
  11. android:roundIcon="@mipmap/ic_launcher_round"
  12. android:supportsRtl="true"
  13. android:theme="@style/AppTheme">
  14. <activity
  15. android:name=".LoginActivity"
  16. android:label="@string/trilium_sender_settings" />
  17. <activity
  18. android:name=".MainActivity"
  19. android:label="@string/app_name"
  20. android:taskAffinity=".MainActivity"
  21. android:theme="@style/AppTheme.NoActionBar">
  22. <intent-filter>
  23. <action android:name="android.intent.action.MAIN" />
  24. <category android:name="android.intent.category.LAUNCHER" />
  25. </intent-filter>
  26. </activity>
  27. <activity
  28. android:name=".ShareActivity"
  29. android:theme="@style/Theme.AppCompat.Translucent">
  30. <intent-filter>
  31. <action android:name="android.intent.action.SEND" />
  32. <category android:name="android.intent.category.DEFAULT" />
  33. <data android:mimeType="image/*" />
  34. </intent-filter>
  35. </activity>
  36. <activity
  37. android:name=".SendNoteActivity"
  38. android:label="Add note"
  39. android:taskAffinity=".SendNoteActivity"
  40. android:windowSoftInputMode="adjustResize">
  41. <intent-filter>
  42. <action android:name="android.intent.action.MAIN" />
  43. <category android:name="android.intent.category.LAUNCHER" />
  44. </intent-filter>
  45. <intent-filter>
  46. <action android:name="android.intent.action.SEND" />
  47. <category android:name="android.intent.category.DEFAULT" />
  48. <data android:mimeType="text/plain" />
  49. </intent-filter>
  50. <intent-filter>
  51. <action android:name="android.intent.action.SEND" />
  52. <category android:name="android.intent.category.DEFAULT" />
  53. <data android:scheme="http" />
  54. <data android:scheme="https" />
  55. </intent-filter>
  56. </activity>
  57. </application>
  58. <queries>
  59. <intent>
  60. <action android:name="android.intent.action.SEND" />
  61. <data android:mimeType="text/plain" />
  62. </intent>
  63. <intent>
  64. <action android:name="android.intent.action.SEND" />
  65. <data android:mimeType="image/*" />
  66. </intent>
  67. </queries>
  68. </manifest>