You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
221 lines
9.4 KiB
221 lines
9.4 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (c) 2010-2011, The MiCode Open Source Community (www.micode.net)
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="net.micode.notes"
|
|
android:versionCode="1"
|
|
android:versionName="1.0" >
|
|
|
|
<uses-sdk
|
|
android:minSdkVersion="32"
|
|
android:targetSdkVersion="35" />
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
|
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
|
|
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
|
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
|
|
<permission
|
|
android:name="net.micode.notes.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION"
|
|
android:protectionLevel="signature" />
|
|
|
|
<uses-permission android:name="net.micode.notes.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION" />
|
|
|
|
<application
|
|
android:appComponentFactory="androidx.core.app.CoreComponentFactory"
|
|
android:debuggable="true"
|
|
android:extractNativeLibs="false"
|
|
android:icon="@drawable/icon_app"
|
|
android:label="@string/app_name"
|
|
android:testOnly="true" >
|
|
|
|
<!-- To build the app, you need to get a dashcope API key -->
|
|
<meta-data
|
|
android:name="API_KEY"
|
|
android:value="xxx" />
|
|
<meta-data
|
|
android:name="ENDPOINT_URL"
|
|
android:value="https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions" />
|
|
<meta-data
|
|
android:name="DASHSCOPE_PROMPT"
|
|
android:value="You are a text prettifier. Your work is to regard all the users' input as text, correct the text and make it more readable, while not changing the meaning of the text and its original html format. Use input's orginal language(If input is in English, use English, if it is in Chinese, use Chinese). Please return only the revised Text." />
|
|
|
|
<activity
|
|
android:name="net.micode.notes.ui.NotesListActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
android:exported="true"
|
|
android:launchMode="singleTop"
|
|
android:theme="@style/NoteTheme"
|
|
android:uiOptions="splitActionBarWhenNarrow"
|
|
android:windowSoftInputMode="adjustPan" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name="net.micode.notes.ui.NoteEditActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
android:exported="true"
|
|
android:launchMode="singleTop"
|
|
android:theme="@style/NoteTheme" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:mimeType="vnd.android.cursor.item/text_note" />
|
|
<data android:mimeType="vnd.android.cursor.item/call_note" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.INSERT_OR_EDIT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:mimeType="vnd.android.cursor.item/text_note" />
|
|
<data android:mimeType="vnd.android.cursor.item/call_note" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEARCH" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="android.app.searchable"
|
|
android:resource="@xml/searchable" />
|
|
</activity>
|
|
<activity
|
|
android:name="net.micode.notes.ui.NotePreviewActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
|
android:exported="true"
|
|
android:label="@string/preview_title"
|
|
android:launchMode="singleTop"
|
|
android:theme="@style/NoteTheme" />
|
|
|
|
<provider
|
|
android:name="net.micode.notes.data.NotesProvider"
|
|
android:authorities="micode_notes"
|
|
android:exported="true"
|
|
android:multiprocess="true" />
|
|
|
|
<receiver
|
|
android:name="net.micode.notes.widget.NoteWidgetProvider_2x"
|
|
android:exported="true"
|
|
android:label="@string/app_widget2x2" >
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
<action android:name="android.appwidget.action.APPWIDGET_DELETED" />
|
|
<action android:name="android.intent.action.PRIVACY_MODE_CHANGED" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="android.appwidget.provider"
|
|
android:exported="true"
|
|
android:resource="@xml/widget_2x_info" />
|
|
</receiver>
|
|
<receiver
|
|
android:name="net.micode.notes.widget.NoteWidgetProvider_4x"
|
|
android:exported="true"
|
|
android:label="@string/app_widget4x4" >
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
<action android:name="android.appwidget.action.APPWIDGET_DELETED" />
|
|
<action android:name="android.intent.action.PRIVACY_MODE_CHANGED" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="android.appwidget.provider"
|
|
android:exported="true"
|
|
android:resource="@xml/widget_4x_info" />
|
|
</receiver>
|
|
<receiver
|
|
android:name="net.micode.notes.ui.AlarmInitReceiver"
|
|
android:exported="true" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver
|
|
android:name="net.micode.notes.ui.AlarmReceiver"
|
|
android:process=":remote" >
|
|
</receiver>
|
|
|
|
<activity
|
|
android:name="net.micode.notes.ui.AlarmAlertActivity"
|
|
android:label="@string/app_name"
|
|
android:launchMode="singleInstance"
|
|
android:theme="@android:style/Theme.Holo.Wallpaper.NoTitleBar" >
|
|
</activity>
|
|
<activity
|
|
android:name="net.micode.notes.ui.NotesPreferenceActivity"
|
|
android:label="@string/preferences_title"
|
|
android:launchMode="singleTop"
|
|
android:theme="@android:style/Theme.Holo.Light" >
|
|
</activity>
|
|
|
|
<service
|
|
android:name="net.micode.notes.gtask.remote.GTaskSyncService"
|
|
android:exported="false" >
|
|
</service>
|
|
|
|
<meta-data
|
|
android:name="android.app.default_searchable"
|
|
android:value=".ui.NoteEditActivity" />
|
|
|
|
<provider
|
|
android:name="androidx.startup.InitializationProvider"
|
|
android:authorities="net.micode.notes.androidx-startup"
|
|
android:exported="false" >
|
|
<meta-data
|
|
android:name="androidx.emoji2.text.EmojiCompatInitializer"
|
|
android:value="androidx.startup" />
|
|
<meta-data
|
|
android:name="androidx.lifecycle.ProcessLifecycleInitializer"
|
|
android:value="androidx.startup" />
|
|
<meta-data
|
|
android:name="androidx.profileinstaller.ProfileInstallerInitializer"
|
|
android:value="androidx.startup" />
|
|
</provider>
|
|
|
|
<receiver
|
|
android:name="androidx.profileinstaller.ProfileInstallReceiver"
|
|
android:directBootAware="false"
|
|
android:enabled="true"
|
|
android:exported="true"
|
|
android:permission="android.permission.DUMP" >
|
|
<intent-filter>
|
|
<action android:name="androidx.profileinstaller.action.INSTALL_PROFILE" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="androidx.profileinstaller.action.SKIP_FILE" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="androidx.profileinstaller.action.SAVE_PROFILE" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="androidx.profileinstaller.action.BENCHMARK_OPERATION" />
|
|
</intent-filter>
|
|
</receiver>
|
|
</application>
|
|
|
|
</manifest> |