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.apis" 24 android:installLocation="auto"> 25 26 <uses-permission android:name="android.permission.READ_CONTACTS" /> 27 <uses-permission android:name="android.permission.WRITE_CONTACTS" /> 28 <uses-permission android:name="android.permission.VIBRATE" /> 29 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> 30 <uses-permission android:name="android.permission.INTERNET" /> 31 <uses-permission android:name="android.permission.SET_WALLPAPER" /> 32 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 33 <uses-permission android:name="android.permission.SEND_SMS" /> 34 <uses-permission android:name="android.permission.RECEIVE_SMS" /> 35 <uses-permission android:name="android.permission.RECEIVE_MMS"/> 36 <uses-permission android:name="android.permission.WRITE_SMS"/> 37 <uses-permission android:name="android.permission.READ_SMS"/> 38 <uses-permission android:name="android.permission.NFC" /> 39 <uses-permission android:name="android.permission.TRANSMIT_IR" /> 40 <uses-permission android:name="android.permission.READ_PHONE_STATE"/> 41 <uses-permission android:name="android.permission.WAKE_LOCK"/> 42 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> 43 <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/> 44 <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES"/> 45 <!-- Required for drawing overlay windows (TYPE_SYSTEM_ALERT, TYPE_APPLICATION_OVERLAY) --> 46 <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> 47 48 <!-- For android.media.audiofx.Visualizer --> 49 <uses-permission android:name="android.permission.RECORD_AUDIO" /> 50 51 <!-- We will request access to the camera, saying we require a camera 52 of some sort but not one with autofocus capability. --> 53 <uses-permission android:name="android.permission.CAMERA" /> 54 <uses-feature android:name="android.hardware.camera" /> 55 <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" /> 56 57 <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="23" /> 58 59 <application android:name="ApiDemosApplication" 60 android:label="@string/activity_sample_code" 61 android:icon="@drawable/app_sample_code" 62 android:hardwareAccelerated="true" 63 android:supportsRtl="true" 64 android:theme="@android:style/Theme.Material.Light.DarkActionBar"> 65 66 <!-- This is how we can request a library but still allow the app 67 to be installed if it doesn't exist. --> 68 <uses-library android:name="com.example.will.never.exist" android:required="false" /> 69 70 <activity android:name="ApiDemos"> 71 <intent-filter> 72 <action android:name="android.intent.action.MAIN" /> 73 <category android:name="android.intent.category.DEFAULT" /> 74 <category android:name="android.intent.category.LAUNCHER" /> 75 </intent-filter> 76 </activity> 77 78 <!-- ************************************* --> 79 <!-- APPLICATION PACKAGE SAMPLES --> 80 <!-- ************************************* --> 81 82 <!-- Activity Samples --> 83 84 <activity android:name=".app.HelloWorld" android:label="@string/activity_hello_world"> 85 <intent-filter> 86 <action android:name="android.intent.action.MAIN" /> 87 <category android:name="android.intent.category.SAMPLE_CODE" /> 88 </intent-filter> 89 </activity> 90 91 <activity android:name=".app.DialogActivity" 92 android:label="@string/activity_dialog" 93 android:theme="@style/ThemeCurrentDialog"> 94 <intent-filter> 95 <action android:name="android.intent.action.MAIN" /> 96 <category android:name="android.intent.category.SAMPLE_CODE" /> 97 </intent-filter> 98 </activity> 99 100 <activity android:name=".app.CustomDialogActivity" 101 android:label="@string/activity_custom_dialog" 102 android:theme="@style/Theme.CustomDialog"> 103 <intent-filter> 104 <action android:name="android.intent.action.MAIN" /> 105 <category android:name="android.intent.category.SAMPLE_CODE" /> 106 </intent-filter> 107 </activity> 108 109 <activity android:name=".app.OverscanActivity" 110 android:label="@string/activity_overscan" 111 android:theme="@android:style/Theme.Holo.NoActionBar.Overscan" 112 android:enabled="@bool/atLeastJellyBeanMR2"> 113 <intent-filter> 114 <action android:name="android.intent.action.MAIN" /> 115 <category android:name="android.intent.category.SAMPLE_CODE" /> 116 </intent-filter> 117 </activity> 118 119 <activity android:name=".app.QuickContactsDemo" 120 android:label="@string/quick_contacts_demo"> 121 <intent-filter> 122 <action android:name="android.intent.action.MAIN" /> 123 <category android:name="android.intent.category.SAMPLE_CODE" /> 124 </intent-filter> 125 </activity> 126 127 <activity android:name=".app.WallpaperActivity" 128 android:label="@string/activity_wallpaper" 129 android:theme="@style/Theme.Wallpaper"> 130 <intent-filter> 131 <action android:name="android.intent.action.MAIN" /> 132 <category android:name="android.intent.category.SAMPLE_CODE" /> 133 </intent-filter> 134 </activity> 135 136 <activity android:name=".app.TranslucentActivity" 137 android:label="@string/activity_translucent" 138 android:theme="@style/Theme.Translucent"> 139 <intent-filter> 140 <action android:name="android.intent.action.MAIN" /> 141 <category android:name="android.intent.category.SAMPLE_CODE" /> 142 </intent-filter> 143 </activity> 144 145 <activity android:name=".app.TranslucentBlurActivity" 146 android:label="@string/activity_translucent_blur" 147 android:theme="@style/Theme.Transparent"> 148 <intent-filter> 149 <action android:name="android.intent.action.MAIN" /> 150 <category android:name="android.intent.category.SAMPLE_CODE" /> 151 </intent-filter> 152 </activity> 153 154 <activity android:name=".app.Animation" android:label="@string/activity_animation"> 155 <intent-filter> 156 <action android:name="android.intent.action.MAIN" /> 157 <category android:name="android.intent.category.SAMPLE_CODE" /> 158 </intent-filter> 159 </activity> 160 161 <activity android:name=".app.SaveRestoreState" 162 android:label="@string/activity_save_restore" 163 android:windowSoftInputMode="stateVisible|adjustResize"> 164 <intent-filter> 165 <action android:name="android.intent.action.MAIN" /> 166 <category android:name="android.intent.category.SAMPLE_CODE" /> 167 </intent-filter> 168 </activity> 169 170 <activity android:name=".app.PersistentState" 171 android:label="@string/activity_persistent" 172 android:windowSoftInputMode="stateVisible|adjustResize"> 173 <intent-filter> 174 <action android:name="android.intent.action.MAIN" /> 175 <category android:name="android.intent.category.SAMPLE_CODE" /> 176 </intent-filter> 177 </activity> 178 179 <activity android:name=".app.ActivityRecreate" 180 android:label="@string/activity_recreate" 181 android:enabled="@bool/atLeastHoneycomb"> 182 <intent-filter> 183 <action android:name="android.intent.action.MAIN" /> 184 <category android:name="android.intent.category.SAMPLE_CODE" /> 185 </intent-filter> 186 </activity> 187 188 <activity android:name=".app.FinishAffinity" 189 android:label="@string/activity_finish_affinity" 190 android:taskAffinity=":finishing" 191 android:enabled="@bool/atLeastJellyBean"> 192 <intent-filter> 193 <action android:name="android.intent.action.MAIN" /> 194 <category android:name="android.intent.category.SAMPLE_CODE" /> 195 </intent-filter> 196 </activity> 197 198 <activity android:name=".app.SoftInputModes" 199 android:label="@string/soft_input_modes"> 200 <intent-filter> 201 <action android:name="android.intent.action.MAIN" /> 202 <category android:name="android.intent.category.SAMPLE_CODE" /> 203 </intent-filter> 204 </activity> 205 206 <activity android:name=".app.ReceiveResult" android:label="@string/activity_receive_result"> 207 <intent-filter> 208 <action android:name="android.intent.action.MAIN" /> 209 <category android:name="android.intent.category.SAMPLE_CODE" /> 210 </intent-filter> 211 </activity> 212 213 <activity android:name=".app.SendResult" 214 android:theme="@style/ThemeDialogWhenLarge"> 215 </activity> 216 217 <activity android:name=".app.Forwarding" android:label="@string/activity_forwarding"> 218 <intent-filter> 219 <action android:name="android.intent.action.MAIN" /> 220 <category android:name="android.intent.category.SAMPLE_CODE" /> 221 </intent-filter> 222 </activity> 223 224 <activity android:name=".app.ForwardTarget"> 225 </activity> 226 227 <activity android:name=".app.RedirectEnter" android:label="@string/activity_redirect"> 228 <intent-filter> 229 <action android:name="android.intent.action.MAIN" /> 230 <category android:name="android.intent.category.SAMPLE_CODE" /> 231 </intent-filter> 232 </activity> 233 234 <activity android:name=".app.RedirectMain"> 235 </activity> 236 237 <activity android:name=".app.RedirectGetter"> 238 </activity> 239 240 <!-- This sample doesn't work with the new action bar, so use 241 the old style theme. --> 242 <activity android:name=".app.CustomTitle" 243 android:label="@string/activity_custom_title" 244 android:windowSoftInputMode="stateVisible|adjustPan" 245 android:theme="@android:style/Theme"> 246 <intent-filter> 247 <action android:name="android.intent.action.MAIN" /> 248 <category android:name="android.intent.category.SAMPLE_CODE" /> 249 </intent-filter> 250 </activity> 251 252 <activity android:name=".app.ReorderOnLaunch" 253 android:label="@string/activity_reorder"> 254 <intent-filter> 255 <action android:name="android.intent.action.MAIN" /> 256 <category android:name="android.intent.category.SAMPLE_CODE" /> 257 </intent-filter> 258 </activity> 259 260 <activity android:name=".app.RotationAnimation" 261 android:label="@string/activity_rotation_animation" 262 android:rotationAnimation="crossfade"> 263 <intent-filter> 264 <action android:name="android.intent.action.MAIN" /> 265 <category android:name="android.intent.category.SAMPLE_CODE" /> 266 </intent-filter> 267 </activity> 268 269 <activity android:name=".app.ReorderTwo" /> 270 <activity android:name=".app.ReorderThree" /> 271 <activity android:name=".app.ReorderFour" /> 272 273 <activity android:name=".app.SetWallpaperActivity" 274 android:label="@string/activity_setwallpaper"> 275 <intent-filter> 276 <action android:name="android.intent.action.MAIN" /> 277 <category android:name="android.intent.category.SAMPLE_CODE" /> 278 </intent-filter> 279 </activity> 280 281 <activity android:name=".app.ScreenOrientation" 282 android:label="@string/activity_screen_orientation"> 283 <intent-filter> 284 <action android:name="android.intent.action.MAIN" /> 285 <category android:name="android.intent.category.SAMPLE_CODE" /> 286 </intent-filter> 287 </activity> 288 289 <activity android:name=".app.PictureInPicture" 290 android:label="@string/activity_picture_in_picture" 291 android:resizeableActivity="true" 292 android:supportsPictureInPicture="true" 293 android:configChanges= 294 "screenSize|smallestScreenSize|screenLayout|orientation"> 295 <intent-filter> 296 <action android:name="android.intent.action.MAIN" /> 297 <category android:name="android.intent.category.SAMPLE_CODE" /> 298 </intent-filter> 299 </activity> 300 301 <activity android:name=".app.MaxAspectRatio$Square" 302 android:label="@string/activity_max_aspect_ratio_square" 303 android:resizeableActivity="false" 304 android:theme="@android:style/Theme.DeviceDefault.Settings" 305 android:maxAspectRatio="1"> 306 <intent-filter> 307 <action android:name="android.intent.action.MAIN" /> 308 <category android:name="android.intent.category.SAMPLE_CODE" /> 309 </intent-filter> 310 </activity> 311 312 <activity android:name=".app.MaxAspectRatio$SixteenToNine" 313 android:label="@string/activity_max_aspect_ratio_16to9" 314 android:resizeableActivity="false" 315 android:theme="@android:style/Theme.DeviceDefault.Settings" 316 android:maxAspectRatio="1.77777778"> 317 <intent-filter> 318 <action android:name="android.intent.action.MAIN" /> 319 <category android:name="android.intent.category.SAMPLE_CODE" /> 320 </intent-filter> 321 </activity> 322 323 <activity android:name=".app.MaxAspectRatio$Any" 324 android:label="@string/activity_max_aspect_ratio_any" 325 android:resizeableActivity="true" 326 android:theme="@android:style/Theme.DeviceDefault.Settings"> 327 <intent-filter> 328 <action android:name="android.intent.action.MAIN" /> 329 <category android:name="android.intent.category.SAMPLE_CODE" /> 330 </intent-filter> 331 </activity> 332 333 <activity android:name=".app.PresentationActivity" 334 android:label="@string/activity_presentation"> 335 <intent-filter> 336 <action android:name="android.intent.action.MAIN" /> 337 <category android:name="android.intent.category.SAMPLE_CODE" /> 338 </intent-filter> 339 </activity> 340 341 <activity android:name=".app.PresentationWithMediaRouterActivity" 342 android:label="@string/activity_presentation_with_media_router"> 343 <intent-filter> 344 <action android:name="android.intent.action.MAIN" /> 345 <category android:name="android.intent.category.SAMPLE_CODE" /> 346 </intent-filter> 347 </activity> 348 349 <activity android:name=".app.SecureWindowActivity" 350 android:label="@string/activity_secure_window"> 351 <intent-filter> 352 <action android:name="android.intent.action.MAIN" /> 353 <category android:name="android.intent.category.SAMPLE_CODE" /> 354 </intent-filter> 355 </activity> 356 357 <activity android:name=".app.SecureDialogActivity" 358 android:label="@string/activity_secure_dialog"> 359 <intent-filter> 360 <action android:name="android.intent.action.MAIN" /> 361 <category android:name="android.intent.category.SAMPLE_CODE" /> 362 </intent-filter> 363 </activity> 364 365 <activity android:name=".app.SecureSurfaceViewActivity" 366 android:label="@string/activity_secure_surface_view"> 367 <intent-filter> 368 <action android:name="android.intent.action.MAIN" /> 369 <category android:name="android.intent.category.SAMPLE_CODE" /> 370 </intent-filter> 371 </activity> 372 373 <!-- Fragment Samples --> 374 375 <activity android:name=".app.FragmentAlertDialog" 376 android:label="@string/fragment_alert_dialog" 377 android:enabled="@bool/atLeastHoneycomb"> 378 <intent-filter> 379 <action android:name="android.intent.action.MAIN" /> 380 <category android:name="android.intent.category.SAMPLE_CODE" /> 381 </intent-filter> 382 </activity> 383 384 <activity android:name=".app.FragmentArguments" 385 android:label="@string/fragment_arguments" 386 android:enabled="@bool/atLeastHoneycomb"> 387 <intent-filter> 388 <action android:name="android.intent.action.MAIN" /> 389 <category android:name="android.intent.category.SAMPLE_CODE" /> 390 </intent-filter> 391 </activity> 392 393 <activity android:name=".app.FragmentCustomAnimations" 394 android:label="@string/fragment_custom_animations" 395 android:enabled="@bool/atLeastHoneycombMR2"> 396 <intent-filter> 397 <action android:name="android.intent.action.MAIN" /> 398 <category android:name="android.intent.category.SAMPLE_CODE" /> 399 </intent-filter> 400 </activity> 401 402 <activity android:name=".app.FragmentHideShow" 403 android:label="@string/fragment_hide_show" 404 android:windowSoftInputMode="stateUnchanged" 405 android:enabled="@bool/atLeastHoneycomb"> 406 <intent-filter> 407 <action android:name="android.intent.action.MAIN" /> 408 <category android:name="android.intent.category.SAMPLE_CODE" /> 409 </intent-filter> 410 </activity> 411 412 <activity android:name=".app.FragmentContextMenu" 413 android:label="@string/fragment_context_menu" 414 android:enabled="@bool/atLeastHoneycomb"> 415 <intent-filter> 416 <action android:name="android.intent.action.MAIN" /> 417 <category android:name="android.intent.category.SAMPLE_CODE" /> 418 </intent-filter> 419 </activity> 420 421 <activity android:name=".app.FragmentDialog" 422 android:label="@string/fragment_dialog" 423 android:enabled="@bool/atLeastHoneycomb"> 424 <intent-filter> 425 <action android:name="android.intent.action.MAIN" /> 426 <category android:name="android.intent.category.SAMPLE_CODE" /> 427 </intent-filter> 428 </activity> 429 430 <activity android:name=".app.FragmentDialogOrActivity" 431 android:label="@string/fragment_dialog_or_activity" 432 android:enabled="@bool/atLeastHoneycomb"> 433 <intent-filter> 434 <action android:name="android.intent.action.MAIN" /> 435 <category android:name="android.intent.category.SAMPLE_CODE" /> 436 </intent-filter> 437 </activity> 438 439 <activity android:name=".app.FragmentLayout" 440 android:label="@string/fragment_layout" 441 android:enabled="@bool/atLeastHoneycomb"> 442 <intent-filter> 443 <action android:name="android.intent.action.MAIN" /> 444 <category android:name="android.intent.category.SAMPLE_CODE" /> 445 </intent-filter> 446 </activity> 447 448 <activity android:name=".app.FragmentLayout$DetailsActivity" 449 android:enabled="@bool/atLeastHoneycomb" /> 450 451 <activity android:name=".app.FragmentListArray" 452 android:label="@string/fragment_list_array" 453 android:enabled="@bool/atLeastHoneycomb"> 454 <intent-filter> 455 <action android:name="android.intent.action.MAIN" /> 456 <category android:name="android.intent.category.SAMPLE_CODE" /> 457 </intent-filter> 458 </activity> 459 460 <activity android:name=".app.FragmentMenu" 461 android:label="@string/fragment_menu" 462 android:enabled="@bool/atLeastHoneycomb"> 463 <intent-filter> 464 <action android:name="android.intent.action.MAIN" /> 465 <category android:name="android.intent.category.SAMPLE_CODE" /> 466 </intent-filter> 467 </activity> 468 469 <activity android:name=".app.FragmentNestingTabs" 470 android:label="@string/fragment_nesting_tabs" 471 android:enabled="@bool/atLeastJellyBeanMR1"> 472 <intent-filter> 473 <action android:name="android.intent.action.MAIN" /> 474 <category android:name="android.intent.category.SAMPLE_CODE" /> 475 </intent-filter> 476 </activity> 477 478 <activity android:name=".app.FragmentRetainInstance" 479 android:label="@string/fragment_retain_instance" 480 android:enabled="@bool/atLeastHoneycomb"> 481 <intent-filter> 482 <action android:name="android.intent.action.MAIN" /> 483 <category android:name="android.intent.category.SAMPLE_CODE" /> 484 </intent-filter> 485 </activity> 486 487 <activity android:name=".app.FragmentReceiveResult" 488 android:label="@string/fragment_receive_result" 489 android:enabled="@bool/atLeastHoneycomb"> 490 <intent-filter> 491 <action android:name="android.intent.action.MAIN" /> 492 <category android:name="android.intent.category.SAMPLE_CODE" /> 493 </intent-filter> 494 </activity> 495 496 <activity android:name=".app.FragmentStack" 497 android:label="@string/fragment_stack" 498 android:enabled="@bool/atLeastHoneycomb"> 499 <intent-filter> 500 <action android:name="android.intent.action.MAIN" /> 501 <category android:name="android.intent.category.SAMPLE_CODE" /> 502 </intent-filter> 503 </activity> 504 505 <activity android:name=".app.FragmentTabs" 506 android:label="@string/fragment_tabs" 507 android:enabled="@bool/atLeastHoneycomb"> 508 <intent-filter> 509 <action android:name="android.intent.action.MAIN" /> 510 <category android:name="android.intent.category.SAMPLE_CODE" /> 511 </intent-filter> 512 </activity> 513 514 <!-- Loader Samples --> 515 516 <activity android:name=".app.LoaderCursor" 517 android:label="@string/loader_cursor" 518 android:enabled="@bool/atLeastHoneycomb"> 519 <intent-filter> 520 <action android:name="android.intent.action.MAIN" /> 521 <category android:name="android.intent.category.SAMPLE_CODE" /> 522 </intent-filter> 523 </activity> 524 525 <activity android:name=".app.LoaderCustom" 526 android:label="@string/loader_custom" 527 android:enabled="@bool/atLeastHoneycomb"> 528 <intent-filter> 529 <action android:name="android.intent.action.MAIN" /> 530 <category android:name="android.intent.category.SAMPLE_CODE" /> 531 </intent-filter> 532 </activity> 533 534<!-- BEGIN_INCLUDE(loader_throttle) --> 535 <activity android:name=".app.LoaderThrottle" 536 android:label="@string/loader_throttle" 537 android:enabled="@bool/atLeastHoneycomb"> 538 <intent-filter> 539 <action android:name="android.intent.action.MAIN" /> 540 <category android:name="android.intent.category.SAMPLE_CODE" /> 541 </intent-filter> 542 </activity> 543 <provider android:name=".app.LoaderThrottle$SimpleProvider" 544 android:authorities="com.example.android.apis.app.LoaderThrottle" 545 android:enabled="@bool/atLeastHoneycomb" /> 546<!-- END_INCLUDE(loader_throttle) --> 547 548 <activity android:name=".app.LoaderRetained" 549 android:label="@string/loader_retained" 550 android:enabled="@bool/atLeastHoneycomb"> 551 <intent-filter> 552 <action android:name="android.intent.action.MAIN" /> 553 <category android:name="android.intent.category.SAMPLE_CODE" /> 554 </intent-filter> 555 </activity> 556 557 <!-- Intent Samples --> 558 559 <activity android:name=".app.Intents" android:label="@string/activity_intents"> 560 <intent-filter> 561 <action android:name="android.intent.action.MAIN" /> 562 <category android:name="android.intent.category.SAMPLE_CODE" /> 563 </intent-filter> 564 </activity> 565 566 <activity android:name=".app.IntentActivityFlags" 567 android:label="@string/activity_intent_activity_flags"> 568 <intent-filter> 569 <action android:name="android.intent.action.MAIN" /> 570 <category android:name="android.intent.category.SAMPLE_CODE" /> 571 </intent-filter> 572 </activity> 573 574 <!-- Service Samples --> 575 576 <service android:name=".app.LocalService" android:stopWithTask="true" /> 577 578 <activity android:name=".app.LocalServiceActivities$Controller" 579 android:label="@string/activity_local_service_controller" 580 android:launchMode="singleTop"> 581 <intent-filter> 582 <action android:name="android.intent.action.MAIN" /> 583 <category android:name="android.intent.category.SAMPLE_CODE" /> 584 </intent-filter> 585 </activity> 586 587 <activity android:name=".app.LocalServiceActivities$Binding" 588 android:label="@string/activity_local_service_binding"> 589 <intent-filter> 590 <action android:name="android.intent.action.MAIN" /> 591 <category android:name="android.intent.category.SAMPLE_CODE" /> 592 </intent-filter> 593 </activity> 594 595<!-- BEGIN_INCLUDE(remote_service_declaration) --> 596 <service android:name=".app.MessengerService" 597 android:process=":remote" /> 598<!-- END_INCLUDE(remote_service_declaration) --> 599 600 <activity android:name=".app.MessengerServiceActivities$Binding" 601 android:label="@string/activity_messenger_service_binding"> 602 <intent-filter> 603 <action android:name="android.intent.action.MAIN" /> 604 <category android:name="android.intent.category.SAMPLE_CODE" /> 605 </intent-filter> 606 </activity> 607 608 <service android:name=".app.RemoteService" android:process=":remote" /> 609 610 <activity android:name=".app.RemoteService$Controller" 611 android:label="@string/activity_remote_service_controller" 612 android:launchMode="singleTop"> 613 <intent-filter> 614 <action android:name="android.intent.action.MAIN" /> 615 <category android:name="android.intent.category.SAMPLE_CODE" /> 616 </intent-filter> 617 </activity> 618 619 <activity android:name=".app.RemoteService$Binding" 620 android:label="@string/activity_remote_service_binding"> 621 <intent-filter> 622 <action android:name="android.intent.action.MAIN" /> 623 <category android:name="android.intent.category.SAMPLE_CODE" /> 624 </intent-filter> 625 </activity> 626 627 <activity android:name=".app.RemoteService$BindingOptions" 628 android:label="@string/activity_remote_service_binding_options"> 629 <intent-filter> 630 <action android:name="android.intent.action.MAIN" /> 631 <category android:name="android.intent.category.SAMPLE_CODE" /> 632 </intent-filter> 633 </activity> 634 635 <service android:name=".app.ServiceStartArguments" /> 636 637 <activity android:name=".app.ServiceStartArguments$Controller" 638 android:label="@string/activity_service_start_arguments_controller" 639 android:launchMode="singleTop"> 640 <intent-filter> 641 <action android:name="android.intent.action.MAIN" /> 642 <category android:name="android.intent.category.SAMPLE_CODE" /> 643 </intent-filter> 644 </activity> 645 646 <service android:name=".app.JobWorkService" 647 android:permission="android.permission.BIND_JOB_SERVICE"/> 648 649 <activity android:name=".app.JobWorkServiceActivity" 650 android:label="@string/activity_job_work_service" 651 android:launchMode="singleTop"> 652 <intent-filter> 653 <action android:name="android.intent.action.MAIN" /> 654 <category android:name="android.intent.category.SAMPLE_CODE" /> 655 </intent-filter> 656 </activity> 657 658 <service android:name=".app.ForegroundService" /> 659 <service android:name=".app.ForegroundService2" /> 660 661 <activity android:name=".app.ForegroundService$Controller" 662 android:label="@string/activity_foreground_service_controller" 663 android:launchMode="singleTop"> 664 <intent-filter> 665 <action android:name="android.intent.action.MAIN" /> 666 <category android:name="android.intent.category.SAMPLE_CODE" /> 667 </intent-filter> 668 </activity> 669 670 <activity android:name=".app.IsolatedService$Controller" 671 android:label="@string/activity_isolated_service_controller" 672 android:launchMode="singleTop" 673 android:enabled="@bool/atLeastJellyBean"> 674 <intent-filter> 675 <action android:name="android.intent.action.MAIN" /> 676 <category android:name="android.intent.category.SAMPLE_CODE" /> 677 </intent-filter> 678 </activity> 679 680 <service android:name=".app.IsolatedService" android:isolatedProcess="true" 681 android:enabled="@bool/atLeastJellyBean" /> 682 <service android:name=".app.IsolatedService2" android:isolatedProcess="true" 683 android:enabled="@bool/atLeastJellyBean" /> 684 685 <!-- Alarm Samples --> 686 687 <receiver android:name=".app.OneShotAlarm" android:process=":remote" /> 688 689 <receiver android:name=".app.RepeatingAlarm" android:process=":remote" /> 690 691 <activity android:name=".app.AlarmController" android:label="@string/activity_alarm_controller"> 692 <intent-filter> 693 <action android:name="android.intent.action.MAIN" /> 694 <category android:name="android.intent.category.SAMPLE_CODE" /> 695 </intent-filter> 696 </activity> 697 698 <service android:name=".app.AlarmService_Service" android:process=":remote" /> 699 700 <activity android:name=".app.AlarmService" android:label="@string/activity_alarm_service"> 701 <intent-filter> 702 <action android:name="android.intent.action.MAIN" /> 703 <category android:name="android.intent.category.SAMPLE_CODE" /> 704 </intent-filter> 705 </activity> 706 707 <!-- Stub for memory testing. --> 708 709 <receiver android:name=".app.DoNothing" 710 android:process=":empty" android:exported="true" /> 711 712 <!-- ============================ --> 713 <!-- Accessibility examples --> 714 <!-- ============================ --> 715 716 <activity android:name=".accessibility.ClockBackActivity" 717 android:label="@string/accessibility_service"> 718 <intent-filter> 719 <action android:name="android.intent.action.MAIN" /> 720 <category android:name="android.intent.category.SAMPLE_CODE" /> 721 </intent-filter> 722 </activity> 723 724 <service android:name=".accessibility.ClockBackService" 725 android:label="@string/accessibility_service_label" 726 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> 727 <intent-filter> 728 <action android:name="android.accessibilityservice.AccessibilityService" /> 729 </intent-filter> 730 </service> 731 732 <service android:name=".accessibility.MagnificationService" 733 android:label="@string/magnification_service_label" 734 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> 735 <intent-filter> 736 <action android:name="android.accessibilityservice.AccessibilityService" /> 737 </intent-filter> 738 <meta-data android:name="android.accessibilityservice" 739 android:resource="@xml/magnification_service" /> 740 </service> 741 742 <activity android:name=".accessibility.TaskListActivity" 743 android:label="@string/accessibility_query_window" 744 android:enabled="@bool/atLeastIceCreamSandwich"> 745 <intent-filter> 746 <action android:name="android.intent.action.MAIN" /> 747 <category android:name="android.intent.category.SAMPLE_CODE" /> 748 </intent-filter> 749 </activity> 750 751 <service android:name=".accessibility.TaskBackService" 752 android:label="@string/accessibility_query_window_label" 753 android:enabled="@bool/atLeastIceCreamSandwich" 754 android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> 755 <intent-filter> 756 <action android:name="android.accessibilityservice.AccessibilityService" /> 757 </intent-filter> 758 <meta-data 759 android:name="android.accessibilityservice" 760 android:resource="@xml/taskbackconfig" /> 761 </service> 762 763 <activity android:name=".accessibility.CustomViewAccessibilityActivity" 764 android:label="@string/accessibility_custom_view" 765 android:enabled="@bool/atLeastIceCreamSandwich"> 766 <intent-filter> 767 <action android:name="android.intent.action.MAIN" /> 768 <category android:name="android.intent.category.SAMPLE_CODE" /> 769 </intent-filter> 770 </activity> 771 772 <!-- Instrumentation Samples --> 773 774 <activity android:name=".app.LocalSample" android:label="@string/activity_local_sample"> 775 <intent-filter> 776 <action android:name="android.intent.action.MAIN" /> 777 <!-- category android:name="android.intent.category.SAMPLE_CODE" /--> 778 </intent-filter> 779 </activity> 780 781 <activity android:name=".app.ContactsFilter" android:label="@string/activity_contacts_filter"> 782 <intent-filter> 783 <action android:name="android.intent.action.MAIN" /> 784 <!-- category android:name="android.intent.category.SAMPLE_CODE" /--> 785 </intent-filter> 786 </activity> 787 788 789 <!-- Notifications samples --> 790 791 <activity android:name=".app.NotifyWithText" android:label="App/Notification/NotifyWithText"> 792 <intent-filter> 793 <action android:name="android.intent.action.MAIN" /> 794 <category android:name="android.intent.category.SAMPLE_CODE" /> 795 </intent-filter> 796 </activity> 797 798 <activity android:name=".app.IncomingMessage" 799 android:label="App/Notification/IncomingMessage"> 800 <intent-filter> 801 <action android:name="android.intent.action.MAIN" /> 802 <category android:name="android.intent.category.SAMPLE_CODE" /> 803 </intent-filter> 804 </activity> 805 806 <activity android:name=".app.IncomingMessageView" 807 android:label="App/Notification/IncomingMessageView"> 808 </activity> 809 810<!-- BEGIN_INCLUDE(interstitial_affinity) --> 811 <activity android:name=".app.IncomingMessageInterstitial" 812 android:label="You have messages" 813 android:theme="@style/ThemeCurrentDialog" 814 android:launchMode="singleTask" 815 android:taskAffinity="" 816 android:excludeFromRecents="true"> 817 </activity> 818<!-- END_INCLUDE(interstitial_affinity) --> 819 820 <!-- This is used to display a notification selected by the user 821 from StatusBarNotifications. Note the configuration here so 822 that the activity layers on top of whatever the user is doing, 823 allowing them to press back to return. --> 824 <activity android:name=".app.NotificationDisplay" 825 android:theme="@style/Theme.Transparent" 826 android:taskAffinity="" 827 android:excludeFromRecents="true" 828 android:noHistory="true"> 829 </activity> 830 831 <activity android:name=".app.StatusBarNotifications" 832 android:label="App/Notification/Status Bar" 833 android:launchMode="singleTop"> 834 <intent-filter> 835 <action android:name="android.intent.action.MAIN" /> 836 <category android:name="android.intent.category.SAMPLE_CODE" /> 837 </intent-filter> 838 </activity> 839 840 <service android:name=".app.NotifyingService" /> 841 842 <activity android:name=".app.NotifyingController" android:label="App/Notification/Notifying Service Controller"> 843 <intent-filter> 844 <action android:name="android.intent.action.MAIN" /> 845 <category android:name="android.intent.category.SAMPLE_CODE" /> 846 </intent-filter> 847 </activity> 848 849 <service android:name=".app.NotificationBackgroundService" /> 850 <activity android:name=".app.NotificationBackgroundService$Controller" 851 android:label="App/Notification/Background Service"> 852 <intent-filter> 853 <action android:name="android.intent.action.MAIN" /> 854 <category android:name="android.intent.category.SAMPLE_CODE" /> 855 </intent-filter> 856 </activity> 857 858 <!-- Dialog samples --> 859 <activity android:name=".app.AlertDialogSamples" android:label="@string/activity_alert_dialog"> 860 <intent-filter> 861 <action android:name="android.intent.action.MAIN" /> 862 <category android:name="android.intent.category.SAMPLE_CODE" /> 863 </intent-filter> 864 </activity> 865 866 <!-- Search Samples --> 867 868 <!-- This activity represents a "typical" activity in your application from which the --> 869 <!-- user would be allowed to invoke a search function. As noted below, the definition --> 870 <!-- of android.app.default_searchable is more typically handled at the application --> 871 <!-- level, where it can serve as a default for all of your activities. --> 872 873 <activity android:name=".app.SearchInvoke" 874 android:label="@string/search_invoke"> 875 <intent-filter> 876 <action android:name="android.intent.action.MAIN" /> 877 <category android:name="android.intent.category.SAMPLE_CODE" /> 878 </intent-filter> 879 880 <!-- This metadata entry causes .app.SearchQueryResults to be the default context --> 881 <!-- whenever the user invokes search while in this Activity. --> 882 <meta-data android:name="android.app.default_searchable" 883 android:value=".app.SearchQueryResults" /> 884 885 <!-- This is not the typical way to define android.app.default_searchable, --> 886 <!-- and we show it here only because we wish to confine the search demo to this --> 887 <!-- section of the ApiDemos application. --> 888 889 <!-- For typical applications, it's simpler to define android.app.default_searchable --> 890 <!-- just once, at the application level, where it serves as a default for all of --> 891 <!-- the Activities in your package. --> 892 </activity> 893 894 <!-- This activity represents the "search" activity in your application, in which --> 895 <!-- search results are gathered and displayed. --> 896 897 <activity android:name=".app.SearchQueryResults" 898 android:label="@string/search_query_results"> 899 <intent-filter> 900 <action android:name="android.intent.action.MAIN" /> 901 <category android:name="android.intent.category.SAMPLE_CODE" /> 902 </intent-filter> 903 904 <!-- This intent-filter identifies this activity as "searchable" --> 905 906 <intent-filter> 907 <action android:name="android.intent.action.SEARCH" /> 908 <category android:name="android.intent.category.DEFAULT" /> 909 </intent-filter> 910 911 <!-- This metadata entry provides further configuration details for searches --> 912 <!-- that are handled by this activity. --> 913 914 <meta-data android:name="android.app.searchable" 915 android:resource="@xml/searchable" /> 916 </activity> 917 918 <!-- This provider declaration informs the Search Manager that you have a provider of --> 919 <!-- Search suggestions, and provides information about how to access it. --> 920 921 <provider android:name=".app.SearchSuggestionSampleProvider" 922 android:authorities="com.example.android.apis.SuggestionProvider" /> 923 924 <!-- Shortcuts Samples --> 925 926 <!-- This section of sample code shows how your application can add shortcuts to --> 927 <!-- the launcher (home screen). Shortcuts have a three step life cycle. --> 928 929 <!-- 1. Your application offers to provide shortcuts to the launcher. When --> 930 <!-- the user installs a shortcut, an activity within your application --> 931 <!-- generates the actual shortcut and returns it to the launcher, where it --> 932 <!-- is shown to the user as an icon. --> 933 934 <!-- 2. Any time the user clicks on an installed shortcut, an intent is sent. --> 935 <!-- Typically this would then be handled as necessary by an activity within --> 936 <!-- your application. --> 937 938 <!-- 3. The shortcut is deleted. There is no notification to your application. --> 939 940 <!-- In order provide shortcuts from your application, you provide three things: --> 941 942 <!-- 1. An intent-filter declaring your ability to provide shortcuts --> 943 <!-- 2. Code within the activity to provide the shortcuts as requested --> 944 <!-- 3. Code elsewhere within your activity, if appropriate, to receive --> 945 <!-- intents from the shortcut itself. --> 946 947 <activity android:name=".app.LauncherShortcuts" 948 android:label="@string/shortcuts"> 949 <intent-filter> 950 <action android:name="android.intent.action.MAIN" /> 951 <category android:name="android.intent.category.SAMPLE_CODE" /> 952 </intent-filter> 953 954 </activity> 955 956 <!-- It is recommended that you use an activity-alias to provide the "CREATE_SHORTCUT" --> 957 <!-- intent-filter. This gives you a way to set the text (and optionally the --> 958 <!-- icon) that will be seen in the launcher's create-shortcut user interface. --> 959 960 <activity-alias android:name=".app.CreateShortcuts" 961 android:targetActivity=".app.LauncherShortcuts" 962 android:label="@string/sample_shortcuts"> 963 964 <!-- This intent-filter allows your shortcuts to be created in the launcher. --> 965 <intent-filter> 966 <action android:name="android.intent.action.CREATE_SHORTCUT" /> 967 <category android:name="android.intent.category.DEFAULT" /> 968 </intent-filter> 969 970 </activity-alias> 971 972 <!-- Menu Samples --> 973 974 <activity android:name=".app.MenuInflateFromXml" android:label="@string/menu_from_xml_title"> 975 <intent-filter> 976 <action android:name="android.intent.action.MAIN" /> 977 <category android:name="android.intent.category.SAMPLE_CODE" /> 978 </intent-filter> 979 </activity> 980 981 <!-- Device Admin Samples --> 982 983 <activity android:name=".app.DeviceAdminSample" 984 android:label="@string/activity_sample_device_admin"> 985 <intent-filter> 986 <action android:name="android.intent.action.MAIN" /> 987 <category android:name="android.intent.category.SAMPLE_CODE" /> 988 </intent-filter> 989 </activity> 990 991<!-- BEGIN_INCLUDE(device_admin_declaration) --> 992 <receiver android:name=".app.DeviceAdminSample$DeviceAdminSampleReceiver" 993 android:label="@string/sample_device_admin" 994 android:description="@string/sample_device_admin_description" 995 android:permission="android.permission.BIND_DEVICE_ADMIN"> 996 <meta-data android:name="android.app.device_admin" 997 android:resource="@xml/device_admin_sample" /> 998 <intent-filter> 999 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> 1000 </intent-filter> 1001 </receiver> 1002 <receiver android:name=".app.DeviceAdminSample$DeviceAdminSampleReceiver2" 1003 android:label="@string/sample_device_admin2" 1004 android:description="@string/sample_device_admin_description2" 1005 android:permission="android.permission.BIND_DEVICE_ADMIN"> 1006 <meta-data android:name="android.app.device_admin" 1007 android:resource="@xml/device_admin_sample" /> 1008 <intent-filter> 1009 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> 1010 </intent-filter> 1011 </receiver> 1012<!-- END_INCLUDE(device_admin_declaration) --> 1013 1014 <!-- Voice Recognition Samples --> 1015 1016 <activity android:name=".app.VoiceRecognition" android:label="@string/voice_recognition"> 1017 <intent-filter> 1018 <action android:name="android.intent.action.MAIN" /> 1019 <category android:name="android.intent.category.SAMPLE_CODE" /> 1020 </intent-filter> 1021 </activity> 1022 1023 <!-- Text-To-Speech Samples --> 1024 1025 <activity android:name=".app.TextToSpeechActivity" android:label="@string/text_to_speech"> 1026 <intent-filter> 1027 <action android:name="android.intent.action.MAIN" /> 1028 <category android:name="android.intent.category.SAMPLE_CODE" /> 1029 </intent-filter> 1030 </activity> 1031 1032 <!-- Action Bar Samples --> 1033 <activity android:name=".app.ActionBarMechanics" 1034 android:label="@string/action_bar_mechanics" 1035 android:enabled="@bool/atLeastHoneycomb"> 1036 <intent-filter> 1037 <action android:name="android.intent.action.MAIN" /> 1038 <category android:name="android.intent.category.SAMPLE_CODE" /> 1039 </intent-filter> 1040 </activity> 1041 1042 <activity android:name=".app.ActionBarUsage" 1043 android:label="@string/action_bar_usage" 1044 android:enabled="@bool/atLeastHoneycomb"> 1045 <intent-filter> 1046 <action android:name="android.intent.action.MAIN" /> 1047 <category android:name="android.intent.category.SAMPLE_CODE" /> 1048 </intent-filter> 1049 </activity> 1050 1051 <activity android:name=".app.ActionBarDisplayOptions" 1052 android:label="@string/action_bar_display_options" 1053 android:logo="@drawable/apidemo_androidlogo" 1054 android:enabled="@bool/atLeastHoneycomb"> 1055 <intent-filter> 1056 <action android:name="android.intent.action.MAIN" /> 1057 <category android:name="android.intent.category.SAMPLE_CODE" /> 1058 </intent-filter> 1059 </activity> 1060 1061 <activity android:name=".app.ActionBarTabs" 1062 android:label="@string/action_bar_tabs" 1063 android:enabled="@bool/atLeastHoneycomb"> 1064 <intent-filter> 1065 <action android:name="android.intent.action.MAIN" /> 1066 <category android:name="android.intent.category.SAMPLE_CODE" /> 1067 </intent-filter> 1068 </activity> 1069 1070 <activity android:name=".app.ActionBarSettingsActionProviderActivity" 1071 android:label="@string/action_bar_settings_action_provider" 1072 android:enabled="@bool/atLeastIceCreamSandwich"> 1073 <intent-filter> 1074 <action android:name="android.intent.action.MAIN" /> 1075 <category android:name="android.intent.category.SAMPLE_CODE" /> 1076 </intent-filter> 1077 </activity> 1078 1079 <activity android:name=".app.ActionBarShareActionProviderActivity" 1080 android:label="@string/action_bar_share_action_provider" 1081 android:enabled="@bool/atLeastIceCreamSandwich"> 1082 <intent-filter> 1083 <action android:name="android.intent.action.MAIN" /> 1084 <category android:name="android.intent.category.SAMPLE_CODE" /> 1085 </intent-filter> 1086 </activity> 1087 1088 <activity android:name=".app.ActionBarNavigation" 1089 android:label="@string/action_bar_navigation" 1090 android:enabled="@bool/atLeastJellyBean" 1091 android:taskAffinity=":bar_navigation" 1092 android:launchMode="singleTask"> 1093 <intent-filter> 1094 <action android:name="android.intent.action.MAIN" /> 1095 <category android:name="android.intent.category.SAMPLE_CODE" /> 1096 </intent-filter> 1097 </activity> 1098 1099 <activity android:name=".app.ActionBarNavigationTarget" 1100 android:label="@string/action_bar_navigation_target" 1101 android:enabled="@bool/atLeastJellyBean" 1102 android:parentActivityName=".app.ActionBarNavigation" 1103 android:taskAffinity=":bar_navigation"> 1104 </activity> 1105 1106 <activity android:name=".app.PrintBitmap" 1107 android:label="@string/print_bitmap" 1108 android:enabled="@bool/atLeastKitKat"> 1109 <intent-filter> 1110 <action android:name="android.intent.action.MAIN" /> 1111 <category android:name="android.intent.category.SAMPLE_CODE" /> 1112 </intent-filter> 1113 </activity> 1114 1115 <activity android:name=".app.PrintHtmlFromScreen" 1116 android:label="@string/print_html_from_screen" 1117 android:enabled="@bool/atLeastKitKat"> 1118 <intent-filter> 1119 <action android:name="android.intent.action.MAIN" /> 1120 <category android:name="android.intent.category.SAMPLE_CODE" /> 1121 </intent-filter> 1122 </activity> 1123 1124 <activity android:name=".app.PrintHtmlOffScreen" 1125 android:label="@string/print_html_off_screen" 1126 android:enabled="@bool/atLeastKitKat"> 1127 <intent-filter> 1128 <action android:name="android.intent.action.MAIN" /> 1129 <category android:name="android.intent.category.SAMPLE_CODE" /> 1130 </intent-filter> 1131 </activity> 1132 1133 <activity android:name=".app.PrintCustomContent" 1134 android:label="@string/print_custom_content" 1135 android:enabled="@bool/atLeastKitKat"> 1136 <intent-filter> 1137 <action android:name="android.intent.action.MAIN" /> 1138 <category android:name="android.intent.category.SAMPLE_CODE" /> 1139 </intent-filter> 1140 </activity> 1141 1142 <!-- Application Updating Samples --> 1143 1144<!-- BEGIN_INCLUDE(app_update_declaration) --> 1145 <receiver android:name=".app.AppUpdateReceiver"> 1146 <intent-filter> 1147 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" /> 1148 </intent-filter> 1149 </receiver> 1150<!-- END_INCLUDE(app_update_declaration) --> 1151 1152 <receiver android:name=".app.AppUpdateSspReceiver"> 1153 <intent-filter> 1154 <action android:name="android.intent.action.PACKAGE_REPLACED" /> 1155 <data android:scheme="package" android:ssp="com.example.android.apis" /> 1156 </intent-filter> 1157 </receiver> 1158 1159 <!-- ************************************* --> 1160 <!-- CONTENT PACKAGE SAMPLES --> 1161 <!-- ************************************* --> 1162 1163 <activity android:name=".content.ClipboardSample" 1164 android:label="@string/activity_clipboard" 1165 android:enabled="@bool/atLeastHoneycomb"> 1166 <intent-filter> 1167 <action android:name="android.intent.action.MAIN" /> 1168 <category android:name="android.intent.category.SAMPLE_CODE" /> 1169 </intent-filter> 1170 </activity> 1171 1172 <activity android:name=".content.ExternalStorage" android:label="@string/activity_external_storage"> 1173 <intent-filter> 1174 <action android:name="android.intent.action.MAIN" /> 1175 <category android:name="android.intent.category.SAMPLE_CODE" /> 1176 <category android:name="android.intent.category.EMBED" /> 1177 </intent-filter> 1178 </activity> 1179 1180 <activity android:name=".content.StyledText" android:label="@string/activity_styled_text"> 1181 <intent-filter> 1182 <action android:name="android.intent.action.MAIN" /> 1183 <category android:name="android.intent.category.SAMPLE_CODE" /> 1184 <category android:name="android.intent.category.EMBED" /> 1185 </intent-filter> 1186 </activity> 1187 1188 <activity android:name=".content.TextUndoActivity" android:label="@string/activity_text_undo"> 1189 <intent-filter> 1190 <action android:name="android.intent.action.MAIN" /> 1191 <category android:name="android.intent.category.SAMPLE_CODE" /> 1192 <category android:name="android.intent.category.EMBED" /> 1193 </intent-filter> 1194 </activity> 1195 1196 <activity android:name=".content.ResourcesLayoutReference" 1197 android:label="@string/activity_resources_layout_reference"> 1198 <intent-filter> 1199 <action android:name="android.intent.action.MAIN" /> 1200 <category android:name="android.intent.category.SAMPLE_CODE" /> 1201 <category android:name="android.intent.category.EMBED" /> 1202 </intent-filter> 1203 </activity> 1204 1205 <activity android:name=".content.ResourcesWidthAndHeight" 1206 android:label="@string/activity_resources_width_and_height" 1207 android:enabled="@bool/atLeastHoneycombMR2"> 1208 <intent-filter> 1209 <action android:name="android.intent.action.MAIN" /> 1210 <category android:name="android.intent.category.SAMPLE_CODE" /> 1211 <category android:name="android.intent.category.EMBED" /> 1212 </intent-filter> 1213 </activity> 1214 1215 <activity android:name=".content.ResourcesSmallestWidth" 1216 android:label="@string/activity_resources_smallest_width" 1217 android:enabled="@bool/atLeastHoneycombMR2"> 1218 <intent-filter> 1219 <action android:name="android.intent.action.MAIN" /> 1220 <category android:name="android.intent.category.SAMPLE_CODE" /> 1221 <category android:name="android.intent.category.EMBED" /> 1222 </intent-filter> 1223 </activity> 1224 1225 <activity android:name=".content.ReadAsset" android:label="@string/activity_read_asset"> 1226 <intent-filter> 1227 <action android:name="android.intent.action.MAIN" /> 1228 <category android:name="android.intent.category.SAMPLE_CODE" /> 1229 <category android:name="android.intent.category.EMBED" /> 1230 </intent-filter> 1231 </activity> 1232 1233 <activity android:name=".content.ResourcesSample" android:label="@string/activity_resources"> 1234 <intent-filter> 1235 <action android:name="android.intent.action.MAIN" /> 1236 <category android:name="android.intent.category.SAMPLE_CODE" /> 1237 </intent-filter> 1238 </activity> 1239 1240 <activity android:name=".content.PickContact" android:label="@string/activity_pick_contact"> 1241 <intent-filter> 1242 <action android:name="android.intent.action.MAIN" /> 1243 <category android:name="android.intent.category.SAMPLE_CODE" /> 1244 </intent-filter> 1245 </activity> 1246 1247 <activity android:name=".content.ShareContent" android:label="@string/activity_share_content"> 1248 <intent-filter> 1249 <action android:name="android.intent.action.MAIN" /> 1250 <category android:name="android.intent.category.SAMPLE_CODE" /> 1251 </intent-filter> 1252 </activity> 1253 1254 <activity android:name=".content.ChangedContacts" android:label="@string/activity_changed_contact"> 1255 <intent-filter> 1256 <action android:name="android.intent.action.MAIN"/> 1257 <category android:name="android.intent.category.SAMPLE_CODE"/> 1258 </intent-filter> 1259 </activity> 1260 1261 <activity android:name=".content.MediaContentObserver" 1262 android:label="@string/activity_media_content_observer"> 1263 <intent-filter> 1264 <action android:name="android.intent.action.MAIN"/> 1265 <category android:name="android.intent.category.SAMPLE_CODE"/> 1266 </intent-filter> 1267 </activity> 1268 1269 <service android:name=".content.MediaContentJob" 1270 android:permission="android.permission.BIND_JOB_SERVICE" /> 1271 1272 <service android:name=".content.PhotosContentJob" 1273 android:permission="android.permission.BIND_JOB_SERVICE" /> 1274 1275 <activity android:name=".content.InstallApk" android:label="@string/activity_install_apk" 1276 android:enabled="@bool/atLeastHoneycombMR2"> 1277 <intent-filter> 1278 <action android:name="android.intent.action.MAIN" /> 1279 <category android:name="android.intent.category.SAMPLE_CODE" /> 1280 </intent-filter> 1281 </activity> 1282 1283 <!-- A FileProvider for passing the APK to be installed to the system. --> 1284 <provider 1285 android:name="androidx.core.content.FileProvider" 1286 android:authorities="com.example.android.apis.installapkprovider" 1287 android:exported="false" 1288 android:grantUriPermissions="true"> 1289 <meta-data 1290 android:name="android.support.FILE_PROVIDER_PATHS" 1291 android:resource="@xml/file_paths" /> 1292 </provider> 1293 1294 <activity android:name=".content.InstallApkSessionApi" 1295 android:label="@string/activity_install_apk_session_api" 1296 android:launchMode="singleTop"> 1297 <intent-filter> 1298 <action android:name="android.intent.action.MAIN" /> 1299 <category android:name="android.intent.category.SAMPLE_CODE" /> 1300 </intent-filter> 1301 <intent-filter> 1302 <action android:exported="true" 1303 android:name="com.example.android.apis.content.SESSION_API_PACKAGE_INSTALLED" /> 1304 </intent-filter> 1305 </activity> 1306 1307 <activity android:name=".content.DocumentsSample" 1308 android:label="@string/activity_documents" 1309 android:enabled="@bool/atLeastKitKat"> 1310 <intent-filter> 1311 <action android:name="android.intent.action.MAIN" /> 1312 <category android:name="android.intent.category.SAMPLE_CODE" /> 1313 </intent-filter> 1314 </activity> 1315 1316 <provider android:name=".content.FileProvider" 1317 android:authorities="com.example.android.apis.content.FileProvider" 1318 android:grantUriPermissions="true" 1319 android:exported="false" 1320 android:enabled="@bool/atLeastHoneycombMR2" /> 1321 1322 <activity android:name=".content.ProcessTextLauncher" 1323 android:label="@string/process_text_title" > 1324 <intent-filter> 1325 <action android:name="android.intent.action.MAIN" /> 1326 <category android:name="android.intent.category.SAMPLE_CODE" /> 1327 </intent-filter> 1328 </activity> 1329 <activity android:name=".content.ProcessText" > 1330 <intent-filter > 1331 <action android:name="android.intent.action.PROCESS_TEXT"/> 1332 <category android:name="android.intent.category.DEFAULT" /> 1333 <data android:mimeType="text/plain" /> 1334 </intent-filter> 1335 </activity> 1336 1337 <!-- ************************************* --> 1338 <!-- HARDWARE PACKAGE SAMPLES --> 1339 <!-- ************************************* --> 1340 1341 <activity android:name=".hardware.ConsumerIr" android:label="Hardware/Consumer IR"> 1342 <intent-filter> 1343 <action android:name="android.intent.action.MAIN" /> 1344 <category android:name="android.intent.category.SAMPLE_CODE" /> 1345 </intent-filter> 1346 </activity> 1347 1348 <!-- ************************************* --> 1349 <!-- OS PACKAGE SAMPLES --> 1350 <!-- ************************************* --> 1351 1352 <activity android:name=".os.MorseCode" android:label="OS/Morse Code"> 1353 <intent-filter> 1354 <action android:name="android.intent.action.MAIN" /> 1355 <category android:name="android.intent.category.SAMPLE_CODE" /> 1356 </intent-filter> 1357 </activity> 1358 1359 <activity android:name=".os.TriggerSensors" android:label="OS/TriggerSensors"> 1360 <intent-filter> 1361 <action android:name="android.intent.action.MAIN" /> 1362 <category android:name="android.intent.category.SAMPLE_CODE" /> 1363 </intent-filter> 1364 </activity> 1365 1366 <activity android:name=".os.RotationVectorDemo" android:label="OS/Rotation Vector" android:screenOrientation="nosensor"> 1367 <intent-filter> 1368 <action android:name="android.intent.action.MAIN" /> 1369 <category android:name="android.intent.category.SAMPLE_CODE" /> 1370 </intent-filter> 1371 </activity> 1372 1373 <activity android:name=".os.SmsMessagingDemo" android:label="OS/SMS Messaging"> 1374 <intent-filter> 1375 <action android:name="android.intent.action.MAIN" /> 1376 <category android:name="android.intent.category.SAMPLE_CODE" /> 1377 </intent-filter> 1378 <intent-filter> 1379 <action android:name="android.intent.action.SENDTO" /> 1380 <category android:name="android.intent.category.DEFAULT" /> 1381 <data android:scheme="sms" /> 1382 <data android:scheme="smsto" /> 1383 </intent-filter> 1384 </activity> 1385 1386 <activity android:name=".os.MmsMessagingDemo" android:label="OS/MMS Messaging"> 1387 <intent-filter> 1388 <action android:name="android.intent.action.MAIN" /> 1389 <category android:name="android.intent.category.SAMPLE_CODE" /> 1390 </intent-filter> 1391 <intent-filter> 1392 <action android:name="android.intent.action.SENDTO" /> 1393 <category android:name="android.intent.category.DEFAULT" /> 1394 <data android:scheme="mms" /> 1395 <data android:scheme="mmsto" /> 1396 </intent-filter> 1397 </activity> 1398 1399 <activity android:name=".os.SmsReceivedDialog" 1400 android:theme="@android:style/Theme.Translucent.NoTitleBar" 1401 android:launchMode="singleInstance" /> 1402 1403 <receiver android:name=".os.SmsMessageReceiver" android:enabled="false" 1404 android:permission="android.permission.BROADCAST_SMS"> 1405 <intent-filter> 1406 <action android:name="android.provider.Telephony.SMS_RECEIVED" /> 1407 </intent-filter> 1408 <intent-filter> 1409 <action android:name="android.provider.Telephony.SMS_DELIVER" /> 1410 </intent-filter> 1411 </receiver> 1412 1413 <receiver android:name=".os.MmsWapPushReceiver" android:enabled="false" 1414 android:permission="android.permission.BROADCAST_WAP_PUSH"> 1415 <intent-filter> 1416 <action android:name="android.provider.Telephony.WAP_PUSH_RECEIVED" /> 1417 <data android:mimeType="application/vnd.wap.mms-message" /> 1418 </intent-filter> 1419 <intent-filter> 1420 <action android:name="android.provider.Telephony.WAP_PUSH_DELIVER" /> 1421 <data android:mimeType="application/vnd.wap.mms-message" /> 1422 </intent-filter> 1423 </receiver> 1424 1425 <service android:name=".os.HeadlessSmsSendService" 1426 android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE" 1427 android:exported="true"> 1428 <intent-filter> 1429 <action android:name="android.intent.action.RESPOND_VIA_MESSAGE" /> 1430 <category android:name="android.intent.category.DEFAULT" /> 1431 <data android:scheme="sms" /> 1432 <data android:scheme="smsto" /> 1433 <data android:scheme="mms" /> 1434 <data android:scheme="mmsto" /> 1435 </intent-filter> 1436 </service> 1437 1438 <provider android:name=".os.MmsFileProvider" 1439 android:authorities="com.example.android.apis.os.MmsFileProvider" 1440 android:enabled="@bool/atLeastLRelease" 1441 android:grantUriPermissions="true" 1442 android:exported="false" /> 1443 1444 <!-- ************************************* --> 1445 <!-- ANDROID.ANIMATION PACKAGE SAMPLES --> 1446 <!-- ************************************* --> 1447 1448 <activity android:name=".animation.ActivityTransition" 1449 android:label="Animation/Activity Transition" 1450 android:enabled="@bool/atLeastLRelease" 1451 android:theme="@style/ActivityTransitionTheme"> 1452 <intent-filter> 1453 <action android:name="android.intent.action.MAIN" /> 1454 <category android:name="android.intent.category.SAMPLE_CODE" /> 1455 </intent-filter> 1456 </activity> 1457 1458 <activity android:name=".animation.ActivityTransitionDetails" 1459 android:label="Animation/Details of a specific thingy" 1460 android:enabled="@bool/atLeastLRelease" 1461 android:theme="@style/ActivityTransitionTheme"> 1462 <intent-filter> 1463 <action android:name="android.intent.action.MAIN" /> 1464 </intent-filter> 1465 </activity> 1466 1467 <activity android:name=".animation.AnimationLoading" 1468 android:label="Animation/Loading" 1469 android:enabled="@bool/atLeastHoneycomb"> 1470 <intent-filter> 1471 <action android:name="android.intent.action.MAIN" /> 1472 <category android:name="android.intent.category.SAMPLE_CODE" /> 1473 </intent-filter> 1474 </activity> 1475 1476 <activity android:name=".animation.AnimationCloning" 1477 android:label="Animation/Cloning" 1478 android:enabled="@bool/atLeastHoneycomb"> 1479 <intent-filter> 1480 <action android:name="android.intent.action.MAIN" /> 1481 <category android:name="android.intent.category.SAMPLE_CODE" /> 1482 </intent-filter> 1483 </activity> 1484 1485 <activity android:name=".animation.AnimationSeeking" 1486 android:label="Animation/Seeking" 1487 android:enabled="@bool/atLeastHoneycomb"> 1488 <intent-filter> 1489 <action android:name="android.intent.action.MAIN" /> 1490 <category android:name="android.intent.category.SAMPLE_CODE" /> 1491 </intent-filter> 1492 </activity> 1493 1494 <activity android:name=".animation.AnimatorEvents" 1495 android:label="Animation/Events" 1496 android:enabled="@bool/atLeastHoneycomb"> 1497 <intent-filter> 1498 <action android:name="android.intent.action.MAIN" /> 1499 <category android:name="android.intent.category.SAMPLE_CODE" /> 1500 </intent-filter> 1501 </activity> 1502 1503 <activity android:name=".animation.BouncingBalls" 1504 android:label="Animation/Bouncing Balls" 1505 android:enabled="@bool/atLeastHoneycomb"> 1506 <intent-filter> 1507 <action android:name="android.intent.action.MAIN" /> 1508 <category android:name="android.intent.category.SAMPLE_CODE" /> 1509 </intent-filter> 1510 </activity> 1511 1512 <activity android:name=".animation.CustomEvaluator" 1513 android:label="Animation/Custom Evaluator" 1514 android:enabled="@bool/atLeastHoneycomb"> 1515 <intent-filter> 1516 <action android:name="android.intent.action.MAIN" /> 1517 <category android:name="android.intent.category.SAMPLE_CODE" /> 1518 </intent-filter> 1519 </activity> 1520 1521 <activity android:name=".animation.ListFlipper" 1522 android:label="Animation/View Flip" 1523 android:enabled="@bool/atLeastHoneycomb"> 1524 <intent-filter> 1525 <action android:name="android.intent.action.MAIN" /> 1526 <category android:name="android.intent.category.SAMPLE_CODE" /> 1527 </intent-filter> 1528 </activity> 1529 1530 <activity android:name=".animation.ReversingAnimation" 1531 android:label="Animation/Reversing" 1532 android:enabled="@bool/atLeastHoneycomb"> 1533 <intent-filter> 1534 <action android:name="android.intent.action.MAIN" /> 1535 <category android:name="android.intent.category.SAMPLE_CODE" /> 1536 </intent-filter> 1537 </activity> 1538 1539 <activity android:name=".animation.MultiPropertyAnimation" 1540 android:label="Animation/Multiple Properties" 1541 android:enabled="@bool/atLeastHoneycomb"> 1542 <intent-filter> 1543 <action android:name="android.intent.action.MAIN" /> 1544 <category android:name="android.intent.category.SAMPLE_CODE" /> 1545 </intent-filter> 1546 </activity> 1547 1548 <activity android:name=".animation.LayoutAnimations" 1549 android:label="Animation/Layout Animations" 1550 android:enabled="@bool/atLeastHoneycomb"> 1551 <intent-filter> 1552 <action android:name="android.intent.action.MAIN" /> 1553 <category android:name="android.intent.category.SAMPLE_CODE" /> 1554 </intent-filter> 1555 </activity> 1556 1557 <activity android:name=".animation.LayoutAnimationsHideShow" 1558 android:label="Animation/Hide-Show Animations" 1559 android:enabled="@bool/atLeastHoneycomb"> 1560 <intent-filter> 1561 <action android:name="android.intent.action.MAIN" /> 1562 <category android:name="android.intent.category.SAMPLE_CODE" /> 1563 </intent-filter> 1564 </activity> 1565 1566 <activity android:name=".animation.LayoutAnimationsByDefault" 1567 android:label="Animation/Default Layout Animations" 1568 android:enabled="@bool/atLeastHoneycomb"> 1569 <intent-filter> 1570 <action android:name="android.intent.action.MAIN" /> 1571 <category android:name="android.intent.category.SAMPLE_CODE" /> 1572 </intent-filter> 1573 </activity> 1574 1575 <activity android:name=".animation.Transitions" 1576 android:label="Animation/Simple Transitions" 1577 android:enabled="@bool/atLeastHoneycomb"> 1578 <intent-filter> 1579 <action android:name="android.intent.action.MAIN" /> 1580 <category android:name="android.intent.category.SAMPLE_CODE" /> 1581 </intent-filter> 1582 </activity> 1583 1584 <activity android:name=".animation.PathAnimations" 1585 android:label="Animation/Path Animations" 1586 android:enabled="@bool/atLeastHoneycomb"> 1587 <intent-filter> 1588 <action android:name="android.intent.action.MAIN" /> 1589 <category android:name="android.intent.category.SAMPLE_CODE" /> 1590 </intent-filter> 1591 </activity> 1592 1593 <!-- ************************************* --> 1594 <!-- ANIMATION PACKAGE SAMPLES --> 1595 <!-- ************************************* --> 1596 1597 <activity android:name=".animation.Transition3d" android:label="Views/Animation/3D Transition"> 1598 <intent-filter> 1599 <action android:name="android.intent.action.MAIN" /> 1600 <category android:name="android.intent.category.SAMPLE_CODE" /> 1601 </intent-filter> 1602 </activity> 1603 1604 <!-- ************************************* --> 1605 <!-- VIEW/WIDGET PACKAGE SAMPLES --> 1606 <!-- ************************************* --> 1607 1608 <activity android:name=".view.ChronometerDemo" android:label="Views/Chronometer"> 1609 <intent-filter> 1610 <action android:name="android.intent.action.MAIN" /> 1611 <category android:name="android.intent.category.SAMPLE_CODE" /> 1612 </intent-filter> 1613 </activity> 1614 <activity android:name=".view.WebView1" android:label="Views/WebView"> 1615 <intent-filter> 1616 <action android:name="android.intent.action.MAIN" /> 1617 <category android:name="android.intent.category.SAMPLE_CODE" /> 1618 </intent-filter> 1619 </activity> 1620 1621 <activity android:name=".view.RelativeLayout1" android:label="Views/Layouts/RelativeLayout/1. Vertical"> 1622 <intent-filter> 1623 <action android:name="android.intent.action.MAIN" /> 1624 <category android:name="android.intent.category.SAMPLE_CODE" /> 1625 </intent-filter> 1626 </activity> 1627 1628 <activity android:name=".view.RelativeLayout2" android:label="Views/Layouts/RelativeLayout/2. Simple Form"> 1629 <intent-filter> 1630 <action android:name="android.intent.action.MAIN" /> 1631 <category android:name="android.intent.category.SAMPLE_CODE" /> 1632 </intent-filter> 1633 </activity> 1634 1635 <activity android:name=".view.LinearLayout1" 1636 android:label="Views/Layouts/LinearLayout/01. Vertical"> 1637 <intent-filter> 1638 <action android:name="android.intent.action.MAIN" /> 1639 <category android:name="android.intent.category.SAMPLE_CODE" /> 1640 </intent-filter> 1641 </activity> 1642 1643 <activity android:name=".view.LinearLayout2" 1644 android:label="Views/Layouts/LinearLayout/02. Vertical (Fill Screen)"> 1645 <intent-filter> 1646 <action android:name="android.intent.action.MAIN" /> 1647 <category android:name="android.intent.category.SAMPLE_CODE" /> 1648 </intent-filter> 1649 </activity> 1650 1651 <activity android:name=".view.LinearLayout3" 1652 android:label="Views/Layouts/LinearLayout/03. Vertical (Padded)"> 1653 <intent-filter> 1654 <action android:name="android.intent.action.MAIN" /> 1655 <category android:name="android.intent.category.SAMPLE_CODE" /> 1656 </intent-filter> 1657 </activity> 1658 1659 <activity android:name=".view.LinearLayout4" 1660 android:label="Views/Layouts/LinearLayout/04. Horizontal"> 1661 <intent-filter> 1662 <action android:name="android.intent.action.MAIN" /> 1663 <category android:name="android.intent.category.SAMPLE_CODE" /> 1664 </intent-filter> 1665 </activity> 1666 1667 <activity android:name=".view.LinearLayout5" 1668 android:label="Views/Layouts/LinearLayout/05. Simple Form"> 1669 <intent-filter> 1670 <action android:name="android.intent.action.MAIN" /> 1671 <category android:name="android.intent.category.SAMPLE_CODE" /> 1672 </intent-filter> 1673 </activity> 1674 1675 <activity android:name=".view.LinearLayout6" 1676 android:label="Views/Layouts/LinearLayout/06. Uniform Size"> 1677 <intent-filter> 1678 <action android:name="android.intent.action.MAIN" /> 1679 <category android:name="android.intent.category.SAMPLE_CODE" /> 1680 </intent-filter> 1681 </activity> 1682 1683 <activity android:name=".view.LinearLayout7" 1684 android:label="Views/Layouts/LinearLayout/07. Fill Parent"> 1685 <intent-filter> 1686 <action android:name="android.intent.action.MAIN" /> 1687 <category android:name="android.intent.category.SAMPLE_CODE" /> 1688 </intent-filter> 1689 </activity> 1690 1691 <activity android:name=".view.LinearLayout8" 1692 android:label="Views/Layouts/LinearLayout/08. Gravity"> 1693 <intent-filter> 1694 <action android:name="android.intent.action.MAIN" /> 1695 <category android:name="android.intent.category.SAMPLE_CODE" /> 1696 </intent-filter> 1697 </activity> 1698 1699 <activity android:name=".view.LinearLayout9" 1700 android:label="Views/Layouts/LinearLayout/09. Layout Weight"> 1701 <intent-filter> 1702 <action android:name="android.intent.action.MAIN" /> 1703 <category android:name="android.intent.category.SAMPLE_CODE" /> 1704 </intent-filter> 1705 </activity> 1706 1707 <activity android:name=".view.LinearLayout10" 1708 android:label="Views/Layouts/LinearLayout/10. Background Image"> 1709 <intent-filter> 1710 <action android:name="android.intent.action.MAIN" /> 1711 <category android:name="android.intent.category.SAMPLE_CODE" /> 1712 </intent-filter> 1713 </activity> 1714 1715 <activity android:name=".view.CustomLayoutActivity" 1716 android:label="Views/Layouts/CustomLayout"> 1717 <intent-filter> 1718 <action android:name="android.intent.action.MAIN" /> 1719 <category android:name="android.intent.category.SAMPLE_CODE" /> 1720 </intent-filter> 1721 </activity> 1722 1723 <activity android:name=".view.RadioGroup1" android:label="Views/Radio Group"> 1724 <intent-filter> 1725 <action android:name="android.intent.action.MAIN" /> 1726 <category android:name="android.intent.category.SAMPLE_CODE" /> 1727 </intent-filter> 1728 </activity> 1729 1730 <activity android:name=".view.ScrollView1" android:label="Views/Layouts/ScrollView/1. Short"> 1731 <intent-filter> 1732 <action android:name="android.intent.action.MAIN" /> 1733 <category android:name="android.intent.category.SAMPLE_CODE" /> 1734 </intent-filter> 1735 </activity> 1736 1737 <activity android:name=".view.ScrollView2" android:label="Views/Layouts/ScrollView/2. Long"> 1738 <intent-filter> 1739 <action android:name="android.intent.action.MAIN" /> 1740 <category android:name="android.intent.category.SAMPLE_CODE" /> 1741 </intent-filter> 1742 </activity> 1743 1744 <activity android:name=".view.HorizontalScrollView1" android:label="Views/Layouts/HorizontalScrollView"> 1745 <intent-filter> 1746 <action android:name="android.intent.action.MAIN" /> 1747 <category android:name="android.intent.category.SAMPLE_CODE" /> 1748 </intent-filter> 1749 </activity> 1750 1751 <activity android:name=".view.Tabs1" android:label="Views/Tabs/1. Content By Id"> 1752 <intent-filter> 1753 <action android:name="android.intent.action.MAIN"/> 1754 <category android:name="android.intent.category.SAMPLE_CODE"/> 1755 </intent-filter> 1756 </activity> 1757 1758 <activity android:name=".view.Tabs2" android:label="Views/Tabs/2. Content By Factory"> 1759 <intent-filter> 1760 <action android:name="android.intent.action.MAIN"/> 1761 <category android:name="android.intent.category.SAMPLE_CODE"/> 1762 </intent-filter> 1763 </activity> 1764 1765 <activity android:name=".view.Tabs3" android:label="Views/Tabs/3. Content By Intent"> 1766 <intent-filter> 1767 <action android:name="android.intent.action.MAIN"/> 1768 <category android:name="android.intent.category.SAMPLE_CODE"/> 1769 </intent-filter> 1770 </activity> 1771 1772 <activity android:name=".view.Tabs4" android:label="Views/Tabs/4. Non Holo theme" 1773 android:theme="@android:style/Theme"> 1774 <intent-filter> 1775 <action android:name="android.intent.action.MAIN"/> 1776 <category android:name="android.intent.category.SAMPLE_CODE"/> 1777 </intent-filter> 1778 </activity> 1779 1780 <activity android:name=".view.Tabs5" android:label="Views/Tabs/5. Scrollable"> 1781 <intent-filter> 1782 <action android:name="android.intent.action.MAIN"/> 1783 <category android:name="android.intent.category.SAMPLE_CODE"/> 1784 </intent-filter> 1785 </activity> 1786 1787 <activity android:name=".view.Tabs6" android:label="Views/Tabs/6. Right aligned"> 1788 <intent-filter> 1789 <action android:name="android.intent.action.MAIN"/> 1790 <category android:name="android.intent.category.SAMPLE_CODE"/> 1791 </intent-filter> 1792 </activity> 1793 1794 <activity android:name=".view.InternalSelectionScroll" android:label="Views/Layouts/ScrollView/3. Internal Selection"> 1795 <intent-filter> 1796 <action android:name="android.intent.action.MAIN" /> 1797 <category android:name="android.intent.category.SAMPLE_CODE" /> 1798 </intent-filter> 1799 </activity> 1800 1801 <activity android:name=".view.TableLayout1" android:label="Views/Layouts/TableLayout/01. Basic"> 1802 <intent-filter> 1803 <action android:name="android.intent.action.MAIN" /> 1804 <category android:name="android.intent.category.SAMPLE_CODE" /> 1805 </intent-filter> 1806 </activity> 1807 1808 <activity android:name=".view.TableLayout2" android:label="Views/Layouts/TableLayout/02. Empty Cells"> 1809 <intent-filter> 1810 <action android:name="android.intent.action.MAIN" /> 1811 <category android:name="android.intent.category.SAMPLE_CODE" /> 1812 </intent-filter> 1813 </activity> 1814 1815 <activity android:name=".view.TableLayout3" android:label="Views/Layouts/TableLayout/03. Long Content"> 1816 <intent-filter> 1817 <action android:name="android.intent.action.MAIN" /> 1818 <category android:name="android.intent.category.SAMPLE_CODE" /> 1819 </intent-filter> 1820 </activity> 1821 1822 <activity android:name=".view.TableLayout4" android:label="Views/Layouts/TableLayout/04. Stretchable"> 1823 <intent-filter> 1824 <action android:name="android.intent.action.MAIN" /> 1825 <category android:name="android.intent.category.SAMPLE_CODE" /> 1826 </intent-filter> 1827 </activity> 1828 1829 <activity android:name=".view.TableLayout5" android:label="Views/Layouts/TableLayout/05. Spanning and Stretchable"> 1830 <intent-filter> 1831 <action android:name="android.intent.action.MAIN" /> 1832 <category android:name="android.intent.category.SAMPLE_CODE" /> 1833 </intent-filter> 1834 </activity> 1835 1836 <activity android:name=".view.TableLayout6" android:label="Views/Layouts/TableLayout/06. More Spanning and Stretchable"> 1837 <intent-filter> 1838 <action android:name="android.intent.action.MAIN" /> 1839 <category android:name="android.intent.category.SAMPLE_CODE" /> 1840 </intent-filter> 1841 </activity> 1842 1843 <activity android:name=".view.TableLayout7" android:label="Views/Layouts/TableLayout/07. Column Collapse"> 1844 <intent-filter> 1845 <action android:name="android.intent.action.MAIN" /> 1846 <category android:name="android.intent.category.SAMPLE_CODE" /> 1847 </intent-filter> 1848 </activity> 1849 1850 <activity android:name=".view.TableLayout8" android:label="Views/Layouts/TableLayout/08. Toggle Stretch"> 1851 <intent-filter> 1852 <action android:name="android.intent.action.MAIN" /> 1853 <category android:name="android.intent.category.SAMPLE_CODE" /> 1854 </intent-filter> 1855 </activity> 1856 1857 <activity android:name=".view.TableLayout9" android:label="Views/Layouts/TableLayout/09. Toggle Shrink"> 1858 <intent-filter> 1859 <action android:name="android.intent.action.MAIN" /> 1860 <category android:name="android.intent.category.SAMPLE_CODE" /> 1861 </intent-filter> 1862 </activity> 1863 1864 <activity android:name=".view.TableLayout10" android:label="Views/Layouts/TableLayout/10. Simple Form"> 1865 <intent-filter> 1866 <action android:name="android.intent.action.MAIN" /> 1867 <category android:name="android.intent.category.SAMPLE_CODE" /> 1868 </intent-filter> 1869 </activity> 1870 1871 <activity android:name=".view.TableLayout11" android:label="Views/Layouts/TableLayout/11. Gravity"> 1872 <intent-filter> 1873 <action android:name="android.intent.action.MAIN" /> 1874 <category android:name="android.intent.category.SAMPLE_CODE" /> 1875 </intent-filter> 1876 </activity> 1877 1878 <activity android:name=".view.TableLayout12" android:label="Views/Layouts/TableLayout/12. Cell Spanning"> 1879 <intent-filter> 1880 <action android:name="android.intent.action.MAIN" /> 1881 <category android:name="android.intent.category.SAMPLE_CODE" /> 1882 </intent-filter> 1883 </activity> 1884 1885 <activity android:name=".view.GridLayout1" android:label="Views/Layouts/GridLayout/1. Simple Form"> 1886 <intent-filter> 1887 <action android:name="android.intent.action.MAIN" /> 1888 <category android:name="android.intent.category.SAMPLE_CODE" /> 1889 </intent-filter> 1890 </activity> 1891 1892 <activity android:name=".view.GridLayout2" android:label="Views/Layouts/GridLayout/2. Form (XML)"> 1893 <intent-filter> 1894 <action android:name="android.intent.action.MAIN" /> 1895 <category android:name="android.intent.category.SAMPLE_CODE" /> 1896 </intent-filter> 1897 </activity> 1898 1899 <activity android:name=".view.GridLayout3" android:label="Views/Layouts/GridLayout/3. Form (Java)"> 1900 <intent-filter> 1901 <action android:name="android.intent.action.MAIN" /> 1902 <category android:name="android.intent.category.SAMPLE_CODE" /> 1903 </intent-filter> 1904 </activity> 1905 1906 <activity android:name=".view.Baseline1" android:label="Views/Layouts/Baseline/1. Top"> 1907 <intent-filter> 1908 <action android:name="android.intent.action.MAIN" /> 1909 <category android:name="android.intent.category.SAMPLE_CODE" /> 1910 </intent-filter> 1911 </activity> 1912 1913 <activity android:name=".view.Baseline2" android:label="Views/Layouts/Baseline/2. Bottom"> 1914 <intent-filter> 1915 <action android:name="android.intent.action.MAIN" /> 1916 <category android:name="android.intent.category.SAMPLE_CODE" /> 1917 </intent-filter> 1918 </activity> 1919 1920 <activity android:name=".view.Baseline3" android:label="Views/Layouts/Baseline/3. Center"> 1921 <intent-filter> 1922 <action android:name="android.intent.action.MAIN" /> 1923 <category android:name="android.intent.category.SAMPLE_CODE" /> 1924 </intent-filter> 1925 </activity> 1926 1927 <activity android:name=".view.Baseline4" android:label="Views/Layouts/Baseline/4. Everywhere"> 1928 <intent-filter> 1929 <action android:name="android.intent.action.MAIN" /> 1930 <category android:name="android.intent.category.SAMPLE_CODE" /> 1931 </intent-filter> 1932 </activity> 1933 1934 <activity android:name=".view.Baseline6" android:label="Views/Layouts/Baseline/5. Multi-line"> 1935 <intent-filter> 1936 <action android:name="android.intent.action.MAIN" /> 1937 <category android:name="android.intent.category.SAMPLE_CODE" /> 1938 </intent-filter> 1939 </activity> 1940 1941 <activity android:name=".view.Baseline7" android:label="Views/Layouts/Baseline/6. Relative"> 1942 <intent-filter> 1943 <action android:name="android.intent.action.MAIN" /> 1944 <category android:name="android.intent.category.SAMPLE_CODE" /> 1945 </intent-filter> 1946 </activity> 1947 1948 <activity android:name=".view.BaselineNested1" android:label="Views/Layouts/Baseline/Nested Example 1"> 1949 <intent-filter> 1950 <action android:name="android.intent.action.MAIN" /> 1951 <category android:name="android.intent.category.SAMPLE_CODE" /> 1952 </intent-filter> 1953 </activity> 1954 1955 <activity android:name=".view.BaselineNested2" android:label="Views/Layouts/Baseline/Nested Example 2"> 1956 <intent-filter> 1957 <action android:name="android.intent.action.MAIN" /> 1958 <category android:name="android.intent.category.SAMPLE_CODE" /> 1959 </intent-filter> 1960 </activity> 1961 1962 <activity android:name=".view.BaselineNested3" android:label="Views/Layouts/Baseline/Nested Example 3"> 1963 <intent-filter> 1964 <action android:name="android.intent.action.MAIN" /> 1965 <category android:name="android.intent.category.SAMPLE_CODE" /> 1966 </intent-filter> 1967 </activity> 1968 1969 <activity android:name=".view.ScrollBar1" android:label="Views/ScrollBars/1. Basic"> 1970 <intent-filter> 1971 <action android:name="android.intent.action.MAIN" /> 1972 <category android:name="android.intent.category.SAMPLE_CODE" /> 1973 </intent-filter> 1974 </activity> 1975 1976 <activity android:name=".view.ScrollBar2" android:label="Views/ScrollBars/2. Fancy"> 1977 <intent-filter> 1978 <action android:name="android.intent.action.MAIN" /> 1979 <category android:name="android.intent.category.SAMPLE_CODE" /> 1980 </intent-filter> 1981 </activity> 1982 1983 <activity android:name=".view.ScrollBar3" android:label="Views/ScrollBars/3. Style"> 1984 <intent-filter> 1985 <action android:name="android.intent.action.MAIN" /> 1986 <category android:name="android.intent.category.SAMPLE_CODE" /> 1987 </intent-filter> 1988 </activity> 1989 1990 <activity android:name=".view.Visibility1" android:label="Views/Visibility"> 1991 <intent-filter> 1992 <action android:name="android.intent.action.MAIN" /> 1993 <category android:name="android.intent.category.SAMPLE_CODE" /> 1994 </intent-filter> 1995 </activity> 1996 1997 <activity android:name=".view.List1" android:label="Views/Lists/01. Array"> 1998 <intent-filter> 1999 <action android:name="android.intent.action.MAIN" /> 2000 <category android:name="android.intent.category.SAMPLE_CODE" /> 2001 </intent-filter> 2002 </activity> 2003 2004 <activity android:name=".view.List2" android:label="Views/Lists/02. Cursor (People)"> 2005 <intent-filter> 2006 <action android:name="android.intent.action.MAIN" /> 2007 <category android:name="android.intent.category.SAMPLE_CODE" /> 2008 </intent-filter> 2009 </activity> 2010 2011 <activity android:name=".view.List3" android:label="Views/Lists/03. Cursor (Phones)"> 2012 <intent-filter> 2013 <action android:name="android.intent.action.MAIN" /> 2014 <category android:name="android.intent.category.SAMPLE_CODE" /> 2015 </intent-filter> 2016 </activity> 2017 2018 <activity android:name=".view.List4" android:label="Views/Lists/04. ListAdapter"> 2019 <intent-filter> 2020 <action android:name="android.intent.action.MAIN" /> 2021 <category android:name="android.intent.category.SAMPLE_CODE" /> 2022 </intent-filter> 2023 </activity> 2024 2025 <activity android:name=".view.List5" android:label="Views/Lists/05. Separators"> 2026 <intent-filter> 2027 <action android:name="android.intent.action.MAIN" /> 2028 <category android:name="android.intent.category.SAMPLE_CODE" /> 2029 </intent-filter> 2030 </activity> 2031 2032 <activity android:name=".view.List6" android:label="Views/Lists/06. ListAdapter Collapsed"> 2033 <intent-filter> 2034 <action android:name="android.intent.action.MAIN" /> 2035 <category android:name="android.intent.category.SAMPLE_CODE" /> 2036 </intent-filter> 2037 </activity> 2038 2039 <activity android:name=".view.List7" android:label="Views/Lists/07. Cursor (Phones)"> 2040 <intent-filter> 2041 <action android:name="android.intent.action.MAIN" /> 2042 <category android:name="android.intent.category.SAMPLE_CODE" /> 2043 </intent-filter> 2044 </activity> 2045 2046 <activity android:name=".view.List8" android:label="Views/Lists/08. Photos"> 2047 <intent-filter> 2048 <action android:name="android.intent.action.MAIN" /> 2049 <category android:name="android.intent.category.SAMPLE_CODE" /> 2050 </intent-filter> 2051 </activity> 2052 2053 <activity android:name=".view.List9" android:label="Views/Lists/09. Array (Overlay)"> 2054 <intent-filter> 2055 <action android:name="android.intent.action.MAIN" /> 2056 <category android:name="android.intent.category.SAMPLE_CODE" /> 2057 </intent-filter> 2058 </activity> 2059 2060 <activity android:name=".view.List10" android:label="Views/Lists/10. Single choice list"> 2061 <intent-filter> 2062 <action android:name="android.intent.action.MAIN" /> 2063 <category android:name="android.intent.category.SAMPLE_CODE" /> 2064 </intent-filter> 2065 </activity> 2066 2067 <activity android:name=".view.List11" android:label="Views/Lists/11. Multiple choice list"> 2068 <intent-filter> 2069 <action android:name="android.intent.action.MAIN" /> 2070 <category android:name="android.intent.category.SAMPLE_CODE" /> 2071 </intent-filter> 2072 </activity> 2073 2074 <activity android:name=".view.List12" android:label="Views/Lists/12. Transcript"> 2075 <intent-filter> 2076 <action android:name="android.intent.action.MAIN" /> 2077 <category android:name="android.intent.category.SAMPLE_CODE" /> 2078 </intent-filter> 2079 </activity> 2080 2081 <activity android:name=".view.List13" android:label="Views/Lists/13. Slow Adapter"> 2082 <intent-filter> 2083 <action android:name="android.intent.action.MAIN" /> 2084 <category android:name="android.intent.category.SAMPLE_CODE" /> 2085 </intent-filter> 2086 </activity> 2087 2088 <activity android:name=".view.List14" android:label="Views/Lists/14. Efficient Adapter"> 2089 <intent-filter> 2090 <action android:name="android.intent.action.MAIN" /> 2091 <category android:name="android.intent.category.SAMPLE_CODE" /> 2092 </intent-filter> 2093 </activity> 2094 2095 <activity android:name=".view.List15" android:label="Views/Lists/15. Selection Mode"> 2096 <intent-filter> 2097 <action android:name="android.intent.action.MAIN" /> 2098 <category android:name="android.intent.category.SAMPLE_CODE" /> 2099 </intent-filter> 2100 </activity> 2101 2102 <activity android:name=".view.List16" android:label="Views/Lists/16. Border selection mode"> 2103 <intent-filter> 2104 <action android:name="android.intent.action.MAIN" /> 2105 <category android:name="android.intent.category.SAMPLE_CODE" /> 2106 </intent-filter> 2107 </activity> 2108 2109 <activity android:name=".view.List17" android:label="Views/Lists/17. Activate items"> 2110 <intent-filter> 2111 <action android:name="android.intent.action.MAIN" /> 2112 <category android:name="android.intent.category.SAMPLE_CODE" /> 2113 </intent-filter> 2114 </activity> 2115 2116 <activity android:name=".view.ExpandableList1" android:label="Views/Expandable Lists/1. Custom Adapter"> 2117 <intent-filter> 2118 <action android:name="android.intent.action.MAIN" /> 2119 <category android:name="android.intent.category.SAMPLE_CODE" /> 2120 </intent-filter> 2121 </activity> 2122 2123 <activity android:name=".view.ExpandableList2" android:label="Views/Expandable Lists/2. Cursor (People)"> 2124 <intent-filter> 2125 <action android:name="android.intent.action.MAIN" /> 2126 <category android:name="android.intent.category.SAMPLE_CODE" /> 2127 </intent-filter> 2128 </activity> 2129 2130 <activity android:name=".view.ExpandableList3" android:label="Views/Expandable Lists/3. Simple Adapter"> 2131 <intent-filter> 2132 <action android:name="android.intent.action.MAIN" /> 2133 <category android:name="android.intent.category.SAMPLE_CODE" /> 2134 </intent-filter> 2135 </activity> 2136 2137 <activity android:name=".view.CustomView1" 2138 android:label="Views/Custom" 2139 android:theme="@android:style/Theme.Light"> 2140 <intent-filter> 2141 <action android:name="android.intent.action.MAIN" /> 2142 <category android:name="android.intent.category.SAMPLE_CODE" /> 2143 </intent-filter> 2144 </activity> 2145 2146 <activity android:name=".view.Spinner1" android:label="Views/Spinner"> 2147 <intent-filter> 2148 <action android:name="android.intent.action.MAIN" /> 2149 <category android:name="android.intent.category.SAMPLE_CODE" /> 2150 </intent-filter> 2151 </activity> 2152 2153 <activity android:name=".view.Grid1" android:label="Views/Grid/1. Icon Grid"> 2154 <intent-filter> 2155 <action android:name="android.intent.action.MAIN" /> 2156 <category android:name="android.intent.category.SAMPLE_CODE" /> 2157 </intent-filter> 2158 </activity> 2159 2160 <activity android:name=".view.Grid2" android:label="Views/Grid/2. Photo Grid"> 2161 <intent-filter> 2162 <action android:name="android.intent.action.MAIN" /> 2163 <category android:name="android.intent.category.SAMPLE_CODE" /> 2164 </intent-filter> 2165 </activity> 2166 2167 <activity android:name=".view.Grid3" 2168 android:label="Views/Grid/3. Selection Mode"> 2169 <intent-filter> 2170 <action android:name="android.intent.action.MAIN" /> 2171 <category android:name="android.intent.category.SAMPLE_CODE" /> 2172 </intent-filter> 2173 </activity> 2174 2175 <activity android:name=".view.ImageView1" 2176 android:label="Views/ImageView"> 2177 <intent-filter> 2178 <action android:name="android.intent.action.MAIN" /> 2179 <category android:name="android.intent.category.SAMPLE_CODE" /> 2180 </intent-filter> 2181 </activity> 2182 2183 <activity android:name=".inputmethod.ShowInputMethodAndSubtypeEnabler" 2184 android:label="Views/Input Method/ShowInputMethodAndSubtypeEnabler"> 2185 <intent-filter> 2186 <action android:name="android.intent.action.MAIN" /> 2187 <category android:name="android.intent.category.SAMPLE_CODE" /> 2188 </intent-filter> 2189 </activity> 2190 2191 <activity android:name=".inputmethod.HintLocales" 2192 android:label="Views/Input Method/HintLocales"> 2193 <intent-filter> 2194 <action android:name="android.intent.action.MAIN" /> 2195 <category android:name="android.intent.category.SAMPLE_CODE" /> 2196 </intent-filter> 2197 </activity> 2198 2199 <activity android:name=".view.EditTextDemo" 2200 android:label="Views/Text/EditText"> 2201 <intent-filter> 2202 <action android:name="android.intent.action.MAIN" /> 2203 <category android:name="android.intent.category.SAMPLE_CODE" /> 2204 </intent-filter> 2205 </activity> 2206 2207 <activity android:name=".text.Link" 2208 android:label="Views/Text/Linkify"> 2209 <intent-filter> 2210 <action android:name="android.intent.action.MAIN" /> 2211 <category android:name="android.intent.category.SAMPLE_CODE" /> 2212 </intent-filter> 2213 </activity> 2214 2215 <activity android:name=".text.LogTextBox1" 2216 android:label="Views/Text/LogTextBox"> 2217 <intent-filter> 2218 <action android:name="android.intent.action.MAIN" /> 2219 <category android:name="android.intent.category.SAMPLE_CODE" /> 2220 </intent-filter> 2221 </activity> 2222 2223 <activity android:name=".text.Marquee" 2224 android:label="Views/Text/Marquee"> 2225 <intent-filter> 2226 <action android:name="android.intent.action.MAIN" /> 2227 <category android:name="android.intent.category.SAMPLE_CODE" /> 2228 </intent-filter> 2229 </activity> 2230 2231 <activity android:name=".view.TextClockDemo" 2232 android:label="Views/Text/TextClock"> 2233 <intent-filter> 2234 <action android:name="android.intent.action.MAIN" /> 2235 <category android:name="android.intent.category.SAMPLE_CODE" /> 2236 </intent-filter> 2237 </activity> 2238 2239 <activity android:name=".view.TextSwitcher1" 2240 android:label="Views/Text/TextSwitcher"> 2241 <intent-filter> 2242 <action android:name="android.intent.action.MAIN" /> 2243 <category android:name="android.intent.category.SAMPLE_CODE" /> 2244 </intent-filter> 2245 </activity> 2246 2247 <activity android:name=".view.TextViewDemo" 2248 android:label="Views/Text/TextView"> 2249 <intent-filter> 2250 <action android:name="android.intent.action.MAIN" /> 2251 <category android:name="android.intent.category.SAMPLE_CODE" /> 2252 </intent-filter> 2253 </activity> 2254 2255 <activity android:name=".view.ImageButton1" 2256 android:label="Views/ImageButton"> 2257 <intent-filter> 2258 <action android:name="android.intent.action.MAIN" /> 2259 <category android:name="android.intent.category.SAMPLE_CODE" /> 2260 </intent-filter> 2261 </activity> 2262 2263 <activity android:name=".view.Animation1" android:label="Views/Animation/Shake"> 2264 <intent-filter> 2265 <action android:name="android.intent.action.MAIN" /> 2266 <category android:name="android.intent.category.SAMPLE_CODE" /> 2267 </intent-filter> 2268 </activity> 2269 2270 <activity android:name=".view.Animation2" android:label="Views/Animation/Push"> 2271 <intent-filter> 2272 <action android:name="android.intent.action.MAIN" /> 2273 <category android:name="android.intent.category.SAMPLE_CODE" /> 2274 </intent-filter> 2275 </activity> 2276 2277 <activity android:name=".view.Animation3" android:label="Views/Animation/Interpolators"> 2278 <intent-filter> 2279 <action android:name="android.intent.action.MAIN" /> 2280 <category android:name="android.intent.category.SAMPLE_CODE" /> 2281 </intent-filter> 2282 </activity> 2283 2284 <activity android:name=".view.LayoutAnimation1" android:label="Views/Layout Animation/1. Grid Fade"> 2285 <intent-filter> 2286 <action android:name="android.intent.action.MAIN" /> 2287 <category android:name="android.intent.category.SAMPLE_CODE" /> 2288 </intent-filter> 2289 </activity> 2290 2291 <activity android:name=".view.LayoutAnimation2" android:label="Views/Layout Animation/2. List Cascade"> 2292 <intent-filter> 2293 <action android:name="android.intent.action.MAIN" /> 2294 <category android:name="android.intent.category.SAMPLE_CODE" /> 2295 </intent-filter> 2296 </activity> 2297 2298 <activity android:name=".view.LayoutAnimation3" android:label="Views/Layout Animation/3. Reverse Order"> 2299 <intent-filter> 2300 <action android:name="android.intent.action.MAIN" /> 2301 <category android:name="android.intent.category.SAMPLE_CODE" /> 2302 </intent-filter> 2303 </activity> 2304 2305 <activity android:name=".view.LayoutAnimation4" android:label="Views/Layout Animation/4. Randomize"> 2306 <intent-filter> 2307 <action android:name="android.intent.action.MAIN" /> 2308 <category android:name="android.intent.category.SAMPLE_CODE" /> 2309 </intent-filter> 2310 </activity> 2311 2312 <activity android:name=".view.LayoutAnimation5" android:label="Views/Layout Animation/5. Grid Direction"> 2313 <intent-filter> 2314 <action android:name="android.intent.action.MAIN" /> 2315 <category android:name="android.intent.category.SAMPLE_CODE" /> 2316 </intent-filter> 2317 </activity> 2318 2319 <activity android:name=".view.LayoutAnimation6" android:label="Views/Layout Animation/6. Wave Scale"> 2320 <intent-filter> 2321 <action android:name="android.intent.action.MAIN" /> 2322 <category android:name="android.intent.category.SAMPLE_CODE" /> 2323 </intent-filter> 2324 </activity> 2325 2326 <activity android:name=".view.LayoutAnimation7" android:label="Views/Layout Animation/7. Nested Animations"> 2327 <intent-filter> 2328 <action android:name="android.intent.action.MAIN" /> 2329 <category android:name="android.intent.category.SAMPLE_CODE" /> 2330 </intent-filter> 2331 </activity> 2332 2333 <activity android:name=".view.Controls1" 2334 android:label="Views/Controls/1. Light Theme" 2335 android:theme="@android:style/Theme.Light"> 2336 <intent-filter> 2337 <action android:name="android.intent.action.MAIN" /> 2338 <category android:name="android.intent.category.SAMPLE_CODE" /> 2339 </intent-filter> 2340 </activity> 2341 2342 <activity android:name=".view.Controls2" 2343 android:label="Views/Controls/2. Dark Theme" 2344 android:theme="@android:style/Theme"> 2345 <intent-filter> 2346 <action android:name="android.intent.action.MAIN" /> 2347 <category android:name="android.intent.category.SAMPLE_CODE" /> 2348 </intent-filter> 2349 </activity> 2350 2351 <activity android:name=".view.Controls3" 2352 android:label="Views/Controls/3. Holo Light Theme" 2353 android:theme="@android:style/Theme.Holo.Light" 2354 android:enabled="@bool/atLeastHoneycomb"> 2355 <intent-filter> 2356 <action android:name="android.intent.action.MAIN" /> 2357 <category android:name="android.intent.category.SAMPLE_CODE" /> 2358 </intent-filter> 2359 </activity> 2360 2361 <activity android:name=".view.Controls4" 2362 android:label="Views/Controls/4. Holo Dark Theme" 2363 android:theme="@android:style/Theme.Holo" 2364 android:enabled="@bool/atLeastHoneycomb"> 2365 <intent-filter> 2366 <action android:name="android.intent.action.MAIN" /> 2367 <category android:name="android.intent.category.SAMPLE_CODE" /> 2368 </intent-filter> 2369 </activity> 2370 2371 <activity android:name=".view.ControlsMaterialLight" 2372 android:label="Views/Controls/5. Material Light Theme" 2373 android:theme="@android:style/Theme.Material.Light" 2374 android:enabled="@bool/atLeastLRelease"> 2375 <intent-filter> 2376 <action android:name="android.intent.action.MAIN" /> 2377 <category android:name="android.intent.category.SAMPLE_CODE" /> 2378 </intent-filter> 2379 </activity> 2380 2381 <activity android:name=".view.ControlsMaterialDark" 2382 android:label="Views/Controls/6. Material Dark Theme" 2383 android:theme="@android:style/Theme.Material" 2384 android:enabled="@bool/atLeastLRelease"> 2385 <intent-filter> 2386 <action android:name="android.intent.action.MAIN" /> 2387 <category android:name="android.intent.category.SAMPLE_CODE" /> 2388 </intent-filter> 2389 </activity> 2390 2391 <activity android:name=".view.Controls7" 2392 android:label="Views/Controls/7. Custom Theme" 2393 android:theme="@style/CustomTheme"> 2394 <intent-filter> 2395 <action android:name="android.intent.action.MAIN" /> 2396 <category android:name="android.intent.category.SAMPLE_CODE" /> 2397 </intent-filter> 2398 </activity> 2399 2400 <activity android:name=".view.Controls8" 2401 android:label="Views/Controls/8. Current or Old Theme" 2402 android:theme="@style/ThemeCurrent"> 2403 <intent-filter> 2404 <action android:name="android.intent.action.MAIN" /> 2405 <category android:name="android.intent.category.SAMPLE_CODE" /> 2406 </intent-filter> 2407 </activity> 2408 2409 <activity android:name=".view.Controls9" 2410 android:label="Views/Controls/9. Default Theme"> 2411 <intent-filter> 2412 <action android:name="android.intent.action.MAIN" /> 2413 <category android:name="android.intent.category.SAMPLE_CODE" /> 2414 </intent-filter> 2415 </activity> 2416 2417 <activity android:name=".view.Buttons1" 2418 android:label="Views/Buttons"> 2419 <intent-filter> 2420 <action android:name="android.intent.action.MAIN" /> 2421 <category android:name="android.intent.category.SAMPLE_CODE" /> 2422 </intent-filter> 2423 </activity> 2424 2425 <activity android:name=".view.AutoComplete1" android:label="Views/Auto Complete/1. Screen Top"> 2426 <intent-filter> 2427 <action android:name="android.intent.action.MAIN" /> 2428 <category android:name="android.intent.category.SAMPLE_CODE" /> 2429 </intent-filter> 2430 </activity> 2431 2432 <activity android:name=".view.AutoComplete2" android:label="Views/Auto Complete/2. Screen Bottom"> 2433 <intent-filter> 2434 <action android:name="android.intent.action.MAIN" /> 2435 <category android:name="android.intent.category.SAMPLE_CODE" /> 2436 </intent-filter> 2437 </activity> 2438 2439 <activity android:name=".view.AutoComplete3" android:label="Views/Auto Complete/3. Scroll"> 2440 <intent-filter> 2441 <action android:name="android.intent.action.MAIN" /> 2442 <category android:name="android.intent.category.SAMPLE_CODE" /> 2443 </intent-filter> 2444 </activity> 2445 2446 <activity android:name=".view.AutoComplete4" android:label="Views/Auto Complete/4. Contacts"> 2447 <intent-filter> 2448 <action android:name="android.intent.action.MAIN" /> 2449 <category android:name="android.intent.category.SAMPLE_CODE" /> 2450 </intent-filter> 2451 </activity> 2452 2453 <activity android:name=".view.AutoComplete5" android:label="Views/Auto Complete/5. Contacts with Hint"> 2454 <intent-filter> 2455 <action android:name="android.intent.action.MAIN" /> 2456 <category android:name="android.intent.category.SAMPLE_CODE" /> 2457 </intent-filter> 2458 </activity> 2459 2460 <activity android:name=".view.AutoComplete6" android:label="Views/Auto Complete/6. Multiple items"> 2461 <intent-filter> 2462 <action android:name="android.intent.action.MAIN" /> 2463 <category android:name="android.intent.category.SAMPLE_CODE" /> 2464 </intent-filter> 2465 </activity> 2466 2467 <activity android:name=".view.ProgressBar1" android:label="Views/Progress Bar/1. Incremental"> 2468 <intent-filter> 2469 <action android:name="android.intent.action.MAIN" /> 2470 <category android:name="android.intent.category.SAMPLE_CODE" /> 2471 </intent-filter> 2472 </activity> 2473 2474 <activity android:name=".view.ProgressBar2" android:label="Views/Progress Bar/2. Smooth"> 2475 <intent-filter> 2476 <action android:name="android.intent.action.MAIN" /> 2477 <category android:name="android.intent.category.SAMPLE_CODE" /> 2478 </intent-filter> 2479 </activity> 2480 2481 <activity android:name=".view.ProgressBar3" android:label="Views/Progress Bar/3. Dialogs"> 2482 <intent-filter> 2483 <action android:name="android.intent.action.MAIN" /> 2484 <category android:name="android.intent.category.SAMPLE_CODE" /> 2485 </intent-filter> 2486 </activity> 2487 2488 <activity android:name=".view.SeekBar1" android:label="Views/Seek Bar"> 2489 <intent-filter> 2490 <action android:name="android.intent.action.MAIN" /> 2491 <category android:name="android.intent.category.SAMPLE_CODE" /> 2492 </intent-filter> 2493 </activity> 2494 2495 <activity android:name=".view.NumberPickerActivity" android:label="Views/Number Picker"> 2496 <intent-filter> 2497 <action android:name="android.intent.action.MAIN" /> 2498 <category android:name="android.intent.category.SAMPLE_CODE" /> 2499 </intent-filter> 2500 </activity> 2501 2502 <activity android:name=".view.OverlayWindowActivity" android:label="Views/Overlay Window"> 2503 <intent-filter> 2504 <action android:name="android.intent.action.MAIN" /> 2505 <category android:name="android.intent.category.SAMPLE_CODE" /> 2506 </intent-filter> 2507 </activity> 2508 2509 <activity android:name=".view.RatingBar1" android:label="Views/Rating Bar"> 2510 <intent-filter> 2511 <action android:name="android.intent.action.MAIN" /> 2512 <category android:name="android.intent.category.SAMPLE_CODE" /> 2513 </intent-filter> 2514 </activity> 2515 2516 <activity android:name=".view.Focus1" android:label="Views/Focus/1. Vertical"> 2517 <intent-filter> 2518 <action android:name="android.intent.action.MAIN" /> 2519 <category android:name="android.intent.category.SAMPLE_CODE" /> 2520 </intent-filter> 2521 </activity> 2522 2523 <activity android:name=".view.Focus2" android:label="Views/Focus/2. Horizontal"> 2524 <intent-filter> 2525 <action android:name="android.intent.action.MAIN" /> 2526 <category android:name="android.intent.category.SAMPLE_CODE" /> 2527 </intent-filter> 2528 </activity> 2529 2530 <activity android:name=".view.Focus3" android:label="Views/Focus/3. Circular"> 2531 <intent-filter> 2532 <action android:name="android.intent.action.MAIN" /> 2533 <category android:name="android.intent.category.SAMPLE_CODE" /> 2534 </intent-filter> 2535 </activity> 2536 2537 <activity android:name=".view.InternalSelectionFocus" android:label="Views/Focus/4. Internal Selection"> 2538 <intent-filter> 2539 <action android:name="android.intent.action.MAIN" /> 2540 <category android:name="android.intent.category.SAMPLE_CODE" /> 2541 </intent-filter> 2542 </activity> 2543 2544 <activity android:name=".view.Focus5" android:label="Views/Focus/5. Sequential (Tab Order)"> 2545 <intent-filter> 2546 <action android:name="android.intent.action.MAIN" /> 2547 <category android:name="android.intent.category.SAMPLE_CODE" /> 2548 </intent-filter> 2549 </activity> 2550 2551 <activity android:name=".view.WindowFocusObserver" 2552 android:label="Views/Focus/6. Window Focus Observer"> 2553 <intent-filter> 2554 <action android:name="android.intent.action.MAIN" /> 2555 <category android:name="android.intent.category.SAMPLE_CODE" /> 2556 </intent-filter> 2557 </activity> 2558 2559 <activity android:name=".view.DateWidgets1" android:label="Views/Date Widgets/1. Dialog"> 2560 <intent-filter> 2561 <action android:name="android.intent.action.MAIN" /> 2562 <category android:name="android.intent.category.SAMPLE_CODE" /> 2563 </intent-filter> 2564 </activity> 2565 2566 <activity android:name=".view.DateWidgets2" android:label="Views/Date Widgets/2. Inline"> 2567 <intent-filter> 2568 <action android:name="android.intent.action.MAIN" /> 2569 <category android:name="android.intent.category.SAMPLE_CODE" /> 2570 </intent-filter> 2571 </activity> 2572 2573 <activity android:name=".view.PopupMenu1" android:label="Views/Popup Menu"> 2574 <intent-filter> 2575 <action android:name="android.intent.action.MAIN" /> 2576 <category android:name="android.intent.category.SAMPLE_CODE" /> 2577 </intent-filter> 2578 </activity> 2579 2580 <activity android:name=".view.SearchViewActionBar" android:label="Views/Search View/Action Bar" 2581 android:theme="@android:style/Theme.Holo"> 2582 <intent-filter> 2583 <action android:name="android.intent.action.MAIN" /> 2584 <category android:name="android.intent.category.SAMPLE_CODE" /> 2585 </intent-filter> 2586 <meta-data android:name="android.app.default_searchable" 2587 android:value=".app.SearchQueryResults" /> 2588 </activity> 2589 2590 <activity android:name=".view.SearchViewAlwaysVisible" android:label="Views/Search View/Always Expanded" 2591 android:theme="@android:style/Theme.Holo"> 2592 <intent-filter> 2593 <action android:name="android.intent.action.MAIN" /> 2594 <category android:name="android.intent.category.SAMPLE_CODE" /> 2595 </intent-filter> 2596 <meta-data android:name="android.app.default_searchable" 2597 android:value=".app.SearchQueryResults" /> 2598 </activity> 2599 2600 <activity android:name=".view.SearchViewFilterMode" android:label="Views/Search View/Filter" 2601 android:theme="@android:style/Theme.Holo"> 2602 <intent-filter> 2603 <action android:name="android.intent.action.MAIN" /> 2604 <category android:name="android.intent.category.SAMPLE_CODE" /> 2605 </intent-filter> 2606 </activity> 2607 2608 <activity android:name=".view.RotatingButton" android:label="Views/Rotating Button"> 2609 <intent-filter> 2610 <action android:name="android.intent.action.MAIN" /> 2611 <category android:name="android.intent.category.SAMPLE_CODE" /> 2612 </intent-filter> 2613 </activity> 2614 2615 <activity android:name=".view.SecureView" android:label="Views/Secure View"> 2616 <intent-filter> 2617 <action android:name="android.intent.action.MAIN" /> 2618 <category android:name="android.intent.category.SAMPLE_CODE" /> 2619 </intent-filter> 2620 </activity> 2621 2622 <activity android:name=".view.SplitTouchView" android:label="Views/Splitting Touches across Views"> 2623 <intent-filter> 2624 <action android:name="android.intent.action.MAIN" /> 2625 <category android:name="android.intent.category.SAMPLE_CODE" /> 2626 </intent-filter> 2627 </activity> 2628 2629 <activity android:name=".view.DragAndDropDemo" 2630 android:label="Views/Drag and Drop" 2631 android:hardwareAccelerated="false" 2632 android:enabled="@bool/atLeastHoneycomb"> 2633 <intent-filter> 2634 <action android:name="android.intent.action.MAIN" /> 2635 <category android:name="android.intent.category.SAMPLE_CODE" /> 2636 </intent-filter> 2637 </activity> 2638 2639 <activity android:name=".view.GameControllerInput" android:label="Views/Game Controller Input"> 2640 <intent-filter> 2641 <action android:name="android.intent.action.MAIN" /> 2642 <category android:name="android.intent.category.SAMPLE_CODE" /> 2643 </intent-filter> 2644 </activity> 2645 2646 <activity android:name=".view.Hover" android:label="Views/Hover Events"> 2647 <intent-filter> 2648 <action android:name="android.intent.action.MAIN" /> 2649 <category android:name="android.intent.category.SAMPLE_CODE" /> 2650 </intent-filter> 2651 </activity> 2652 2653 <activity android:name=".view.SystemUIModes" 2654 android:label="Views/System UI Visibility/System UI Modes" 2655 android:uiOptions="splitActionBarWhenNarrow" 2656 android:enabled="@bool/atLeastJellyBeanMR2"> 2657 <intent-filter> 2658 <action android:name="android.intent.action.MAIN" /> 2659 <category android:name="android.intent.category.SAMPLE_CODE" /> 2660 </intent-filter> 2661 </activity> 2662 2663 <activity android:name=".view.SystemUIModesOverlay" 2664 android:label="Views/System UI Visibility/System UI Modes Overlay" 2665 android:uiOptions="splitActionBarWhenNarrow" 2666 android:enabled="@bool/atLeastJellyBean"> 2667 <intent-filter> 2668 <action android:name="android.intent.action.MAIN" /> 2669 <category android:name="android.intent.category.SAMPLE_CODE" /> 2670 </intent-filter> 2671 </activity> 2672 2673 <activity android:name=".view.ContentBrowserActivity" 2674 android:label="Views/System UI Visibility/Content Browser" 2675 android:theme="@android:style/Theme.Holo.Light.DarkActionBar" 2676 android:uiOptions="splitActionBarWhenNarrow" 2677 android:enabled="@bool/atLeastJellyBean"> 2678 <intent-filter> 2679 <action android:name="android.intent.action.MAIN" /> 2680 <category android:name="android.intent.category.SAMPLE_CODE" /> 2681 </intent-filter> 2682 </activity> 2683 2684 <activity android:name=".view.ContentBrowserNavActivity" 2685 android:label="Views/System UI Visibility/Content Browser Nav Bar" 2686 android:theme="@android:style/Theme.Holo.Light.DarkActionBar" 2687 android:uiOptions="splitActionBarWhenNarrow" 2688 android:enabled="@bool/atLeastKitKat"> 2689 <intent-filter> 2690 <action android:name="android.intent.action.MAIN" /> 2691 <category android:name="android.intent.category.SAMPLE_CODE" /> 2692 </intent-filter> 2693 </activity> 2694 2695 <activity android:name=".view.VideoPlayerActivity" 2696 android:label="Views/System UI Visibility/Video Player" 2697 android:theme="@android:style/Theme.Holo" 2698 android:uiOptions="splitActionBarWhenNarrow" 2699 android:enabled="@bool/atLeastJellyBean"> 2700 <intent-filter> 2701 <action android:name="android.intent.action.MAIN" /> 2702 <category android:name="android.intent.category.SAMPLE_CODE" /> 2703 </intent-filter> 2704 </activity> 2705 2706 <activity android:name=".view.TranslucentBarsActivity" 2707 android:label="Views/System UI Visibility/Translucent Bars" 2708 android:theme="@android:style/Theme.Holo.NoActionBar.TranslucentDecor" 2709 android:enabled="@bool/atLeastKitKat"> 2710 <intent-filter> 2711 <action android:name="android.intent.action.MAIN" /> 2712 <category android:name="android.intent.category.SAMPLE_CODE" /> 2713 </intent-filter> 2714 </activity> 2715 2716 <activity android:name=".view.GameActivity" 2717 android:label="Views/System UI Visibility/Game" 2718 android:theme="@android:style/Theme.Holo.NoActionBar" 2719 android:enabled="@bool/atLeastKitKat"> 2720 <intent-filter> 2721 <action android:name="android.intent.action.MAIN" /> 2722 <category android:name="android.intent.category.SAMPLE_CODE" /> 2723 </intent-filter> 2724 </activity> 2725 2726 <activity android:name=".view.Switches" android:label="Views/Switches"> 2727 <intent-filter> 2728 <action android:name="android.intent.action.MAIN" /> 2729 <category android:name="android.intent.category.SAMPLE_CODE" /> 2730 </intent-filter> 2731 </activity> 2732 2733 <activity android:name=".view.PointerShapes" android:label="Views/Pointer shapes"> 2734 <intent-filter> 2735 <action android:name="android.intent.action.MAIN" /> 2736 <category android:name="android.intent.category.SAMPLE_CODE" /> 2737 </intent-filter> 2738 </activity> 2739 2740 <activity android:name=".view.Tooltips" android:label="Views/Tooltips"> 2741 <intent-filter> 2742 <action android:name="android.intent.action.MAIN" /> 2743 <category android:name="android.intent.category.SAMPLE_CODE" /> 2744 </intent-filter> 2745 </activity> 2746 2747 <!-- ************************************* --> 2748 <!-- GRAPHICS SAMPLES --> 2749 <!-- ************************************* --> 2750 2751 <activity android:name=".graphics.kube.Kube" android:label="Graphics/OpenGL ES/Kube" 2752 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2753 <intent-filter> 2754 <action android:name="android.intent.action.MAIN" /> 2755 <category android:name="android.intent.category.SAMPLE_CODE" /> 2756 </intent-filter> 2757 </activity> 2758 2759 <activity android:name=".graphics.Compass" android:label="Graphics/Compass"> 2760 <intent-filter> 2761 <action android:name="android.intent.action.MAIN" /> 2762 <category android:name="android.intent.category.SAMPLE_CODE" /> 2763 </intent-filter> 2764 </activity> 2765 2766 <activity android:name=".graphics.CameraPreview" android:label="Graphics/CameraPreview" android:screenOrientation="landscape"> 2767 <intent-filter> 2768 <action android:name="android.intent.action.MAIN" /> 2769 <category android:name="android.intent.category.SAMPLE_CODE" /> 2770 </intent-filter> 2771 </activity> 2772 2773 <activity android:name=".graphics.CompressedTextureActivity" 2774 android:label="Graphics/OpenGL ES/Compressed Texture" 2775 android:theme="@android:style/Theme.NoTitleBar" 2776 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2777 <intent-filter> 2778 <action android:name="android.intent.action.MAIN" /> 2779 <category android:name="android.intent.category.SAMPLE_CODE" /> 2780 </intent-filter> 2781 </activity> 2782 2783 <activity android:name=".graphics.CubeMapActivity" 2784 android:label="Graphics/OpenGL ES/Cube Map" 2785 android:theme="@android:style/Theme.NoTitleBar" 2786 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2787 <intent-filter> 2788 <action android:name="android.intent.action.MAIN" /> 2789 <category android:name="android.intent.category.SAMPLE_CODE" /> 2790 </intent-filter> 2791 </activity> 2792 2793 2794 <activity android:name=".graphics.FrameBufferObjectActivity" 2795 android:label="Graphics/OpenGL ES/Frame Buffer Object" 2796 android:theme="@android:style/Theme.NoTitleBar" 2797 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2798 <intent-filter> 2799 <action android:name="android.intent.action.MAIN" /> 2800 <category android:name="android.intent.category.SAMPLE_CODE" /> 2801 </intent-filter> 2802 </activity> 2803 2804 <activity android:name=".graphics.GLSurfaceViewActivity" 2805 android:label="Graphics/OpenGL ES/GLSurfaceView" 2806 android:theme="@android:style/Theme.NoTitleBar" 2807 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2808 <intent-filter> 2809 <action android:name="android.intent.action.MAIN" /> 2810 <category android:name="android.intent.category.SAMPLE_CODE" /> 2811 </intent-filter> 2812 </activity> 2813 2814 <activity android:name=".graphics.GLES20Activity" 2815 android:label="Graphics/OpenGL ES/OpenGL ES 2.0" 2816 android:theme="@android:style/Theme.NoTitleBar" 2817 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2818 <intent-filter> 2819 <action android:name="android.intent.action.MAIN" /> 2820 <category android:name="android.intent.category.SAMPLE_CODE" /> 2821 </intent-filter> 2822 </activity> 2823 2824 <activity android:name=".graphics.MatrixPaletteActivity" 2825 android:label="Graphics/OpenGL ES/Matrix Palette Skinning" 2826 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2827 <intent-filter> 2828 <action android:name="android.intent.action.MAIN" /> 2829 <category android:name="android.intent.category.SAMPLE_CODE" /> 2830 </intent-filter> 2831 </activity> 2832 2833 <activity android:name=".graphics.TranslucentGLSurfaceViewActivity" 2834 android:label="Graphics/OpenGL ES/Translucent GLSurfaceView" 2835 android:theme="@style/Theme.Translucent" 2836 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2837 <intent-filter> 2838 <action android:name="android.intent.action.MAIN" /> 2839 <category android:name="android.intent.category.SAMPLE_CODE" /> 2840 </intent-filter> 2841 </activity> 2842 2843 <activity android:name=".graphics.TriangleActivity" 2844 android:label="Graphics/OpenGL ES/Textured Triangle" 2845 android:theme="@style/ThemeCurrentDialog" 2846 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2847 <intent-filter> 2848 <action android:name="android.intent.action.MAIN" /> 2849 <category android:name="android.intent.category.SAMPLE_CODE" /> 2850 </intent-filter> 2851 </activity> 2852 2853 <activity android:name=".graphics.spritetext.SpriteTextActivity" 2854 android:label="Graphics/OpenGL ES/Sprite Text" 2855 android:theme="@android:style/Theme.NoTitleBar" 2856 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2857 <intent-filter> 2858 <action android:name="android.intent.action.MAIN" /> 2859 <category android:name="android.intent.category.SAMPLE_CODE" /> 2860 </intent-filter> 2861 </activity> 2862 2863 <activity android:name=".graphics.TouchRotateActivity" 2864 android:label="Graphics/OpenGL ES/Touch Rotate" 2865 android:theme="@android:style/Theme.NoTitleBar" 2866 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2867 <intent-filter> 2868 <action android:name="android.intent.action.MAIN" /> 2869 <category android:name="android.intent.category.SAMPLE_CODE" /> 2870 </intent-filter> 2871 </activity> 2872 2873 <activity android:name=".graphics.PolyToPoly" android:label="Graphics/PolyToPoly"> 2874 <intent-filter> 2875 <action android:name="android.intent.action.MAIN" /> 2876 <category android:name="android.intent.category.SAMPLE_CODE" /> 2877 </intent-filter> 2878 </activity> 2879 2880 <activity android:name=".graphics.ScaleToFit" android:label="Graphics/ScaleToFit"> 2881 <intent-filter> 2882 <action android:name="android.intent.action.MAIN" /> 2883 <category android:name="android.intent.category.SAMPLE_CODE" /> 2884 </intent-filter> 2885 </activity> 2886 2887 <activity android:name=".graphics.RoundRects" android:label="Graphics/RoundRects"> 2888 <intent-filter> 2889 <action android:name="android.intent.action.MAIN" /> 2890 <category android:name="android.intent.category.SAMPLE_CODE" /> 2891 </intent-filter> 2892 </activity> 2893 2894 <activity android:name=".graphics.ShapeDrawable1" android:label="Graphics/Drawable/ShapeDrawable"> 2895 <intent-filter> 2896 <action android:name="android.intent.action.MAIN" /> 2897 <category android:name="android.intent.category.SAMPLE_CODE" /> 2898 </intent-filter> 2899 </activity> 2900 2901 <activity android:name=".graphics.SurfaceViewOverlay" 2902 android:label="Graphics/SurfaceView Overlay"> 2903 <intent-filter> 2904 <action android:name="android.intent.action.MAIN" /> 2905 <category android:name="android.intent.category.SAMPLE_CODE" /> 2906 </intent-filter> 2907 </activity> 2908 2909 <activity android:name=".graphics.ShadowCardStack" 2910 android:label="Graphics/Shadow Card Stack" 2911 android:theme="@android:style/Theme.Material.Light"> 2912 <intent-filter> 2913 <action android:name="android.intent.action.MAIN" /> 2914 <category android:name="android.intent.category.SAMPLE_CODE" /> 2915 </intent-filter> 2916 </activity> 2917 2918 <activity android:name=".graphics.ShadowCardDrag" 2919 android:label="Graphics/Shadow Card Drag" 2920 android:theme="@android:style/Theme.Material.Light"> 2921 <intent-filter> 2922 <action android:name="android.intent.action.MAIN" /> 2923 <category android:name="android.intent.category.SAMPLE_CODE" /> 2924 </intent-filter> 2925 </activity> 2926 2927 <activity android:name=".graphics.WindowSurface" 2928 android:label="Graphics/Surface Window"> 2929 <intent-filter> 2930 <action android:name="android.intent.action.MAIN" /> 2931 <category android:name="android.intent.category.SAMPLE_CODE" /> 2932 </intent-filter> 2933 </activity> 2934 2935 <activity android:hardwareAccelerated="false" 2936 android:name=".graphics.TextAlign" android:label="Graphics/Text Align"> 2937 <intent-filter> 2938 <action android:name="android.intent.action.MAIN" /> 2939 <category android:name="android.intent.category.SAMPLE_CODE" /> 2940 </intent-filter> 2941 </activity> 2942 2943 <activity android:name=".graphics.Arcs" android:label="Graphics/Arcs"> 2944 <intent-filter> 2945 <action android:name="android.intent.action.MAIN" /> 2946 <category android:name="android.intent.category.SAMPLE_CODE" /> 2947 </intent-filter> 2948 </activity> 2949 2950 <activity android:name=".graphics.Patterns" android:label="Graphics/Patterns"> 2951 <intent-filter> 2952 <action android:name="android.intent.action.MAIN" /> 2953 <category android:name="android.intent.category.SAMPLE_CODE" /> 2954 </intent-filter> 2955 </activity> 2956 2957 <activity android:hardwareAccelerated="false" 2958 android:name=".graphics.Clipping" android:label="Graphics/Clipping"> 2959 <intent-filter> 2960 <action android:name="android.intent.action.MAIN" /> 2961 <category android:name="android.intent.category.SAMPLE_CODE" /> 2962 </intent-filter> 2963 </activity> 2964 2965 <activity android:name=".graphics.Layers" android:label="Graphics/Layers"> 2966 <intent-filter> 2967 <action android:name="android.intent.action.MAIN" /> 2968 <category android:name="android.intent.category.SAMPLE_CODE" /> 2969 </intent-filter> 2970 </activity> 2971 2972 <activity android:hardwareAccelerated="false" 2973 android:name=".graphics.UnicodeChart" android:label="Graphics/UnicodeChart"> 2974 <intent-filter> 2975 <action android:name="android.intent.action.MAIN" /> 2976 <category android:name="android.intent.category.SAMPLE_CODE" /> 2977 </intent-filter> 2978 </activity> 2979 2980 <activity android:name=".graphics.PathFillTypes" android:label="Graphics/PathFillTypes"> 2981 <intent-filter> 2982 <action android:name="android.intent.action.MAIN" /> 2983 <category android:name="android.intent.category.SAMPLE_CODE" /> 2984 </intent-filter> 2985 </activity> 2986 2987 <activity android:hardwareAccelerated="false" 2988 android:name=".graphics.Pictures" android:label="Graphics/Pictures"> 2989 <intent-filter> 2990 <action android:name="android.intent.action.MAIN" /> 2991 <category android:name="android.intent.category.SAMPLE_CODE" /> 2992 </intent-filter> 2993 </activity> 2994 2995 <activity android:hardwareAccelerated="false" 2996 android:name=".graphics.Vertices" android:label="Graphics/Vertices"> 2997 <intent-filter> 2998 <action android:name="android.intent.action.MAIN" /> 2999 <category android:name="android.intent.category.SAMPLE_CODE" /> 3000 </intent-filter> 3001 </activity> 3002 3003 <activity android:name=".graphics.AnimateDrawables" android:label="Graphics/AnimateDrawables"> 3004 <intent-filter> 3005 <action android:name="android.intent.action.MAIN" /> 3006 <category android:name="android.intent.category.SAMPLE_CODE" /> 3007 </intent-filter> 3008 </activity> 3009 3010 <activity android:name=".graphics.SensorTest" android:label="Graphics/SensorTest"> 3011 <intent-filter> 3012 <action android:name="android.intent.action.MAIN" /> 3013 <category android:name="android.intent.category.SAMPLE_CODE" /> 3014 </intent-filter> 3015 </activity> 3016 3017 <activity android:name=".graphics.AlphaBitmap" android:label="Graphics/AlphaBitmap"> 3018 <intent-filter> 3019 <action android:name="android.intent.action.MAIN" /> 3020 <category android:name="android.intent.category.SAMPLE_CODE" /> 3021 </intent-filter> 3022 </activity> 3023 3024 <activity android:name=".graphics.Regions" android:label="Graphics/Regions"> 3025 <intent-filter> 3026 <action android:name="android.intent.action.MAIN" /> 3027 <category android:name="android.intent.category.SAMPLE_CODE" /> 3028 </intent-filter> 3029 </activity> 3030 3031 <activity android:name=".graphics.Sweep" android:label="Graphics/Sweep"> 3032 <intent-filter> 3033 <action android:name="android.intent.action.MAIN" /> 3034 <category android:name="android.intent.category.SAMPLE_CODE" /> 3035 </intent-filter> 3036 </activity> 3037 3038 <activity android:name=".graphics.BitmapMesh" android:label="Graphics/BitmapMesh"> 3039 <intent-filter> 3040 <action android:name="android.intent.action.MAIN" /> 3041 <category android:name="android.intent.category.SAMPLE_CODE" /> 3042 </intent-filter> 3043 </activity> 3044 3045 <activity android:name=".graphics.MeasureText" android:label="Graphics/MeasureText"> 3046 <intent-filter> 3047 <action android:name="android.intent.action.MAIN" /> 3048 <category android:name="android.intent.category.SAMPLE_CODE" /> 3049 </intent-filter> 3050 </activity> 3051 3052 <activity android:name=".graphics.Typefaces" android:label="Graphics/Typefaces"> 3053 <intent-filter> 3054 <action android:name="android.intent.action.MAIN" /> 3055 <category android:name="android.intent.category.SAMPLE_CODE" /> 3056 </intent-filter> 3057 </activity> 3058 3059 <activity android:name=".graphics.FingerPaint" android:label="Graphics/FingerPaint"> 3060 <intent-filter> 3061 <action android:name="android.intent.action.MAIN" /> 3062 <category android:name="android.intent.category.SAMPLE_CODE" /> 3063 </intent-filter> 3064 </activity> 3065 3066 <activity android:name=".graphics.ColorMatrixSample" android:label="Graphics/ColorMatrix"> 3067 <intent-filter> 3068 <action android:name="android.intent.action.MAIN" /> 3069 <category android:name="android.intent.category.SAMPLE_CODE" /> 3070 </intent-filter> 3071 </activity> 3072 3073 <activity android:hardwareAccelerated="false" 3074 android:name=".graphics.BitmapDecode" android:label="Graphics/BitmapDecode"> 3075 <intent-filter> 3076 <action android:name="android.intent.action.MAIN" /> 3077 <category android:name="android.intent.category.SAMPLE_CODE" /> 3078 </intent-filter> 3079 </activity> 3080 3081 <activity android:name=".graphics.ColorFilters" android:label="Graphics/ColorFilters"> 3082 <intent-filter> 3083 <action android:name="android.intent.action.MAIN" /> 3084 <category android:name="android.intent.category.SAMPLE_CODE" /> 3085 </intent-filter> 3086 </activity> 3087 3088 <activity android:name=".graphics.CreateBitmap" android:label="Graphics/CreateBitmap"> 3089 <intent-filter> 3090 <action android:name="android.intent.action.MAIN" /> 3091 <category android:name="android.intent.category.SAMPLE_CODE" /> 3092 </intent-filter> 3093 </activity> 3094 3095 <activity android:hardwareAccelerated="false" 3096 android:name=".graphics.DrawPoints" android:label="Graphics/Points"> 3097 <intent-filter> 3098 <action android:name="android.intent.action.MAIN" /> 3099 <category android:name="android.intent.category.SAMPLE_CODE" /> 3100 </intent-filter> 3101 </activity> 3102 3103 <activity android:name=".graphics.TouchPaint" android:label="Graphics/Touch Paint" 3104 android:theme="@style/Theme.Black" 3105 android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenLayout|screenSize|smallestScreenSize"> 3106 <intent-filter> 3107 <action android:name="android.intent.action.MAIN" /> 3108 <category android:name="android.intent.category.SAMPLE_CODE" /> 3109 </intent-filter> 3110 </activity> 3111 3112 <activity android:name=".graphics.BitmapPixels" android:label="Graphics/BitmapPixels"> 3113 <intent-filter> 3114 <action android:name="android.intent.action.MAIN" /> 3115 <category android:name="android.intent.category.SAMPLE_CODE" /> 3116 </intent-filter> 3117 </activity> 3118 3119 <activity android:name=".graphics.Xfermodes" android:label="Graphics/Xfermodes"> 3120 <intent-filter> 3121 <action android:name="android.intent.action.MAIN" /> 3122 <category android:name="android.intent.category.SAMPLE_CODE" /> 3123 </intent-filter> 3124 </activity> 3125 3126 <activity android:name=".graphics.PathEffects" android:label="Graphics/PathEffects"> 3127 <intent-filter> 3128 <action android:name="android.intent.action.MAIN" /> 3129 <category android:name="android.intent.category.SAMPLE_CODE" /> 3130 </intent-filter> 3131 </activity> 3132 3133 <activity android:name=".graphics.GradientDrawable1" android:label="Graphics/Drawable/GradientDrawable"> 3134 <intent-filter> 3135 <action android:name="android.intent.action.MAIN" /> 3136 <category android:name="android.intent.category.SAMPLE_CODE" /> 3137 </intent-filter> 3138 </activity> 3139 3140 <activity android:name=".graphics.PurgeableBitmap" android:label="Graphics/PurgeableBitmap/NonPurgeable"> 3141 <intent-filter> 3142 <action android:name="android.intent.action.MAIN" /> 3143 <category android:name="android.intent.category.SAMPLE_CODE" /> 3144 </intent-filter> 3145 </activity> 3146 3147 <activity-alias android:targetActivity=".graphics.PurgeableBitmap" android:name="Purgeable" android:label="Graphics/PurgeableBitmap/Purgeable"> 3148 <intent-filter> 3149 <action android:name="android.intent.action.MAIN" /> 3150 <category android:name="android.intent.category.SAMPLE_CODE" /> 3151 </intent-filter> 3152 </activity-alias> 3153 3154 <activity android:name=".graphics.DensityActivity" android:label="Graphics/Density"> 3155 <intent-filter> 3156 <action android:name="android.intent.action.MAIN" /> 3157 <category android:name="android.intent.category.SAMPLE_CODE" /> 3158 </intent-filter> 3159 </activity> 3160 3161 <!-- ************************************* --> 3162 <!-- MEDIA SAMPLES --> 3163 <!-- ************************************* --> 3164 3165 <activity android:name=".media.MediaPlayerDemo" android:label="Media/MediaPlayer"> 3166 <intent-filter> 3167 <action android:name="android.intent.action.MAIN" /> 3168 <category android:name="android.intent.category.SAMPLE_CODE" /> 3169 </intent-filter> 3170 </activity> 3171 3172 <activity android:name=".media.MediaPlayerDemo_Audio" android:label="Media/MediaPlayer"> 3173 <intent-filter> 3174 <category android:name="android.intent.category.SAMPLE_CODE" /> 3175 </intent-filter> 3176 </activity> 3177 3178 <activity android:name=".media.MediaPlayerDemo_Video" android:label="Media/MediaPlayer"> 3179 <intent-filter> 3180 <category android:name="android.intent.category.SAMPLE_CODE" /> 3181 </intent-filter> 3182 </activity> 3183 3184 <activity android:name=".media.VideoViewDemo" android:label="Media/VideoView"> 3185 <intent-filter> 3186 <action android:name="android.intent.action.MAIN" /> 3187 <category android:name="android.intent.category.SAMPLE_CODE" /> 3188 </intent-filter> 3189 </activity> 3190 3191 <activity android:name=".media.AudioFxDemo" android:label="Media/AudioFx"> 3192 <intent-filter> 3193 <action android:name="android.intent.action.MAIN" /> 3194 <category android:name="android.intent.category.SAMPLE_CODE" /> 3195 </intent-filter> 3196 </activity> 3197 3198 <activity android:name=".media.projection.MediaProjectionDemo" 3199 android:label="Media/MediaProjection"> 3200 <intent-filter> 3201 <action android:name="android.intent.action.MAIN" /> 3202 <category android:name="android.intent.category.SAMPLE_CODE" /> 3203 </intent-filter> 3204 </activity> 3205 3206 <!-- ************************************* --> 3207 <!-- APPWIDGET PACKAGE SAMPLES --> 3208 <!-- ************************************* --> 3209 3210 <receiver android:name=".appwidget.ExampleAppWidgetProvider"> 3211 <meta-data android:name="android.appwidget.provider" 3212 android:resource="@xml/appwidget_provider" /> 3213 <intent-filter> 3214 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> 3215 </intent-filter> 3216 </receiver> 3217 3218 <activity android:name=".appwidget.ExampleAppWidgetConfigure"> 3219 <intent-filter> 3220 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> 3221 </intent-filter> 3222 </activity> 3223 3224 <receiver android:name=".appwidget.ExampleBroadcastReceiver" android:enabled="false"> 3225 <intent-filter> 3226 <action android:name="android.intent.ACTION_TIMEZONE_CHANGED" /> 3227 <action android:name="android.intent.ACTION_TIME" /> 3228 </intent-filter> 3229 </receiver> 3230 3231 <!-- ************************************* --> 3232 <!-- OTHER SAMPLES --> 3233 <!-- ************************************* --> 3234 3235 <activity android:name=".nfc.ForegroundDispatch" android:label="NFC/ForegroundDispatch"> 3236 <intent-filter> 3237 <action android:name="android.intent.action.MAIN" /> 3238 <category android:name="android.intent.category.SAMPLE_CODE" /> 3239 </intent-filter> 3240 </activity> 3241 3242 <activity android:name=".nfc.TechFilter" android:label="NFC/TechFilter"> 3243 <intent-filter> 3244 <action android:name="android.intent.action.MAIN" /> 3245 <category android:name="android.intent.category.SAMPLE_CODE" /> 3246 </intent-filter> 3247 3248 <!-- Add a technology filter --> 3249 <intent-filter> 3250 <action android:name="android.nfc.action.TECH_DISCOVERED" /> 3251 </intent-filter> 3252 3253 <meta-data android:name="android.nfc.action.TECH_DISCOVERED" 3254 android:resource="@xml/filter_nfc" 3255 /> 3256 </activity> 3257 3258 <activity android:name=".nfc.ForegroundNdefPush" android:label="NFC/ForegroundNdefPush"> 3259 <intent-filter> 3260 <action android:name="android.intent.action.MAIN" /> 3261 <category android:name="android.intent.category.SAMPLE_CODE" /> 3262 </intent-filter> 3263 </activity> 3264 3265 <activity android:name=".security.KeyStoreUsage" android:label="Security/KeyStore" 3266 android:windowSoftInputMode="adjustPan"> 3267 <intent-filter> 3268 <action android:name="android.intent.action.MAIN" /> 3269 <category android:name="android.intent.category.SAMPLE_CODE" /> 3270 </intent-filter> 3271 </activity> 3272 </application> 3273 3274 <instrumentation android:name=".app.LocalSampleInstrumentation" 3275 android:targetPackage="com.example.android.apis" 3276 android:label="Local Sample" /> 3277 3278</manifest> 3279