1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright 2018 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17 18<manifest 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 package="com.android.pump"> 21 22 <uses-permission android:name="android.permission.INTERNET"/> 23 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> 24 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 25 26 <application 27 android:name=".app.PumpApplication" 28 android:label="Personal Universal MediaPlayer" 29 android:theme="@style/PumpTheme" 30 android:icon="@null" 31 android:supportsRtl="true" 32 android:allowBackup="false" 33 android:appCategory="video"> 34 35 <activity 36 android:name=".activity.PumpActivity" 37 android:screenOrientation="portrait"> 38 39 <intent-filter> 40 <action android:name="android.intent.action.MAIN"/> 41 <action android:name="android.intent.action.VIEW"/> 42 <category android:name="android.intent.category.LAUNCHER"/> 43 </intent-filter> 44 45 </activity> 46 47 <activity 48 android:name=".activity.ActivityStarterActivity" 49 android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"/> 50 51 <activity 52 android:name=".activity.ArtistDetailsActivity" 53 android:screenOrientation="portrait"/> 54 55 <activity 56 android:name=".activity.AlbumDetailsActivity" 57 android:screenOrientation="portrait"/> 58 59 <activity 60 android:name=".activity.GenreDetailsActivity" 61 android:screenOrientation="portrait"/> 62 63 <activity 64 android:name=".activity.PlaylistDetailsActivity" 65 android:screenOrientation="portrait"/> 66 67 <activity 68 android:name=".activity.MovieDetailsActivity" 69 android:screenOrientation="portrait"/> 70 71 <activity 72 android:name=".activity.SeriesDetailsActivity" 73 android:screenOrientation="portrait"/> 74 75 <activity 76 android:name=".activity.OtherDetailsActivity" 77 android:screenOrientation="portrait"/> 78 79 <activity 80 android:name=".activity.AudioPlayerActivity" 81 android:configChanges="keyboardHidden|orientation|screenSize"> 82 83 <intent-filter> 84 <action android:name="android.intent.action.VIEW"/> 85 <category android:name="android.intent.category.DEFAULT"/> 86 <!-- TODO(b/123768134) Investigate which schemes, mime types, etc to support --> 87 <data android:scheme="content"/> 88 <data android:mimeType="audio/*"/> 89 </intent-filter> 90 91 </activity> 92 93 <activity 94 android:name=".activity.VideoPlayerActivity" 95 android:configChanges="keyboardHidden|orientation|screenSize"> 96 97 <intent-filter> 98 <action android:name="android.intent.action.VIEW"/> 99 <category android:name="android.intent.category.DEFAULT"/> 100 <!-- TODO(b/123768100) Investigate which schemes, mime types, etc to support --> 101 <data android:scheme="content"/> 102 <data android:mimeType="video/*"/> 103 </intent-filter> 104 105 </activity> 106 107 <!-- TODO(b/123711288) Handle music app intents; 108 https://developer.android.com/reference/android/content/Intent.html#CATEGORY_APP_MUSIC 109 https://developer.android.com/reference/android/provider/MediaStore.html#INTENT_ACTION_MUSIC_PLAYER --> 110 111 <!-- TODO(b/123711069) Handle play from search; 112 https://developer.android.com/guide/components/intents-common#PlaySearch 113 https://developer.android.com/reference/android/provider/MediaStore.html#INTENT_ACTION_MEDIA_PLAY_FROM_SEARCH 114 https://developer.android.com/reference/android/provider/MediaStore#INTENT_ACTION_MEDIA_SEARCH 115 https://developer.android.com/reference/android/provider/MediaStore#INTENT_ACTION_TEXT_OPEN_FROM_SEARCH 116 https://developer.android.com/reference/android/provider/MediaStore#INTENT_ACTION_VIDEO_PLAY_FROM_SEARCH --> 117 118 </application> 119 120</manifest> 121