209 lines
		
	
	
		
			8.8 KiB
		
	
	
	
		
			XML
		
	
	
	
			
		
		
	
	
			209 lines
		
	
	
		
			8.8 KiB
		
	
	
	
		
			XML
		
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android"
 | |
|     package="com.novelbook.android">
 | |
|     <!-- To access Google+ APIs: -->
 | |
|     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
 | |
|     <uses-permission android:name="android.permission.INTERNET" /> <!-- <uses-permission android:name="android.permission.VIBRATE" /> -->
 | |
|     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
 | |
|     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
 | |
|     <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
 | |
|      <uses-permission android:name="android.permission.READ_PHONE_STATE" />
 | |
|     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
 | |
| 
 | |
|     <!-- chanshanjia-->
 | |
|     <uses-permission android:name="android.permission.GET_TASKS"/>
 | |
|     <!--<uses-permission android:name="android.permission.WAKE_LOCK" />-->
 | |
| 
 | |
|     <application
 | |
|         android:name=".MyApp"
 | |
|         android:allowBackup="true"
 | |
|         android:icon="@mipmap/ic_launcher"
 | |
|         android:label="@string/app_name"
 | |
|         android:launchMode="singleInstance"
 | |
|         android:roundIcon="@mipmap/ic_launcher"
 | |
|         android:supportsRtl="true"
 | |
|         android:theme="@style/ToolBarTheme"
 | |
|         android:usesCleartextTraffic="true">
 | |
|         <activity android:name=".ActivityAnounce"  android:label="@string/title_annouce"></activity>
 | |
|         <activity
 | |
|             android:name=".Activity_cate_books"
 | |
|             android:label="@string/title_activity_cate_books"
 | |
|             android:launchMode="singleTask"
 | |
|             android:parentActivityName=".activity_cates"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:theme="@style/ToolBarTheme.NoActionBar" />
 | |
|         <activity
 | |
|             android:name=".Activity_Search"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:label="@string/title_activity_cates"
 | |
|             android:launchMode="singleTask"
 | |
|             android:parentActivityName=".Main2Activity"
 | |
|             android:theme="@style/ToolBarTheme.NoActionBar" />
 | |
|         <activity
 | |
|             android:name=".Activity_paihangbang"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:label="@string/title_activity_paihangbang"
 | |
|             android:parentActivityName=".Main2Activity"
 | |
|             android:theme="@style/ToolBarTheme.NoActionBar" />
 | |
|         <activity
 | |
|             android:name=".Activity_ChgSource"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:label="@string/title_Activity_ChgSource" />
 | |
|         <activity
 | |
|             android:name=".BookActivity"
 | |
|             android:label="@string/title_activity_book"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:launchMode="standard"
 | |
|             android:theme="@style/ToolBarTheme.NoActionBar" />
 | |
|         <activity
 | |
|             android:name=".ReadActivity"
 | |
|             android:label="@string/app_name"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:launchMode="singleTask"
 | |
|             android:theme="@style/ToolBarTheme.NoActionBar" />
 | |
|         <activity
 | |
|             android:name=".Main2Activity"
 | |
| 
 | |
|             android:launchMode="singleTop"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:theme="@style/ToolBarTheme.NoActionBar">
 | |
| 
 | |
|         </activity>
 | |
|         <activity
 | |
|             android:name=".AD.SplashActivity"
 | |
|             android:configChanges="keyboard|orientation|screenSize"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:theme="@style/Theme.Splash">
 | |
|             <intent-filter>
 | |
|                 <action android:name="android.intent.action.MAIN" />
 | |
|                 <category android:name="android.intent.category.LAUNCHER" />
 | |
|             </intent-filter>
 | |
| 
 | |
|         </activity>
 | |
|         <activity
 | |
|             android:name=".FileActivity"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:label="@string/app_name"
 | |
|             android:theme="@style/ToolBarTheme.NoActionBar" />
 | |
|         <activity
 | |
|             android:name=".MarkActivity"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:label="@string/app_name"
 | |
|             android:theme="@style/ToolBarTheme.NoActionBar" />
 | |
|         <activity
 | |
|             android:name=".filechooser.FileChooserActivity"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:label="@string/app_name"
 | |
|             android:theme="@style/ToolBarTheme.NoActionBar" />
 | |
|         <activity
 | |
|             android:name=".Activity_cache"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:label="@string/title_download"
 | |
|             android:theme="@style/ToolBarTheme.NoActionBar" />
 | |
|         <activity
 | |
|             android:name=".AD.AdvertisementViewActivity"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:label="@string/title_ad"
 | |
|             android:theme="@style/ToolBarTheme.NoActionBar" />
 | |
|         <activity
 | |
|             android:name=".ActivitySetup"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:label="@string/title_setup"
 | |
|             android:theme="@style/ToolBarTheme.NoActionBar" />
 | |
| 
 | |
|         <service
 | |
|             android:name=".service.ServiceDownload"
 | |
|             android:exported="false" />
 | |
|         <!-- qq ad -->
 | |
|         <!-- chuanshanjia ad -->
 | |
|   <!--      <activity
 | |
|             android:name=".AD.qq.SplashActivity"
 | |
|             android:configChanges="keyboard|orientation|screenSize"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:theme="@style/Theme.Splash">
 | |
|         </activity>-->
 | |
| 
 | |
|       <service
 | |
|             android:name="com.qq.e.comm.DownloadService"
 | |
|             android:exported="false" />
 | |
| 
 | |
|         <activity
 | |
|             android:name="com.qq.e.ads.ADActivity"
 | |
|             android:configChanges="keyboard|keyboardHidden|orientation|screenSize" />
 | |
|         <activity
 | |
|             android:name="com.qq.e.ads.PortraitADActivity"
 | |
|             android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
 | |
|             android:screenOrientation="portrait" />
 | |
|         <activity
 | |
|             android:name="com.qq.e.ads.LandscapeADActivity"
 | |
|             android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
 | |
|             android:screenOrientation="landscape" />
 | |
| 
 | |
|         <uses-library
 | |
|             android:name="org.apache.http.legacy"
 | |
|             android:required="false" />
 | |
| 
 | |
|         <provider
 | |
|             android:name="android.support.v4.content.FileProvider"
 | |
|             android:authorities="${applicationId}.fileprovider"
 | |
|             android:exported="false"
 | |
|             android:grantUriPermissions="true">
 | |
|             <meta-data
 | |
|                 android:name="android.support.FILE_PROVIDER_PATHS"
 | |
|                 android:resource="@xml/gdt_file_path" />
 | |
|         </provider> <!-- qq ad end -->
 | |
| 
 | |
|         <!-- chuanshanjia ad -->
 | |
|         <!--<activity
 | |
|             android:name=".AD.toutiao.SplashActivity"
 | |
|             android:configChanges="keyboard|orientation|screenSize"
 | |
|             android:screenOrientation="portrait"
 | |
|             android:theme="@style/Theme.Splash">
 | |
| 
 | |
| 
 | |
|         </activity>
 | |
|         -->
 | |
|       <!--  <uses-library
 | |
|             android:name="org.apache.http.legacy"
 | |
|             android:required="false" />
 | |
| 
 | |
|         <provider
 | |
|             android:name="com.bytedance.sdk.openadsdk.TTFileProvider"
 | |
|             android:authorities="${applicationId}.TTFileProvider"
 | |
|             android:exported="false"
 | |
|             android:grantUriPermissions="true">
 | |
|             <meta-data
 | |
|                 android:name="android.support.FILE_PROVIDER_PATHS"
 | |
|                 android:resource="@xml/file_paths" />
 | |
|         </provider>
 | |
|         <provider
 | |
|             android:name="com.bytedance.sdk.openadsdk.multipro.TTMultiProvider"
 | |
|             android:authorities="${applicationId}.TTMultiProvider"
 | |
|             android:exported="false" />-->
 | |
|         <!-- chuanshanjia ad end-->
 | |
| 
 | |
|         <!--
 | |
|    <provider
 | |
|             android:name="android.support.v4.content.FileProvider"
 | |
|             android:authorities="${applicationId}.provider"
 | |
|             android:exported="false"
 | |
|             android:grantUriPermissions="true">
 | |
|             <meta-data
 | |
|                 android:name="android.support.FILE_PROVIDER_PATHS"
 | |
|                 android:resource="@xml/provider_paths" />
 | |
|         </provider>
 | |
|         -->
 | |
|         <!-- UMENG -->
 | |
|         <meta-data
 | |
|             android:name="UMENG_APPKEY"
 | |
|             android:value="5cd6238a570df375c3000cc9" /> <!-- <meta-data android:name="UMENG_CHANNEL" android:value="${UMENG_CHANNEL_VALUE}"/> -->
 | |
|           <!--<meta-data     android:name="UMENG_CHANNEL"    android:value="debug" />-->
 | |
|              <meta-data       android:name="UMENG_CHANNEL"   android:value="${UMENG_CHANNEL_VALUE}" />
 | |
|         <!-- google ad-->
 | |
|         <!-- Sample AdMob App ID: ca-app-pub-3940256099942544~3347511713 -->
 | |
|         <meta-data
 | |
|             android:name="com.google.android.gms.ads.APPLICATION_ID"
 | |
|             android:value="${MOBAPPID}"/>
 | |
|     </application>
 | |
| 
 | |
| </manifest> |