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.
113 lines
5.7 KiB
113 lines
5.7 KiB
<?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="xyz.fycz.myreader">
|
|
|
|
<!-- ********************************permission************************************ -->
|
|
<!-- 控制振动 -->
|
|
<uses-permission android:name="android.permission.VIBRATE"/> <!-- 读取手机状态和身份 -->
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
|
|
<uses-permission android:name="com.example.broadcast.permission"/> <!-- 拍摄照片和视频 -->
|
|
<!-- <uses-permission android:name="android.permission.CAMERA" /> -->
|
|
<!-- 访问闪光灯 -->
|
|
<!-- <uses-permission android:name="android.permission.FLASHLIGHT" /> -->
|
|
<!-- 读取短信 -->
|
|
<!-- <uses-permission android:name="android.permission.READ_SMS" /> -->
|
|
<!-- 修改短信 -->
|
|
<!-- <uses-permission android:name="android.permission.WRITE_SMS" /> -->
|
|
<!-- 读取联系人 -->
|
|
<!-- <uses-permission android:name="android.permission.READ_CONTACTS" /> -->
|
|
<!-- 修改您的通讯录 -->
|
|
<!-- <uses-permission android:name="android.permission.WRITE_CONTACTS" /> -->
|
|
<!-- <permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> -->
|
|
<!-- 读取日历活动和详情 -->
|
|
<!-- <uses-permission android:name="android.permission.READ_CALENDAR" /> -->
|
|
<!-- 添加或修改日历活动,并在所有者不知情的情况下向邀请对象发送电子邮件 -->
|
|
<!-- <uses-permission android:name="android.permission.WRITE_CALENDAR" /> -->
|
|
<!-- 拥有完全的网络访问权限 -->
|
|
<uses-permission android:name="android.permission.INTERNET"/> <!-- 查看网络连接 -->
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <!-- 查看WLAN连接 -->
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> <!-- 修改或删除您的USB存储设备中的内容 -->
|
|
|
|
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEM"/>
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <!-- 读取您的USB存储设备中的内容 -->
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> <!-- 拨打电话 -->
|
|
<!-- <uses-permission android:name="android.permission.CALL_PHONE" /> -->
|
|
<!-- 开机启动 -->
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
|
<uses-permission android:name="android.Manifest.permission.INTERNAL_SYSTEM_WINDOW"/> <!-- 停用屏幕锁定 -->
|
|
<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/> <!-- 防止手机休眠 -->
|
|
<uses-permission android:name="android.permission.WAKE_LOCK"/> <!-- 检索正在运行的应用 -->
|
|
<!-- <uses-permission android:name="android.permission.GET_TASKS" /> -->
|
|
<!-- 连接WLAN网络和断开连接 -->
|
|
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
|
|
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION"/>
|
|
<!-- 安装应用的权限 -->
|
|
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
|
|
|
<application
|
|
android:name=".application.MyApplication"
|
|
android:allowBackup="true"
|
|
android:alwaysRetainTaskState="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:roundIcon="@mipmap/ic_launcher"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/AppDayTheme"
|
|
android:requestLegacyExternalStorage="true"
|
|
android:networkSecurityConfig="@xml/network_security_config">
|
|
|
|
<activity android:name=".ui.home.Splash">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
|
|
<provider
|
|
android:name="androidx.core.content.FileProvider"
|
|
android:authorities="xyz.fycz.myreader.fileprovider"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/file_paths"/>
|
|
</provider>
|
|
|
|
<activity android:name=".ui.home.MainActivity"
|
|
android:launchMode="singleTask"/>
|
|
<activity
|
|
android:name=".ui.search.SearchBookActivity"
|
|
android:windowSoftInputMode="stateVisible"/>
|
|
<activity android:name=".ui.bookinfo.BookDetailedActivity"/>
|
|
|
|
<activity
|
|
android:name=".ui.read.ReadActivity"
|
|
android:windowSoftInputMode="stateAlwaysHidden">
|
|
<intent-filter tools:ignore="AppLinkUrlError">
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:mimeType="text/plain" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity android:name=".ui.font.FontsActivity"/>
|
|
|
|
<activity android:name=".ui.user.LoginActivity"/>
|
|
|
|
<activity android:name=".ui.user.RegisterActivity"/>
|
|
|
|
<activity android:name=".ui.read.catalog.CatalogActivity"/>
|
|
<activity android:name=".ui.about.AboutActivity"/>
|
|
|
|
|
|
<activity android:name=".ui.filesys.FileSystemActivity"/>
|
|
|
|
<receiver android:name=".util.notification.NotificationClickReceiver"/>
|
|
<receiver android:name=".ui.home.bookcase.BookcasePresenter$cancelDownloadReceiver"/>
|
|
<receiver android:name=".ui.read.ReadPresenter$cancelDownloadReceiver"/>
|
|
|
|
</application>
|
|
|
|
</manifest> |