1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2007 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 --> 16 17 <!-- Declare the contents of this Android application. The namespace 18 attribute brings in the Android platform namespace, and the package 19 supplies a unique name for the application. When writing your 20 own application, the package name must be changed from "com.example.*" 21 to come from a domain that you own or have control over. --> 22 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 23 package="com.example.android.supportv4"> 24 25 <uses-permission android:name="android.permission.READ_CONTACTS" /> 26 <uses-permission android:name="android.permission.WAKE_LOCK" /> 27 28 <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="17" /> 29 30 <!-- The smallest screen this app works on is a phone. The app will 31 scale its UI to larger screens but doesn't make good use of them 32 so allow the compatibility mode button to be shown (mostly because 33 this is just convenient for testing). --> 34 <supports-screens android:requiresSmallestWidthDp="320" 35 android:compatibleWidthLimitDp="480" /> 36 37 <application android:label="@string/activity_sample_code" 38 android:icon="@drawable/app_sample_code" 39 android:hardwareAccelerated="true"> 40 41 <activity android:name="Support4Demos"> 42 <intent-filter> 43 <action android:name="android.intent.action.MAIN" /> 44 <category android:name="android.intent.category.DEFAULT" /> 45 <category android:name="android.intent.category.LAUNCHER" /> 46 </intent-filter> 47 </activity> 48 49 <activity android:name=".app.SendResult" 50 android:theme="@style/ThemeDialogWhenLarge"> 51 </activity> 52 53 <!-- Fragment Support Samples --> 54 55 <activity android:name=".app.FragmentAlertDialogSupport" 56 android:label="@string/fragment_alert_dialog_support"> 57 <intent-filter> 58 <action android:name="android.intent.action.MAIN" /> 59 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 60 </intent-filter> 61 </activity> 62 63 <activity android:name=".app.FragmentArgumentsSupport" 64 android:label="@string/fragment_arguments_support"> 65 <intent-filter> 66 <action android:name="android.intent.action.MAIN" /> 67 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 68 </intent-filter> 69 </activity> 70 71 <activity android:name=".app.FragmentCustomAnimationSupport" 72 android:label="@string/fragment_custom_animation_support"> 73 <intent-filter> 74 <action android:name="android.intent.action.MAIN" /> 75 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 76 </intent-filter> 77 </activity> 78 79 <activity android:name=".app.FragmentHideShowSupport" 80 android:label="@string/fragment_hide_show_support" 81 android:windowSoftInputMode="stateUnchanged"> 82 <intent-filter> 83 <action android:name="android.intent.action.MAIN" /> 84 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 85 </intent-filter> 86 </activity> 87 88 <activity android:name=".app.FragmentContextMenuSupport" 89 android:label="@string/fragment_context_menu_support"> 90 <intent-filter> 91 <action android:name="android.intent.action.MAIN" /> 92 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 93 </intent-filter> 94 </activity> 95 96 <activity android:name=".app.FragmentDialogSupport" 97 android:label="@string/fragment_dialog_support"> 98 <intent-filter> 99 <action android:name="android.intent.action.MAIN" /> 100 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 101 </intent-filter> 102 </activity> 103 104 <activity android:name=".app.FragmentDialogOrActivitySupport" 105 android:label="@string/fragment_dialog_or_activity_support"> 106 <intent-filter> 107 <action android:name="android.intent.action.MAIN" /> 108 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 109 </intent-filter> 110 </activity> 111 112 <activity android:name=".app.FragmentLayoutSupport" 113 android:label="@string/fragment_layout_support"> 114 <intent-filter> 115 <action android:name="android.intent.action.MAIN" /> 116 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 117 </intent-filter> 118 </activity> 119 120 <activity android:name=".app.FragmentListArraySupport" 121 android:label="@string/fragment_list_array_support"> 122 <intent-filter> 123 <action android:name="android.intent.action.MAIN" /> 124 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 125 </intent-filter> 126 </activity> 127 128 <activity android:name=".app.FragmentLayoutSupport$DetailsActivity" /> 129 130 <activity android:name=".app.FragmentMenuSupport" 131 android:label="@string/fragment_menu_support"> 132 <intent-filter> 133 <action android:name="android.intent.action.MAIN" /> 134 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 135 </intent-filter> 136 </activity> 137 138 <activity android:name=".app.FragmentNestingTabsSupport" 139 android:label="@string/fragment_nesting_tabs_support"> 140 <intent-filter> 141 <action android:name="android.intent.action.MAIN" /> 142 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 143 </intent-filter> 144 </activity> 145 146 <activity android:name=".app.FragmentRetainInstanceSupport" 147 android:label="@string/fragment_retain_instance_support"> 148 <intent-filter> 149 <action android:name="android.intent.action.MAIN" /> 150 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 151 </intent-filter> 152 </activity> 153 154 <activity android:name=".app.FragmentReceiveResultSupport" 155 android:label="@string/fragment_receive_result_support"> 156 <intent-filter> 157 <action android:name="android.intent.action.MAIN" /> 158 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 159 </intent-filter> 160 </activity> 161 162 <activity android:name=".app.FragmentStackSupport" 163 android:label="@string/fragment_stack_support"> 164 <intent-filter> 165 <action android:name="android.intent.action.MAIN" /> 166 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 167 </intent-filter> 168 </activity> 169 170 <activity android:name=".app.FragmentTabs" 171 android:label="@string/fragment_tabs"> 172 <intent-filter> 173 <action android:name="android.intent.action.MAIN" /> 174 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 175 </intent-filter> 176 </activity> 177 178 <activity android:name=".app.FragmentTabsPager" 179 android:label="@string/fragment_tabs_pager"> 180 <intent-filter> 181 <action android:name="android.intent.action.MAIN" /> 182 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 183 </intent-filter> 184 </activity> 185 186 <activity android:name=".app.FragmentPagerSupport" 187 android:label="@string/fragment_pager_support"> 188 <intent-filter> 189 <action android:name="android.intent.action.MAIN" /> 190 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 191 </intent-filter> 192 </activity> 193 194 <activity android:name=".app.FragmentStatePagerSupport" 195 android:label="@string/fragment_state_pager_support"> 196 <intent-filter> 197 <action android:name="android.intent.action.MAIN" /> 198 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 199 </intent-filter> 200 </activity> 201 202 <activity android:name=".app.LoaderCursorSupport" 203 android:label="@string/loader_cursor_support"> 204 <intent-filter> 205 <action android:name="android.intent.action.MAIN" /> 206 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 207 </intent-filter> 208 </activity> 209 210 <activity android:name=".app.LoaderRetainedSupport" 211 android:label="@string/loader_retained_support"> 212 <intent-filter> 213 <action android:name="android.intent.action.MAIN" /> 214 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 215 </intent-filter> 216 </activity> 217 218 <activity android:name=".app.LoaderCustomSupport" 219 android:label="@string/loader_custom_support"> 220 <intent-filter> 221 <action android:name="android.intent.action.MAIN" /> 222 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 223 </intent-filter> 224 </activity> 225 226 <activity android:name=".app.LoaderThrottleSupport" 227 android:label="@string/loader_throttle_support"> 228 <intent-filter> 229 <action android:name="android.intent.action.MAIN" /> 230 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 231 </intent-filter> 232 </activity> 233 <provider android:name=".app.LoaderThrottleSupport$SimpleProvider" 234 android:authorities="com.example.android.apis.supportv4.app.LoaderThrottle" /> 235 236 <activity android:name=".content.LocalServiceBroadcaster" 237 android:label="@string/local_service_broadcaster"> 238 <intent-filter> 239 <action android:name="android.intent.action.MAIN" /> 240 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 241 </intent-filter> 242 </activity> 243 <service android:name=".content.LocalServiceBroadcaster$LocalService" 244 android:stopWithTask="true" /> 245 246 <activity android:name=".content.SimpleWakefulController" 247 android:label="@string/simple_wakeful_controller"> 248 <intent-filter> 249 <action android:name="android.intent.action.MAIN" /> 250 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 251 </intent-filter> 252 </activity> 253 254 <receiver android:name=".content.SimpleWakefulReceiver" /> 255 <service android:name=".content.SimpleWakefulService" /> 256 257 <activity android:name=".accessibility.AccessibilityManagerSupportActivity" 258 android:label="@string/accessibility_manager_title"> 259 <intent-filter> 260 <action android:name="android.intent.action.MAIN" /> 261 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 262 </intent-filter> 263 </activity> 264 265 <activity android:name=".accessibility.AccessibilityDelegateSupportActivity" 266 android:label="@string/accessibility_delegate_title"> 267 <intent-filter> 268 <action android:name="android.intent.action.MAIN" /> 269 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 270 </intent-filter> 271 </activity> 272 273 <activity android:name=".app.SharingSupport" 274 android:label="@string/sharing_support_title"> 275 <intent-filter> 276 <action android:name="android.intent.action.MAIN" /> 277 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 278 </intent-filter> 279 </activity> 280 281 <activity android:name=".app.SharingReceiverSupport" 282 android:label="@string/sharing_receiver_title"> 283 <intent-filter> 284 <action android:name="android.intent.action.SEND" /> 285 <action android:name="android.intent.action.SEND_MULTIPLE" /> 286 <data android:mimeType="text/plain" /> 287 <category android:name="android.intent.category.DEFAULT" /> 288 </intent-filter> 289 </activity> 290 291 <activity android:name=".text.BidiFormatterSupport" 292 android:label="@string/bidiformatter_support_title"> 293 <intent-filter> 294 <action android:name="android.intent.action.MAIN" /> 295 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 296 </intent-filter> 297 </activity> 298 299 <activity android:name=".widget.DrawerLayoutActivity" 300 android:label="@string/drawer_layout_support"> 301 <intent-filter> 302 <action android:name="android.intent.action.MAIN" /> 303 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 304 </intent-filter> 305 </activity> 306 307 <activity android:name=".widget.SlidingPaneLayoutActivity" 308 android:label="@string/sliding_pane_layout_support"> 309 <intent-filter> 310 <action android:name="android.intent.action.MAIN" /> 311 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 312 </intent-filter> 313 </activity> 314 315 <provider android:authorities="com.example.supportv4.content.sharingsupportprovider" 316 android:name=".content.SharingSupportProvider" /> 317 318 <!-- FileProvider Example --> 319 320 <activity android:name=".content.FileProviderExample" 321 android:label="@string/file_provider_example"> 322 <intent-filter> 323 <action android:name="android.intent.action.MAIN" /> 324 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 325 </intent-filter> 326 </activity> 327 328 <!-- BEGIN_INCLUDE(file_provider_declaration) --> 329 <provider 330 android:name="android.support.v4.content.FileProvider" 331 android:authorities="com.example.android.supportv4.my_files" 332 android:grantUriPermissions="true" 333 android:exported="false"> 334 <meta-data 335 android:name="android.support.FILE_PROVIDER_PATHS" 336 android:resource="@xml/my_paths" /> 337 </provider> 338 <!-- END_INCLUDE(file_provider_declaration) --> 339 340 <activity android:name=".media.TransportControllerActivity" 341 android:label="@string/sample_transport_controller_activity"> 342 <intent-filter> 343 <action android:name="android.intent.action.MAIN" /> 344 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 345 </intent-filter> 346 </activity> 347 348 </application> 349 </manifest> 350