nextcloud-notes-android/app/src/main/AndroidManifest.xml
2020-06-07 19:11:33 +02:00

187 lines
7.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="it.niedermann.owncloud.notes">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:name=".util.Notes"
android:allowBackup="true"
android:fullBackupContent="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name_long"
android:networkSecurityConfig="@xml/network_security_config"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:targetApi="n">
<activity
android:name=".android.activity.SplashscreenActivity"
android:label="@string/app_name"
android:theme="@style/SplashTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/shortcuts" />
</activity>
<activity
android:name=".android.activity.NotesListViewActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="@xml/searchable" />
<meta-data
android:name="android.app.default_searchable"
android:value=".android.activity.NotesListViewActivity" />
</activity>
<activity
android:name=".android.activity.AppendToNoteActivity"
android:label="@string/append_to_note">
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/*" />
</intent-filter>
</activity>
<activity
android:name=".android.activity.ExceptionActivity"
android:label="@string/app_name" />
<activity
android:name=".formattinghelp.FormattingHelpActivity"
android:label="@string/action_formatting_help"
android:parentActivityName=".android.activity.NotesListViewActivity"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".manageaccounts.ManageAccountsActivity"
android:label="@string/manage_accounts"
android:parentActivityName=".android.activity.NotesListViewActivity"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".android.activity.PreferencesActivity"
android:label="@string/action_settings"
android:parentActivityName=".android.activity.NotesListViewActivity"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".android.activity.EditNoteActivity"
android:label="@string/simple_edit"
android:launchMode="singleTask"
android:parentActivityName=".android.activity.NotesListViewActivity"
android:windowSoftInputMode="stateHidden">
<intent-filter android:label="@string/action_create">
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
<!-- Voice command "note to self" in google search -->
<intent-filter android:label="@string/action_create">
<action android:name="com.google.android.gm.action.AUTO_SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
<intent-filter android:label="@string/app_name">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" />
<data android:host="*" />
<data android:mimeType="text/*" />
</intent-filter>
</activity>
<activity
android:name=".android.activity.AboutActivity"
android:label="@string/simple_about"
android:parentActivityName=".android.activity.NotesListViewActivity" />
<activity android:name=".android.activity.SelectSingleNoteActivity">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
<activity android:name=".android.activity.NoteListWidgetConfigurationActivity">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
<receiver
android:name=".android.appwidget.CreateNoteWidget"
android:label="@string/widget_create_note">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/create_note_widget_provider" />
</receiver>
<receiver
android:name=".android.appwidget.SingleNoteWidget"
android:label="@string/widget_single_note_title">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/single_note_widget_provider_info" />
</receiver>
<receiver
android:name=".android.appwidget.NoteListWidget"
android:label="@string/widget_note_list_title">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/note_list_widget_provider_info" />
</receiver>
<service
android:name=".android.appwidget.SingleNoteWidgetService"
android:permission="android.permission.BIND_REMOTEVIEWS" />
<service
android:name=".android.appwidget.NoteListWidgetService"
android:permission="android.permission.BIND_REMOTEVIEWS" />
<service
android:name=".android.quicksettings.NewNoteTileService"
android:description="@string/action_create"
android:icon="@drawable/ic_quicksettings_new"
android:label="@string/action_create"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
</service>
</application>
</manifest>