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 <!-- PREFERENCE PACKAGE SAMPLES --> 1161 <!-- ************************************* --> 1162 1163 <activity android:name=".preference.FragmentPreferences" 1164 android:label="@string/fragment_preferences" 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=".preference.PreferenceWithHeaders" 1173 android:label="@string/preference_with_headers" 1174 android:enabled="@bool/atLeastHoneycomb"> 1175 <intent-filter> 1176 <action android:name="android.intent.action.MAIN" /> 1177 <category android:name="android.intent.category.SAMPLE_CODE" /> 1178 </intent-filter> 1179 </activity> 1180 1181 <activity android:name=".preference.PreferencesFromXml" 1182 android:label="@string/preferences_from_xml"> 1183 <intent-filter> 1184 <action android:name="android.intent.action.MAIN" /> 1185 <category android:name="android.intent.category.SAMPLE_CODE" /> 1186 </intent-filter> 1187 </activity> 1188 1189 <activity android:name=".preference.PreferencesFromCode" 1190 android:label="@string/preferences_from_code"> 1191 <intent-filter> 1192 <action android:name="android.intent.action.MAIN" /> 1193 <category android:name="android.intent.category.SAMPLE_CODE" /> 1194 </intent-filter> 1195 </activity> 1196 1197 <activity android:name=".preference.AdvancedPreferences" 1198 android:label="@string/advanced_preferences"> 1199 <intent-filter> 1200 <action android:name="android.intent.action.MAIN" /> 1201 <category android:name="android.intent.category.SAMPLE_CODE" /> 1202 </intent-filter> 1203 </activity> 1204 1205 <activity android:name=".preference.LaunchingPreferences" 1206 android:label="@string/launching_preferences"> 1207 <intent-filter> 1208 <action android:name="android.intent.action.MAIN" /> 1209 <category android:name="android.intent.category.SAMPLE_CODE" /> 1210 </intent-filter> 1211 </activity> 1212 1213 <activity android:name=".preference.PreferenceDependencies" 1214 android:label="@string/preference_dependencies"> 1215 <intent-filter> 1216 <action android:name="android.intent.action.MAIN" /> 1217 <category android:name="android.intent.category.SAMPLE_CODE" /> 1218 </intent-filter> 1219 </activity> 1220 1221 <activity android:name=".preference.DefaultValues" android:label="@string/default_values"> 1222 <intent-filter> 1223 <action android:name="android.intent.action.MAIN" /> 1224 <category android:name="android.intent.category.SAMPLE_CODE" /> 1225 </intent-filter> 1226 </activity> 1227 1228 <activity android:name=".preference.SwitchPreference" 1229 android:label="@string/switch_preference" 1230 android:enabled="@bool/atLeastIceCreamSandwich"> 1231 <intent-filter> 1232 <action android:name="android.intent.action.MAIN" /> 1233 <category android:name="android.intent.category.SAMPLE_CODE" /> 1234 </intent-filter> 1235 </activity> 1236 1237 <!-- ************************************* --> 1238 <!-- CONTENT PACKAGE SAMPLES --> 1239 <!-- ************************************* --> 1240 1241 <activity android:name=".content.ClipboardSample" 1242 android:label="@string/activity_clipboard" 1243 android:enabled="@bool/atLeastHoneycomb"> 1244 <intent-filter> 1245 <action android:name="android.intent.action.MAIN" /> 1246 <category android:name="android.intent.category.SAMPLE_CODE" /> 1247 </intent-filter> 1248 </activity> 1249 1250 <activity android:name=".content.ExternalStorage" android:label="@string/activity_external_storage"> 1251 <intent-filter> 1252 <action android:name="android.intent.action.MAIN" /> 1253 <category android:name="android.intent.category.SAMPLE_CODE" /> 1254 <category android:name="android.intent.category.EMBED" /> 1255 </intent-filter> 1256 </activity> 1257 1258 <activity android:name=".content.StyledText" android:label="@string/activity_styled_text"> 1259 <intent-filter> 1260 <action android:name="android.intent.action.MAIN" /> 1261 <category android:name="android.intent.category.SAMPLE_CODE" /> 1262 <category android:name="android.intent.category.EMBED" /> 1263 </intent-filter> 1264 </activity> 1265 1266 <activity android:name=".content.TextUndoActivity" android:label="@string/activity_text_undo"> 1267 <intent-filter> 1268 <action android:name="android.intent.action.MAIN" /> 1269 <category android:name="android.intent.category.SAMPLE_CODE" /> 1270 <category android:name="android.intent.category.EMBED" /> 1271 </intent-filter> 1272 </activity> 1273 1274 <activity android:name=".content.ResourcesLayoutReference" 1275 android:label="@string/activity_resources_layout_reference"> 1276 <intent-filter> 1277 <action android:name="android.intent.action.MAIN" /> 1278 <category android:name="android.intent.category.SAMPLE_CODE" /> 1279 <category android:name="android.intent.category.EMBED" /> 1280 </intent-filter> 1281 </activity> 1282 1283 <activity android:name=".content.ResourcesWidthAndHeight" 1284 android:label="@string/activity_resources_width_and_height" 1285 android:enabled="@bool/atLeastHoneycombMR2"> 1286 <intent-filter> 1287 <action android:name="android.intent.action.MAIN" /> 1288 <category android:name="android.intent.category.SAMPLE_CODE" /> 1289 <category android:name="android.intent.category.EMBED" /> 1290 </intent-filter> 1291 </activity> 1292 1293 <activity android:name=".content.ResourcesSmallestWidth" 1294 android:label="@string/activity_resources_smallest_width" 1295 android:enabled="@bool/atLeastHoneycombMR2"> 1296 <intent-filter> 1297 <action android:name="android.intent.action.MAIN" /> 1298 <category android:name="android.intent.category.SAMPLE_CODE" /> 1299 <category android:name="android.intent.category.EMBED" /> 1300 </intent-filter> 1301 </activity> 1302 1303 <activity android:name=".content.ReadAsset" android:label="@string/activity_read_asset"> 1304 <intent-filter> 1305 <action android:name="android.intent.action.MAIN" /> 1306 <category android:name="android.intent.category.SAMPLE_CODE" /> 1307 <category android:name="android.intent.category.EMBED" /> 1308 </intent-filter> 1309 </activity> 1310 1311 <activity android:name=".content.ResourcesSample" android:label="@string/activity_resources"> 1312 <intent-filter> 1313 <action android:name="android.intent.action.MAIN" /> 1314 <category android:name="android.intent.category.SAMPLE_CODE" /> 1315 </intent-filter> 1316 </activity> 1317 1318 <activity android:name=".content.PickContact" android:label="@string/activity_pick_contact"> 1319 <intent-filter> 1320 <action android:name="android.intent.action.MAIN" /> 1321 <category android:name="android.intent.category.SAMPLE_CODE" /> 1322 </intent-filter> 1323 </activity> 1324 1325 <activity android:name=".content.ShareContent" android:label="@string/activity_share_content"> 1326 <intent-filter> 1327 <action android:name="android.intent.action.MAIN" /> 1328 <category android:name="android.intent.category.SAMPLE_CODE" /> 1329 </intent-filter> 1330 </activity> 1331 1332 <activity android:name=".content.ChangedContacts" android:label="@string/activity_changed_contact"> 1333 <intent-filter> 1334 <action android:name="android.intent.action.MAIN"/> 1335 <category android:name="android.intent.category.SAMPLE_CODE"/> 1336 </intent-filter> 1337 </activity> 1338 1339 <activity android:name=".content.MediaContentObserver" 1340 android:label="@string/activity_media_content_observer"> 1341 <intent-filter> 1342 <action android:name="android.intent.action.MAIN"/> 1343 <category android:name="android.intent.category.SAMPLE_CODE"/> 1344 </intent-filter> 1345 </activity> 1346 1347 <service android:name=".content.MediaContentJob" 1348 android:permission="android.permission.BIND_JOB_SERVICE" /> 1349 1350 <service android:name=".content.PhotosContentJob" 1351 android:permission="android.permission.BIND_JOB_SERVICE" /> 1352 1353 <activity android:name=".content.InstallApk" android:label="@string/activity_install_apk" 1354 android:enabled="@bool/atLeastHoneycombMR2"> 1355 <intent-filter> 1356 <action android:name="android.intent.action.MAIN" /> 1357 <category android:name="android.intent.category.SAMPLE_CODE" /> 1358 </intent-filter> 1359 </activity> 1360 1361 <!-- A FileProvider for passing the APK to be installed to the system. --> 1362 <provider 1363 android:name="android.support.v4.content.FileProvider" 1364 android:authorities="com.example.android.apis.installapkprovider" 1365 android:exported="false" 1366 android:grantUriPermissions="true"> 1367 <meta-data 1368 android:name="android.support.FILE_PROVIDER_PATHS" 1369 android:resource="@xml/file_paths" /> 1370 </provider> 1371 1372 <activity android:name=".content.InstallApkSessionApi" 1373 android:label="@string/activity_install_apk_session_api" 1374 android:launchMode="singleTop"> 1375 <intent-filter> 1376 <action android:name="android.intent.action.MAIN" /> 1377 <category android:name="android.intent.category.SAMPLE_CODE" /> 1378 </intent-filter> 1379 <intent-filter> 1380 <action android:exported="true" 1381 android:name="com.example.android.apis.content.SESSION_API_PACKAGE_INSTALLED" /> 1382 </intent-filter> 1383 </activity> 1384 1385 <activity android:name=".content.DocumentsSample" 1386 android:label="@string/activity_documents" 1387 android:enabled="@bool/atLeastKitKat"> 1388 <intent-filter> 1389 <action android:name="android.intent.action.MAIN" /> 1390 <category android:name="android.intent.category.SAMPLE_CODE" /> 1391 </intent-filter> 1392 </activity> 1393 1394 <provider android:name=".content.FileProvider" 1395 android:authorities="com.example.android.apis.content.FileProvider" 1396 android:grantUriPermissions="true" 1397 android:exported="false" 1398 android:enabled="@bool/atLeastHoneycombMR2" /> 1399 1400 <activity android:name=".content.ProcessTextLauncher" 1401 android:label="@string/process_text_title" > 1402 <intent-filter> 1403 <action android:name="android.intent.action.MAIN" /> 1404 <category android:name="android.intent.category.SAMPLE_CODE" /> 1405 </intent-filter> 1406 </activity> 1407 <activity android:name=".content.ProcessText" > 1408 <intent-filter > 1409 <action android:name="android.intent.action.PROCESS_TEXT"/> 1410 <category android:name="android.intent.category.DEFAULT" /> 1411 <data android:mimeType="text/plain" /> 1412 </intent-filter> 1413 </activity> 1414 1415 <!-- ************************************* --> 1416 <!-- HARDWARE PACKAGE SAMPLES --> 1417 <!-- ************************************* --> 1418 1419 <activity android:name=".hardware.ConsumerIr" android:label="Hardware/Consumer IR"> 1420 <intent-filter> 1421 <action android:name="android.intent.action.MAIN" /> 1422 <category android:name="android.intent.category.SAMPLE_CODE" /> 1423 </intent-filter> 1424 </activity> 1425 1426 <!-- ************************************* --> 1427 <!-- OS PACKAGE SAMPLES --> 1428 <!-- ************************************* --> 1429 1430 <activity android:name=".os.MorseCode" android:label="OS/Morse Code"> 1431 <intent-filter> 1432 <action android:name="android.intent.action.MAIN" /> 1433 <category android:name="android.intent.category.SAMPLE_CODE" /> 1434 </intent-filter> 1435 </activity> 1436 1437 <activity android:name=".os.TriggerSensors" android:label="OS/TriggerSensors"> 1438 <intent-filter> 1439 <action android:name="android.intent.action.MAIN" /> 1440 <category android:name="android.intent.category.SAMPLE_CODE" /> 1441 </intent-filter> 1442 </activity> 1443 1444 <activity android:name=".os.RotationVectorDemo" android:label="OS/Rotation Vector" android:screenOrientation="nosensor"> 1445 <intent-filter> 1446 <action android:name="android.intent.action.MAIN" /> 1447 <category android:name="android.intent.category.SAMPLE_CODE" /> 1448 </intent-filter> 1449 </activity> 1450 1451 <activity android:name=".os.SmsMessagingDemo" android:label="OS/SMS Messaging"> 1452 <intent-filter> 1453 <action android:name="android.intent.action.MAIN" /> 1454 <category android:name="android.intent.category.SAMPLE_CODE" /> 1455 </intent-filter> 1456 <intent-filter> 1457 <action android:name="android.intent.action.SENDTO" /> 1458 <category android:name="android.intent.category.DEFAULT" /> 1459 <data android:scheme="sms" /> 1460 <data android:scheme="smsto" /> 1461 </intent-filter> 1462 </activity> 1463 1464 <activity android:name=".os.MmsMessagingDemo" android:label="OS/MMS Messaging"> 1465 <intent-filter> 1466 <action android:name="android.intent.action.MAIN" /> 1467 <category android:name="android.intent.category.SAMPLE_CODE" /> 1468 </intent-filter> 1469 <intent-filter> 1470 <action android:name="android.intent.action.SENDTO" /> 1471 <category android:name="android.intent.category.DEFAULT" /> 1472 <data android:scheme="mms" /> 1473 <data android:scheme="mmsto" /> 1474 </intent-filter> 1475 </activity> 1476 1477 <activity android:name=".os.SmsReceivedDialog" 1478 android:theme="@android:style/Theme.Translucent.NoTitleBar" 1479 android:launchMode="singleInstance" /> 1480 1481 <receiver android:name=".os.SmsMessageReceiver" android:enabled="false" 1482 android:permission="android.permission.BROADCAST_SMS"> 1483 <intent-filter> 1484 <action android:name="android.provider.Telephony.SMS_RECEIVED" /> 1485 </intent-filter> 1486 <intent-filter> 1487 <action android:name="android.provider.Telephony.SMS_DELIVER" /> 1488 </intent-filter> 1489 </receiver> 1490 1491 <receiver android:name=".os.MmsWapPushReceiver" android:enabled="false" 1492 android:permission="android.permission.BROADCAST_WAP_PUSH"> 1493 <intent-filter> 1494 <action android:name="android.provider.Telephony.WAP_PUSH_RECEIVED" /> 1495 <data android:mimeType="application/vnd.wap.mms-message" /> 1496 </intent-filter> 1497 <intent-filter> 1498 <action android:name="android.provider.Telephony.WAP_PUSH_DELIVER" /> 1499 <data android:mimeType="application/vnd.wap.mms-message" /> 1500 </intent-filter> 1501 </receiver> 1502 1503 <service android:name=".os.HeadlessSmsSendService" 1504 android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE" 1505 android:exported="true"> 1506 <intent-filter> 1507 <action android:name="android.intent.action.RESPOND_VIA_MESSAGE" /> 1508 <category android:name="android.intent.category.DEFAULT" /> 1509 <data android:scheme="sms" /> 1510 <data android:scheme="smsto" /> 1511 <data android:scheme="mms" /> 1512 <data android:scheme="mmsto" /> 1513 </intent-filter> 1514 </service> 1515 1516 <provider android:name=".os.MmsFileProvider" 1517 android:authorities="com.example.android.apis.os.MmsFileProvider" 1518 android:enabled="@bool/atLeastLRelease" 1519 android:grantUriPermissions="true" 1520 android:exported="false" /> 1521 1522 <!-- ************************************* --> 1523 <!-- ANDROID.ANIMATION PACKAGE SAMPLES --> 1524 <!-- ************************************* --> 1525 1526 <activity android:name=".animation.ActivityTransition" 1527 android:label="Animation/Activity Transition" 1528 android:enabled="@bool/atLeastLRelease" 1529 android:theme="@style/ActivityTransitionTheme"> 1530 <intent-filter> 1531 <action android:name="android.intent.action.MAIN" /> 1532 <category android:name="android.intent.category.SAMPLE_CODE" /> 1533 </intent-filter> 1534 </activity> 1535 1536 <activity android:name=".animation.ActivityTransitionDetails" 1537 android:label="Animation/Details of a specific thingy" 1538 android:enabled="@bool/atLeastLRelease" 1539 android:theme="@style/ActivityTransitionTheme"> 1540 <intent-filter> 1541 <action android:name="android.intent.action.MAIN" /> 1542 </intent-filter> 1543 </activity> 1544 1545 <activity android:name=".animation.AnimationLoading" 1546 android:label="Animation/Loading" 1547 android:enabled="@bool/atLeastHoneycomb"> 1548 <intent-filter> 1549 <action android:name="android.intent.action.MAIN" /> 1550 <category android:name="android.intent.category.SAMPLE_CODE" /> 1551 </intent-filter> 1552 </activity> 1553 1554 <activity android:name=".animation.AnimationCloning" 1555 android:label="Animation/Cloning" 1556 android:enabled="@bool/atLeastHoneycomb"> 1557 <intent-filter> 1558 <action android:name="android.intent.action.MAIN" /> 1559 <category android:name="android.intent.category.SAMPLE_CODE" /> 1560 </intent-filter> 1561 </activity> 1562 1563 <activity android:name=".animation.AnimationSeeking" 1564 android:label="Animation/Seeking" 1565 android:enabled="@bool/atLeastHoneycomb"> 1566 <intent-filter> 1567 <action android:name="android.intent.action.MAIN" /> 1568 <category android:name="android.intent.category.SAMPLE_CODE" /> 1569 </intent-filter> 1570 </activity> 1571 1572 <activity android:name=".animation.AnimatorEvents" 1573 android:label="Animation/Events" 1574 android:enabled="@bool/atLeastHoneycomb"> 1575 <intent-filter> 1576 <action android:name="android.intent.action.MAIN" /> 1577 <category android:name="android.intent.category.SAMPLE_CODE" /> 1578 </intent-filter> 1579 </activity> 1580 1581 <activity android:name=".animation.BouncingBalls" 1582 android:label="Animation/Bouncing Balls" 1583 android:enabled="@bool/atLeastHoneycomb"> 1584 <intent-filter> 1585 <action android:name="android.intent.action.MAIN" /> 1586 <category android:name="android.intent.category.SAMPLE_CODE" /> 1587 </intent-filter> 1588 </activity> 1589 1590 <activity android:name=".animation.CustomEvaluator" 1591 android:label="Animation/Custom Evaluator" 1592 android:enabled="@bool/atLeastHoneycomb"> 1593 <intent-filter> 1594 <action android:name="android.intent.action.MAIN" /> 1595 <category android:name="android.intent.category.SAMPLE_CODE" /> 1596 </intent-filter> 1597 </activity> 1598 1599 <activity android:name=".animation.ListFlipper" 1600 android:label="Animation/View Flip" 1601 android:enabled="@bool/atLeastHoneycomb"> 1602 <intent-filter> 1603 <action android:name="android.intent.action.MAIN" /> 1604 <category android:name="android.intent.category.SAMPLE_CODE" /> 1605 </intent-filter> 1606 </activity> 1607 1608 <activity android:name=".animation.ReversingAnimation" 1609 android:label="Animation/Reversing" 1610 android:enabled="@bool/atLeastHoneycomb"> 1611 <intent-filter> 1612 <action android:name="android.intent.action.MAIN" /> 1613 <category android:name="android.intent.category.SAMPLE_CODE" /> 1614 </intent-filter> 1615 </activity> 1616 1617 <activity android:name=".animation.MultiPropertyAnimation" 1618 android:label="Animation/Multiple Properties" 1619 android:enabled="@bool/atLeastHoneycomb"> 1620 <intent-filter> 1621 <action android:name="android.intent.action.MAIN" /> 1622 <category android:name="android.intent.category.SAMPLE_CODE" /> 1623 </intent-filter> 1624 </activity> 1625 1626 <activity android:name=".animation.LayoutAnimations" 1627 android:label="Animation/Layout Animations" 1628 android:enabled="@bool/atLeastHoneycomb"> 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=".animation.LayoutAnimationsHideShow" 1636 android:label="Animation/Hide-Show Animations" 1637 android:enabled="@bool/atLeastHoneycomb"> 1638 <intent-filter> 1639 <action android:name="android.intent.action.MAIN" /> 1640 <category android:name="android.intent.category.SAMPLE_CODE" /> 1641 </intent-filter> 1642 </activity> 1643 1644 <activity android:name=".animation.LayoutAnimationsByDefault" 1645 android:label="Animation/Default Layout Animations" 1646 android:enabled="@bool/atLeastHoneycomb"> 1647 <intent-filter> 1648 <action android:name="android.intent.action.MAIN" /> 1649 <category android:name="android.intent.category.SAMPLE_CODE" /> 1650 </intent-filter> 1651 </activity> 1652 1653 <activity android:name=".animation.Transitions" 1654 android:label="Animation/Simple Transitions" 1655 android:enabled="@bool/atLeastHoneycomb"> 1656 <intent-filter> 1657 <action android:name="android.intent.action.MAIN" /> 1658 <category android:name="android.intent.category.SAMPLE_CODE" /> 1659 </intent-filter> 1660 </activity> 1661 1662 <activity android:name=".animation.PathAnimations" 1663 android:label="Animation/Path Animations" 1664 android:enabled="@bool/atLeastHoneycomb"> 1665 <intent-filter> 1666 <action android:name="android.intent.action.MAIN" /> 1667 <category android:name="android.intent.category.SAMPLE_CODE" /> 1668 </intent-filter> 1669 </activity> 1670 1671 <!-- ************************************* --> 1672 <!-- ANIMATION PACKAGE SAMPLES --> 1673 <!-- ************************************* --> 1674 1675 <activity android:name=".animation.Transition3d" android:label="Views/Animation/3D Transition"> 1676 <intent-filter> 1677 <action android:name="android.intent.action.MAIN" /> 1678 <category android:name="android.intent.category.SAMPLE_CODE" /> 1679 </intent-filter> 1680 </activity> 1681 1682 <!-- ************************************* --> 1683 <!-- VIEW/WIDGET PACKAGE SAMPLES --> 1684 <!-- ************************************* --> 1685 1686 <activity android:name=".view.ChronometerDemo" android:label="Views/Chronometer"> 1687 <intent-filter> 1688 <action android:name="android.intent.action.MAIN" /> 1689 <category android:name="android.intent.category.SAMPLE_CODE" /> 1690 </intent-filter> 1691 </activity> 1692 <activity android:name=".view.WebView1" android:label="Views/WebView"> 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.RelativeLayout1" android:label="Views/Layouts/RelativeLayout/1. Vertical"> 1700 <intent-filter> 1701 <action android:name="android.intent.action.MAIN" /> 1702 <category android:name="android.intent.category.SAMPLE_CODE" /> 1703 </intent-filter> 1704 </activity> 1705 1706 <activity android:name=".view.RelativeLayout2" android:label="Views/Layouts/RelativeLayout/2. Simple Form"> 1707 <intent-filter> 1708 <action android:name="android.intent.action.MAIN" /> 1709 <category android:name="android.intent.category.SAMPLE_CODE" /> 1710 </intent-filter> 1711 </activity> 1712 1713 <activity android:name=".view.LinearLayout1" 1714 android:label="Views/Layouts/LinearLayout/01. Vertical"> 1715 <intent-filter> 1716 <action android:name="android.intent.action.MAIN" /> 1717 <category android:name="android.intent.category.SAMPLE_CODE" /> 1718 </intent-filter> 1719 </activity> 1720 1721 <activity android:name=".view.LinearLayout2" 1722 android:label="Views/Layouts/LinearLayout/02. Vertical (Fill Screen)"> 1723 <intent-filter> 1724 <action android:name="android.intent.action.MAIN" /> 1725 <category android:name="android.intent.category.SAMPLE_CODE" /> 1726 </intent-filter> 1727 </activity> 1728 1729 <activity android:name=".view.LinearLayout3" 1730 android:label="Views/Layouts/LinearLayout/03. Vertical (Padded)"> 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.LinearLayout4" 1738 android:label="Views/Layouts/LinearLayout/04. Horizontal"> 1739 <intent-filter> 1740 <action android:name="android.intent.action.MAIN" /> 1741 <category android:name="android.intent.category.SAMPLE_CODE" /> 1742 </intent-filter> 1743 </activity> 1744 1745 <activity android:name=".view.LinearLayout5" 1746 android:label="Views/Layouts/LinearLayout/05. Simple Form"> 1747 <intent-filter> 1748 <action android:name="android.intent.action.MAIN" /> 1749 <category android:name="android.intent.category.SAMPLE_CODE" /> 1750 </intent-filter> 1751 </activity> 1752 1753 <activity android:name=".view.LinearLayout6" 1754 android:label="Views/Layouts/LinearLayout/06. Uniform Size"> 1755 <intent-filter> 1756 <action android:name="android.intent.action.MAIN" /> 1757 <category android:name="android.intent.category.SAMPLE_CODE" /> 1758 </intent-filter> 1759 </activity> 1760 1761 <activity android:name=".view.LinearLayout7" 1762 android:label="Views/Layouts/LinearLayout/07. Fill Parent"> 1763 <intent-filter> 1764 <action android:name="android.intent.action.MAIN" /> 1765 <category android:name="android.intent.category.SAMPLE_CODE" /> 1766 </intent-filter> 1767 </activity> 1768 1769 <activity android:name=".view.LinearLayout8" 1770 android:label="Views/Layouts/LinearLayout/08. Gravity"> 1771 <intent-filter> 1772 <action android:name="android.intent.action.MAIN" /> 1773 <category android:name="android.intent.category.SAMPLE_CODE" /> 1774 </intent-filter> 1775 </activity> 1776 1777 <activity android:name=".view.LinearLayout9" 1778 android:label="Views/Layouts/LinearLayout/09. Layout Weight"> 1779 <intent-filter> 1780 <action android:name="android.intent.action.MAIN" /> 1781 <category android:name="android.intent.category.SAMPLE_CODE" /> 1782 </intent-filter> 1783 </activity> 1784 1785 <activity android:name=".view.LinearLayout10" 1786 android:label="Views/Layouts/LinearLayout/10. Background Image"> 1787 <intent-filter> 1788 <action android:name="android.intent.action.MAIN" /> 1789 <category android:name="android.intent.category.SAMPLE_CODE" /> 1790 </intent-filter> 1791 </activity> 1792 1793 <activity android:name=".view.CustomLayoutActivity" 1794 android:label="Views/Layouts/CustomLayout"> 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.RadioGroup1" android:label="Views/Radio Group"> 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.ScrollView1" android:label="Views/Layouts/ScrollView/1. Short"> 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.ScrollView2" android:label="Views/Layouts/ScrollView/2. Long"> 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.HorizontalScrollView1" android:label="Views/Layouts/HorizontalScrollView"> 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.Tabs1" android:label="Views/Tabs/1. Content By Id"> 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.Tabs2" android:label="Views/Tabs/2. Content By Factory"> 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.Tabs3" android:label="Views/Tabs/3. Content By Intent"> 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.Tabs4" android:label="Views/Tabs/4. Non Holo theme" 1851 android:theme="@android:style/Theme"> 1852 <intent-filter> 1853 <action android:name="android.intent.action.MAIN"/> 1854 <category android:name="android.intent.category.SAMPLE_CODE"/> 1855 </intent-filter> 1856 </activity> 1857 1858 <activity android:name=".view.Tabs5" android:label="Views/Tabs/5. Scrollable"> 1859 <intent-filter> 1860 <action android:name="android.intent.action.MAIN"/> 1861 <category android:name="android.intent.category.SAMPLE_CODE"/> 1862 </intent-filter> 1863 </activity> 1864 1865 <activity android:name=".view.Tabs6" android:label="Views/Tabs/6. Right aligned"> 1866 <intent-filter> 1867 <action android:name="android.intent.action.MAIN"/> 1868 <category android:name="android.intent.category.SAMPLE_CODE"/> 1869 </intent-filter> 1870 </activity> 1871 1872 <activity android:name=".view.InternalSelectionScroll" android:label="Views/Layouts/ScrollView/3. Internal Selection"> 1873 <intent-filter> 1874 <action android:name="android.intent.action.MAIN" /> 1875 <category android:name="android.intent.category.SAMPLE_CODE" /> 1876 </intent-filter> 1877 </activity> 1878 1879 <activity android:name=".view.TableLayout1" android:label="Views/Layouts/TableLayout/01. Basic"> 1880 <intent-filter> 1881 <action android:name="android.intent.action.MAIN" /> 1882 <category android:name="android.intent.category.SAMPLE_CODE" /> 1883 </intent-filter> 1884 </activity> 1885 1886 <activity android:name=".view.TableLayout2" android:label="Views/Layouts/TableLayout/02. Empty Cells"> 1887 <intent-filter> 1888 <action android:name="android.intent.action.MAIN" /> 1889 <category android:name="android.intent.category.SAMPLE_CODE" /> 1890 </intent-filter> 1891 </activity> 1892 1893 <activity android:name=".view.TableLayout3" android:label="Views/Layouts/TableLayout/03. Long Content"> 1894 <intent-filter> 1895 <action android:name="android.intent.action.MAIN" /> 1896 <category android:name="android.intent.category.SAMPLE_CODE" /> 1897 </intent-filter> 1898 </activity> 1899 1900 <activity android:name=".view.TableLayout4" android:label="Views/Layouts/TableLayout/04. Stretchable"> 1901 <intent-filter> 1902 <action android:name="android.intent.action.MAIN" /> 1903 <category android:name="android.intent.category.SAMPLE_CODE" /> 1904 </intent-filter> 1905 </activity> 1906 1907 <activity android:name=".view.TableLayout5" android:label="Views/Layouts/TableLayout/05. Spanning and Stretchable"> 1908 <intent-filter> 1909 <action android:name="android.intent.action.MAIN" /> 1910 <category android:name="android.intent.category.SAMPLE_CODE" /> 1911 </intent-filter> 1912 </activity> 1913 1914 <activity android:name=".view.TableLayout6" android:label="Views/Layouts/TableLayout/06. More Spanning and Stretchable"> 1915 <intent-filter> 1916 <action android:name="android.intent.action.MAIN" /> 1917 <category android:name="android.intent.category.SAMPLE_CODE" /> 1918 </intent-filter> 1919 </activity> 1920 1921 <activity android:name=".view.TableLayout7" android:label="Views/Layouts/TableLayout/07. Column Collapse"> 1922 <intent-filter> 1923 <action android:name="android.intent.action.MAIN" /> 1924 <category android:name="android.intent.category.SAMPLE_CODE" /> 1925 </intent-filter> 1926 </activity> 1927 1928 <activity android:name=".view.TableLayout8" android:label="Views/Layouts/TableLayout/08. Toggle Stretch"> 1929 <intent-filter> 1930 <action android:name="android.intent.action.MAIN" /> 1931 <category android:name="android.intent.category.SAMPLE_CODE" /> 1932 </intent-filter> 1933 </activity> 1934 1935 <activity android:name=".view.TableLayout9" android:label="Views/Layouts/TableLayout/09. Toggle Shrink"> 1936 <intent-filter> 1937 <action android:name="android.intent.action.MAIN" /> 1938 <category android:name="android.intent.category.SAMPLE_CODE" /> 1939 </intent-filter> 1940 </activity> 1941 1942 <activity android:name=".view.TableLayout10" android:label="Views/Layouts/TableLayout/10. Simple Form"> 1943 <intent-filter> 1944 <action android:name="android.intent.action.MAIN" /> 1945 <category android:name="android.intent.category.SAMPLE_CODE" /> 1946 </intent-filter> 1947 </activity> 1948 1949 <activity android:name=".view.TableLayout11" android:label="Views/Layouts/TableLayout/11. Gravity"> 1950 <intent-filter> 1951 <action android:name="android.intent.action.MAIN" /> 1952 <category android:name="android.intent.category.SAMPLE_CODE" /> 1953 </intent-filter> 1954 </activity> 1955 1956 <activity android:name=".view.TableLayout12" android:label="Views/Layouts/TableLayout/12. Cell Spanning"> 1957 <intent-filter> 1958 <action android:name="android.intent.action.MAIN" /> 1959 <category android:name="android.intent.category.SAMPLE_CODE" /> 1960 </intent-filter> 1961 </activity> 1962 1963 <activity android:name=".view.GridLayout1" android:label="Views/Layouts/GridLayout/1. Simple Form"> 1964 <intent-filter> 1965 <action android:name="android.intent.action.MAIN" /> 1966 <category android:name="android.intent.category.SAMPLE_CODE" /> 1967 </intent-filter> 1968 </activity> 1969 1970 <activity android:name=".view.GridLayout2" android:label="Views/Layouts/GridLayout/2. Form (XML)"> 1971 <intent-filter> 1972 <action android:name="android.intent.action.MAIN" /> 1973 <category android:name="android.intent.category.SAMPLE_CODE" /> 1974 </intent-filter> 1975 </activity> 1976 1977 <activity android:name=".view.GridLayout3" android:label="Views/Layouts/GridLayout/3. Form (Java)"> 1978 <intent-filter> 1979 <action android:name="android.intent.action.MAIN" /> 1980 <category android:name="android.intent.category.SAMPLE_CODE" /> 1981 </intent-filter> 1982 </activity> 1983 1984 <activity android:name=".view.Baseline1" android:label="Views/Layouts/Baseline/1. Top"> 1985 <intent-filter> 1986 <action android:name="android.intent.action.MAIN" /> 1987 <category android:name="android.intent.category.SAMPLE_CODE" /> 1988 </intent-filter> 1989 </activity> 1990 1991 <activity android:name=".view.Baseline2" android:label="Views/Layouts/Baseline/2. Bottom"> 1992 <intent-filter> 1993 <action android:name="android.intent.action.MAIN" /> 1994 <category android:name="android.intent.category.SAMPLE_CODE" /> 1995 </intent-filter> 1996 </activity> 1997 1998 <activity android:name=".view.Baseline3" android:label="Views/Layouts/Baseline/3. Center"> 1999 <intent-filter> 2000 <action android:name="android.intent.action.MAIN" /> 2001 <category android:name="android.intent.category.SAMPLE_CODE" /> 2002 </intent-filter> 2003 </activity> 2004 2005 <activity android:name=".view.Baseline4" android:label="Views/Layouts/Baseline/4. Everywhere"> 2006 <intent-filter> 2007 <action android:name="android.intent.action.MAIN" /> 2008 <category android:name="android.intent.category.SAMPLE_CODE" /> 2009 </intent-filter> 2010 </activity> 2011 2012 <activity android:name=".view.Baseline6" android:label="Views/Layouts/Baseline/5. Multi-line"> 2013 <intent-filter> 2014 <action android:name="android.intent.action.MAIN" /> 2015 <category android:name="android.intent.category.SAMPLE_CODE" /> 2016 </intent-filter> 2017 </activity> 2018 2019 <activity android:name=".view.Baseline7" android:label="Views/Layouts/Baseline/6. Relative"> 2020 <intent-filter> 2021 <action android:name="android.intent.action.MAIN" /> 2022 <category android:name="android.intent.category.SAMPLE_CODE" /> 2023 </intent-filter> 2024 </activity> 2025 2026 <activity android:name=".view.BaselineNested1" android:label="Views/Layouts/Baseline/Nested Example 1"> 2027 <intent-filter> 2028 <action android:name="android.intent.action.MAIN" /> 2029 <category android:name="android.intent.category.SAMPLE_CODE" /> 2030 </intent-filter> 2031 </activity> 2032 2033 <activity android:name=".view.BaselineNested2" android:label="Views/Layouts/Baseline/Nested Example 2"> 2034 <intent-filter> 2035 <action android:name="android.intent.action.MAIN" /> 2036 <category android:name="android.intent.category.SAMPLE_CODE" /> 2037 </intent-filter> 2038 </activity> 2039 2040 <activity android:name=".view.BaselineNested3" android:label="Views/Layouts/Baseline/Nested Example 3"> 2041 <intent-filter> 2042 <action android:name="android.intent.action.MAIN" /> 2043 <category android:name="android.intent.category.SAMPLE_CODE" /> 2044 </intent-filter> 2045 </activity> 2046 2047 <activity android:name=".view.ScrollBar1" android:label="Views/ScrollBars/1. Basic"> 2048 <intent-filter> 2049 <action android:name="android.intent.action.MAIN" /> 2050 <category android:name="android.intent.category.SAMPLE_CODE" /> 2051 </intent-filter> 2052 </activity> 2053 2054 <activity android:name=".view.ScrollBar2" android:label="Views/ScrollBars/2. Fancy"> 2055 <intent-filter> 2056 <action android:name="android.intent.action.MAIN" /> 2057 <category android:name="android.intent.category.SAMPLE_CODE" /> 2058 </intent-filter> 2059 </activity> 2060 2061 <activity android:name=".view.ScrollBar3" android:label="Views/ScrollBars/3. Style"> 2062 <intent-filter> 2063 <action android:name="android.intent.action.MAIN" /> 2064 <category android:name="android.intent.category.SAMPLE_CODE" /> 2065 </intent-filter> 2066 </activity> 2067 2068 <activity android:name=".view.Visibility1" android:label="Views/Visibility"> 2069 <intent-filter> 2070 <action android:name="android.intent.action.MAIN" /> 2071 <category android:name="android.intent.category.SAMPLE_CODE" /> 2072 </intent-filter> 2073 </activity> 2074 2075 <activity android:name=".view.List1" android:label="Views/Lists/01. Array"> 2076 <intent-filter> 2077 <action android:name="android.intent.action.MAIN" /> 2078 <category android:name="android.intent.category.SAMPLE_CODE" /> 2079 </intent-filter> 2080 </activity> 2081 2082 <activity android:name=".view.List2" android:label="Views/Lists/02. Cursor (People)"> 2083 <intent-filter> 2084 <action android:name="android.intent.action.MAIN" /> 2085 <category android:name="android.intent.category.SAMPLE_CODE" /> 2086 </intent-filter> 2087 </activity> 2088 2089 <activity android:name=".view.List3" android:label="Views/Lists/03. Cursor (Phones)"> 2090 <intent-filter> 2091 <action android:name="android.intent.action.MAIN" /> 2092 <category android:name="android.intent.category.SAMPLE_CODE" /> 2093 </intent-filter> 2094 </activity> 2095 2096 <activity android:name=".view.List4" android:label="Views/Lists/04. ListAdapter"> 2097 <intent-filter> 2098 <action android:name="android.intent.action.MAIN" /> 2099 <category android:name="android.intent.category.SAMPLE_CODE" /> 2100 </intent-filter> 2101 </activity> 2102 2103 <activity android:name=".view.List5" android:label="Views/Lists/05. Separators"> 2104 <intent-filter> 2105 <action android:name="android.intent.action.MAIN" /> 2106 <category android:name="android.intent.category.SAMPLE_CODE" /> 2107 </intent-filter> 2108 </activity> 2109 2110 <activity android:name=".view.List6" android:label="Views/Lists/06. ListAdapter Collapsed"> 2111 <intent-filter> 2112 <action android:name="android.intent.action.MAIN" /> 2113 <category android:name="android.intent.category.SAMPLE_CODE" /> 2114 </intent-filter> 2115 </activity> 2116 2117 <activity android:name=".view.List7" android:label="Views/Lists/07. Cursor (Phones)"> 2118 <intent-filter> 2119 <action android:name="android.intent.action.MAIN" /> 2120 <category android:name="android.intent.category.SAMPLE_CODE" /> 2121 </intent-filter> 2122 </activity> 2123 2124 <activity android:name=".view.List8" android:label="Views/Lists/08. Photos"> 2125 <intent-filter> 2126 <action android:name="android.intent.action.MAIN" /> 2127 <category android:name="android.intent.category.SAMPLE_CODE" /> 2128 </intent-filter> 2129 </activity> 2130 2131 <activity android:name=".view.List9" android:label="Views/Lists/09. Array (Overlay)"> 2132 <intent-filter> 2133 <action android:name="android.intent.action.MAIN" /> 2134 <category android:name="android.intent.category.SAMPLE_CODE" /> 2135 </intent-filter> 2136 </activity> 2137 2138 <activity android:name=".view.List10" android:label="Views/Lists/10. Single choice list"> 2139 <intent-filter> 2140 <action android:name="android.intent.action.MAIN" /> 2141 <category android:name="android.intent.category.SAMPLE_CODE" /> 2142 </intent-filter> 2143 </activity> 2144 2145 <activity android:name=".view.List11" android:label="Views/Lists/11. Multiple choice list"> 2146 <intent-filter> 2147 <action android:name="android.intent.action.MAIN" /> 2148 <category android:name="android.intent.category.SAMPLE_CODE" /> 2149 </intent-filter> 2150 </activity> 2151 2152 <activity android:name=".view.List12" android:label="Views/Lists/12. Transcript"> 2153 <intent-filter> 2154 <action android:name="android.intent.action.MAIN" /> 2155 <category android:name="android.intent.category.SAMPLE_CODE" /> 2156 </intent-filter> 2157 </activity> 2158 2159 <activity android:name=".view.List13" android:label="Views/Lists/13. Slow Adapter"> 2160 <intent-filter> 2161 <action android:name="android.intent.action.MAIN" /> 2162 <category android:name="android.intent.category.SAMPLE_CODE" /> 2163 </intent-filter> 2164 </activity> 2165 2166 <activity android:name=".view.List14" android:label="Views/Lists/14. Efficient Adapter"> 2167 <intent-filter> 2168 <action android:name="android.intent.action.MAIN" /> 2169 <category android:name="android.intent.category.SAMPLE_CODE" /> 2170 </intent-filter> 2171 </activity> 2172 2173 <activity android:name=".view.List15" android:label="Views/Lists/15. Selection Mode"> 2174 <intent-filter> 2175 <action android:name="android.intent.action.MAIN" /> 2176 <category android:name="android.intent.category.SAMPLE_CODE" /> 2177 </intent-filter> 2178 </activity> 2179 2180 <activity android:name=".view.List16" android:label="Views/Lists/16. Border selection mode"> 2181 <intent-filter> 2182 <action android:name="android.intent.action.MAIN" /> 2183 <category android:name="android.intent.category.SAMPLE_CODE" /> 2184 </intent-filter> 2185 </activity> 2186 2187 <activity android:name=".view.List17" android:label="Views/Lists/17. Activate items"> 2188 <intent-filter> 2189 <action android:name="android.intent.action.MAIN" /> 2190 <category android:name="android.intent.category.SAMPLE_CODE" /> 2191 </intent-filter> 2192 </activity> 2193 2194 <activity android:name=".view.ExpandableList1" android:label="Views/Expandable Lists/1. Custom Adapter"> 2195 <intent-filter> 2196 <action android:name="android.intent.action.MAIN" /> 2197 <category android:name="android.intent.category.SAMPLE_CODE" /> 2198 </intent-filter> 2199 </activity> 2200 2201 <activity android:name=".view.ExpandableList2" android:label="Views/Expandable Lists/2. Cursor (People)"> 2202 <intent-filter> 2203 <action android:name="android.intent.action.MAIN" /> 2204 <category android:name="android.intent.category.SAMPLE_CODE" /> 2205 </intent-filter> 2206 </activity> 2207 2208 <activity android:name=".view.ExpandableList3" android:label="Views/Expandable Lists/3. Simple Adapter"> 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=".view.CustomView1" 2216 android:label="Views/Custom" 2217 android:theme="@android:style/Theme.Light"> 2218 <intent-filter> 2219 <action android:name="android.intent.action.MAIN" /> 2220 <category android:name="android.intent.category.SAMPLE_CODE" /> 2221 </intent-filter> 2222 </activity> 2223 2224 <activity android:name=".view.Spinner1" android:label="Views/Spinner"> 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.Grid1" android:label="Views/Grid/1. Icon Grid"> 2232 <intent-filter> 2233 <action android:name="android.intent.action.MAIN" /> 2234 <category android:name="android.intent.category.SAMPLE_CODE" /> 2235 </intent-filter> 2236 </activity> 2237 2238 <activity android:name=".view.Grid2" android:label="Views/Grid/2. Photo Grid"> 2239 <intent-filter> 2240 <action android:name="android.intent.action.MAIN" /> 2241 <category android:name="android.intent.category.SAMPLE_CODE" /> 2242 </intent-filter> 2243 </activity> 2244 2245 <activity android:name=".view.Grid3" 2246 android:label="Views/Grid/3. Selection Mode"> 2247 <intent-filter> 2248 <action android:name="android.intent.action.MAIN" /> 2249 <category android:name="android.intent.category.SAMPLE_CODE" /> 2250 </intent-filter> 2251 </activity> 2252 2253 <activity android:name=".view.ImageView1" 2254 android:label="Views/ImageView"> 2255 <intent-filter> 2256 <action android:name="android.intent.action.MAIN" /> 2257 <category android:name="android.intent.category.SAMPLE_CODE" /> 2258 </intent-filter> 2259 </activity> 2260 2261 <activity android:name=".inputmethod.ShowInputMethodAndSubtypeEnabler" 2262 android:label="Views/Input Method/ShowInputMethodAndSubtypeEnabler"> 2263 <intent-filter> 2264 <action android:name="android.intent.action.MAIN" /> 2265 <category android:name="android.intent.category.SAMPLE_CODE" /> 2266 </intent-filter> 2267 </activity> 2268 2269 <activity android:name=".inputmethod.HintLocales" 2270 android:label="Views/Input Method/HintLocales"> 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.EditTextDemo" 2278 android:label="Views/Text/EditText"> 2279 <intent-filter> 2280 <action android:name="android.intent.action.MAIN" /> 2281 <category android:name="android.intent.category.SAMPLE_CODE" /> 2282 </intent-filter> 2283 </activity> 2284 2285 <activity android:name=".text.Link" 2286 android:label="Views/Text/Linkify"> 2287 <intent-filter> 2288 <action android:name="android.intent.action.MAIN" /> 2289 <category android:name="android.intent.category.SAMPLE_CODE" /> 2290 </intent-filter> 2291 </activity> 2292 2293 <activity android:name=".text.LogTextBox1" 2294 android:label="Views/Text/LogTextBox"> 2295 <intent-filter> 2296 <action android:name="android.intent.action.MAIN" /> 2297 <category android:name="android.intent.category.SAMPLE_CODE" /> 2298 </intent-filter> 2299 </activity> 2300 2301 <activity android:name=".text.Marquee" 2302 android:label="Views/Text/Marquee"> 2303 <intent-filter> 2304 <action android:name="android.intent.action.MAIN" /> 2305 <category android:name="android.intent.category.SAMPLE_CODE" /> 2306 </intent-filter> 2307 </activity> 2308 2309 <activity android:name=".view.TextClockDemo" 2310 android:label="Views/Text/TextClock"> 2311 <intent-filter> 2312 <action android:name="android.intent.action.MAIN" /> 2313 <category android:name="android.intent.category.SAMPLE_CODE" /> 2314 </intent-filter> 2315 </activity> 2316 2317 <activity android:name=".view.TextSwitcher1" 2318 android:label="Views/Text/TextSwitcher"> 2319 <intent-filter> 2320 <action android:name="android.intent.action.MAIN" /> 2321 <category android:name="android.intent.category.SAMPLE_CODE" /> 2322 </intent-filter> 2323 </activity> 2324 2325 <activity android:name=".view.TextViewDemo" 2326 android:label="Views/Text/TextView"> 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.ImageButton1" 2334 android:label="Views/ImageButton"> 2335 <intent-filter> 2336 <action android:name="android.intent.action.MAIN" /> 2337 <category android:name="android.intent.category.SAMPLE_CODE" /> 2338 </intent-filter> 2339 </activity> 2340 2341 <activity android:name=".view.Animation1" android:label="Views/Animation/Shake"> 2342 <intent-filter> 2343 <action android:name="android.intent.action.MAIN" /> 2344 <category android:name="android.intent.category.SAMPLE_CODE" /> 2345 </intent-filter> 2346 </activity> 2347 2348 <activity android:name=".view.Animation2" android:label="Views/Animation/Push"> 2349 <intent-filter> 2350 <action android:name="android.intent.action.MAIN" /> 2351 <category android:name="android.intent.category.SAMPLE_CODE" /> 2352 </intent-filter> 2353 </activity> 2354 2355 <activity android:name=".view.Animation3" android:label="Views/Animation/Interpolators"> 2356 <intent-filter> 2357 <action android:name="android.intent.action.MAIN" /> 2358 <category android:name="android.intent.category.SAMPLE_CODE" /> 2359 </intent-filter> 2360 </activity> 2361 2362 <activity android:name=".view.LayoutAnimation1" android:label="Views/Layout Animation/1. Grid Fade"> 2363 <intent-filter> 2364 <action android:name="android.intent.action.MAIN" /> 2365 <category android:name="android.intent.category.SAMPLE_CODE" /> 2366 </intent-filter> 2367 </activity> 2368 2369 <activity android:name=".view.LayoutAnimation2" android:label="Views/Layout Animation/2. List Cascade"> 2370 <intent-filter> 2371 <action android:name="android.intent.action.MAIN" /> 2372 <category android:name="android.intent.category.SAMPLE_CODE" /> 2373 </intent-filter> 2374 </activity> 2375 2376 <activity android:name=".view.LayoutAnimation3" android:label="Views/Layout Animation/3. Reverse Order"> 2377 <intent-filter> 2378 <action android:name="android.intent.action.MAIN" /> 2379 <category android:name="android.intent.category.SAMPLE_CODE" /> 2380 </intent-filter> 2381 </activity> 2382 2383 <activity android:name=".view.LayoutAnimation4" android:label="Views/Layout Animation/4. Randomize"> 2384 <intent-filter> 2385 <action android:name="android.intent.action.MAIN" /> 2386 <category android:name="android.intent.category.SAMPLE_CODE" /> 2387 </intent-filter> 2388 </activity> 2389 2390 <activity android:name=".view.LayoutAnimation5" android:label="Views/Layout Animation/5. Grid Direction"> 2391 <intent-filter> 2392 <action android:name="android.intent.action.MAIN" /> 2393 <category android:name="android.intent.category.SAMPLE_CODE" /> 2394 </intent-filter> 2395 </activity> 2396 2397 <activity android:name=".view.LayoutAnimation6" android:label="Views/Layout Animation/6. Wave Scale"> 2398 <intent-filter> 2399 <action android:name="android.intent.action.MAIN" /> 2400 <category android:name="android.intent.category.SAMPLE_CODE" /> 2401 </intent-filter> 2402 </activity> 2403 2404 <activity android:name=".view.LayoutAnimation7" android:label="Views/Layout Animation/7. Nested Animations"> 2405 <intent-filter> 2406 <action android:name="android.intent.action.MAIN" /> 2407 <category android:name="android.intent.category.SAMPLE_CODE" /> 2408 </intent-filter> 2409 </activity> 2410 2411 <activity android:name=".view.Controls1" 2412 android:label="Views/Controls/1. Light Theme" 2413 android:theme="@android:style/Theme.Light"> 2414 <intent-filter> 2415 <action android:name="android.intent.action.MAIN" /> 2416 <category android:name="android.intent.category.SAMPLE_CODE" /> 2417 </intent-filter> 2418 </activity> 2419 2420 <activity android:name=".view.Controls2" 2421 android:label="Views/Controls/2. Dark Theme" 2422 android:theme="@android:style/Theme"> 2423 <intent-filter> 2424 <action android:name="android.intent.action.MAIN" /> 2425 <category android:name="android.intent.category.SAMPLE_CODE" /> 2426 </intent-filter> 2427 </activity> 2428 2429 <activity android:name=".view.Controls3" 2430 android:label="Views/Controls/3. Holo Light Theme" 2431 android:theme="@android:style/Theme.Holo.Light" 2432 android:enabled="@bool/atLeastHoneycomb"> 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.Controls4" 2440 android:label="Views/Controls/4. Holo Dark Theme" 2441 android:theme="@android:style/Theme.Holo" 2442 android:enabled="@bool/atLeastHoneycomb"> 2443 <intent-filter> 2444 <action android:name="android.intent.action.MAIN" /> 2445 <category android:name="android.intent.category.SAMPLE_CODE" /> 2446 </intent-filter> 2447 </activity> 2448 2449 <activity android:name=".view.ControlsMaterialLight" 2450 android:label="Views/Controls/5. Material Light Theme" 2451 android:theme="@android:style/Theme.Material.Light" 2452 android:enabled="@bool/atLeastLRelease"> 2453 <intent-filter> 2454 <action android:name="android.intent.action.MAIN" /> 2455 <category android:name="android.intent.category.SAMPLE_CODE" /> 2456 </intent-filter> 2457 </activity> 2458 2459 <activity android:name=".view.ControlsMaterialDark" 2460 android:label="Views/Controls/6. Material Dark Theme" 2461 android:theme="@android:style/Theme.Material" 2462 android:enabled="@bool/atLeastLRelease"> 2463 <intent-filter> 2464 <action android:name="android.intent.action.MAIN" /> 2465 <category android:name="android.intent.category.SAMPLE_CODE" /> 2466 </intent-filter> 2467 </activity> 2468 2469 <activity android:name=".view.Controls7" 2470 android:label="Views/Controls/7. Custom Theme" 2471 android:theme="@style/CustomTheme"> 2472 <intent-filter> 2473 <action android:name="android.intent.action.MAIN" /> 2474 <category android:name="android.intent.category.SAMPLE_CODE" /> 2475 </intent-filter> 2476 </activity> 2477 2478 <activity android:name=".view.Controls8" 2479 android:label="Views/Controls/8. Current or Old Theme" 2480 android:theme="@style/ThemeCurrent"> 2481 <intent-filter> 2482 <action android:name="android.intent.action.MAIN" /> 2483 <category android:name="android.intent.category.SAMPLE_CODE" /> 2484 </intent-filter> 2485 </activity> 2486 2487 <activity android:name=".view.Controls9" 2488 android:label="Views/Controls/9. Default Theme"> 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.Buttons1" 2496 android:label="Views/Buttons"> 2497 <intent-filter> 2498 <action android:name="android.intent.action.MAIN" /> 2499 <category android:name="android.intent.category.SAMPLE_CODE" /> 2500 </intent-filter> 2501 </activity> 2502 2503 <activity android:name=".view.AutoComplete1" android:label="Views/Auto Complete/1. Screen Top"> 2504 <intent-filter> 2505 <action android:name="android.intent.action.MAIN" /> 2506 <category android:name="android.intent.category.SAMPLE_CODE" /> 2507 </intent-filter> 2508 </activity> 2509 2510 <activity android:name=".view.AutoComplete2" android:label="Views/Auto Complete/2. Screen Bottom"> 2511 <intent-filter> 2512 <action android:name="android.intent.action.MAIN" /> 2513 <category android:name="android.intent.category.SAMPLE_CODE" /> 2514 </intent-filter> 2515 </activity> 2516 2517 <activity android:name=".view.AutoComplete3" android:label="Views/Auto Complete/3. Scroll"> 2518 <intent-filter> 2519 <action android:name="android.intent.action.MAIN" /> 2520 <category android:name="android.intent.category.SAMPLE_CODE" /> 2521 </intent-filter> 2522 </activity> 2523 2524 <activity android:name=".view.AutoComplete4" android:label="Views/Auto Complete/4. Contacts"> 2525 <intent-filter> 2526 <action android:name="android.intent.action.MAIN" /> 2527 <category android:name="android.intent.category.SAMPLE_CODE" /> 2528 </intent-filter> 2529 </activity> 2530 2531 <activity android:name=".view.AutoComplete5" android:label="Views/Auto Complete/5. Contacts with Hint"> 2532 <intent-filter> 2533 <action android:name="android.intent.action.MAIN" /> 2534 <category android:name="android.intent.category.SAMPLE_CODE" /> 2535 </intent-filter> 2536 </activity> 2537 2538 <activity android:name=".view.AutoComplete6" android:label="Views/Auto Complete/6. Multiple items"> 2539 <intent-filter> 2540 <action android:name="android.intent.action.MAIN" /> 2541 <category android:name="android.intent.category.SAMPLE_CODE" /> 2542 </intent-filter> 2543 </activity> 2544 2545 <activity android:name=".view.ProgressBar1" android:label="Views/Progress Bar/1. Incremental"> 2546 <intent-filter> 2547 <action android:name="android.intent.action.MAIN" /> 2548 <category android:name="android.intent.category.SAMPLE_CODE" /> 2549 </intent-filter> 2550 </activity> 2551 2552 <activity android:name=".view.ProgressBar2" android:label="Views/Progress Bar/2. Smooth"> 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.ProgressBar3" android:label="Views/Progress Bar/3. Dialogs"> 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.SeekBar1" android:label="Views/Seek Bar"> 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.NumberPickerActivity" android:label="Views/Number Picker"> 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.OverlayWindowActivity" android:label="Views/Overlay Window"> 2581 <intent-filter> 2582 <action android:name="android.intent.action.MAIN" /> 2583 <category android:name="android.intent.category.SAMPLE_CODE" /> 2584 </intent-filter> 2585 </activity> 2586 2587 <activity android:name=".view.RatingBar1" android:label="Views/Rating Bar"> 2588 <intent-filter> 2589 <action android:name="android.intent.action.MAIN" /> 2590 <category android:name="android.intent.category.SAMPLE_CODE" /> 2591 </intent-filter> 2592 </activity> 2593 2594 <activity android:name=".view.Focus1" android:label="Views/Focus/1. Vertical"> 2595 <intent-filter> 2596 <action android:name="android.intent.action.MAIN" /> 2597 <category android:name="android.intent.category.SAMPLE_CODE" /> 2598 </intent-filter> 2599 </activity> 2600 2601 <activity android:name=".view.Focus2" android:label="Views/Focus/2. Horizontal"> 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.Focus3" android:label="Views/Focus/3. Circular"> 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.InternalSelectionFocus" android:label="Views/Focus/4. Internal Selection"> 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.Focus5" android:label="Views/Focus/5. Sequential (Tab Order)"> 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.WindowFocusObserver" 2630 android:label="Views/Focus/6. Window Focus Observer"> 2631 <intent-filter> 2632 <action android:name="android.intent.action.MAIN" /> 2633 <category android:name="android.intent.category.SAMPLE_CODE" /> 2634 </intent-filter> 2635 </activity> 2636 2637 <activity android:name=".view.DateWidgets1" android:label="Views/Date Widgets/1. Dialog"> 2638 <intent-filter> 2639 <action android:name="android.intent.action.MAIN" /> 2640 <category android:name="android.intent.category.SAMPLE_CODE" /> 2641 </intent-filter> 2642 </activity> 2643 2644 <activity android:name=".view.DateWidgets2" android:label="Views/Date Widgets/2. Inline"> 2645 <intent-filter> 2646 <action android:name="android.intent.action.MAIN" /> 2647 <category android:name="android.intent.category.SAMPLE_CODE" /> 2648 </intent-filter> 2649 </activity> 2650 2651 <activity android:name=".view.PopupMenu1" android:label="Views/Popup Menu"> 2652 <intent-filter> 2653 <action android:name="android.intent.action.MAIN" /> 2654 <category android:name="android.intent.category.SAMPLE_CODE" /> 2655 </intent-filter> 2656 </activity> 2657 2658 <activity android:name=".view.SearchViewActionBar" android:label="Views/Search View/Action Bar" 2659 android:theme="@android:style/Theme.Holo"> 2660 <intent-filter> 2661 <action android:name="android.intent.action.MAIN" /> 2662 <category android:name="android.intent.category.SAMPLE_CODE" /> 2663 </intent-filter> 2664 <meta-data android:name="android.app.default_searchable" 2665 android:value=".app.SearchQueryResults" /> 2666 </activity> 2667 2668 <activity android:name=".view.SearchViewAlwaysVisible" android:label="Views/Search View/Always Expanded" 2669 android:theme="@android:style/Theme.Holo"> 2670 <intent-filter> 2671 <action android:name="android.intent.action.MAIN" /> 2672 <category android:name="android.intent.category.SAMPLE_CODE" /> 2673 </intent-filter> 2674 <meta-data android:name="android.app.default_searchable" 2675 android:value=".app.SearchQueryResults" /> 2676 </activity> 2677 2678 <activity android:name=".view.SearchViewFilterMode" android:label="Views/Search View/Filter" 2679 android:theme="@android:style/Theme.Holo"> 2680 <intent-filter> 2681 <action android:name="android.intent.action.MAIN" /> 2682 <category android:name="android.intent.category.SAMPLE_CODE" /> 2683 </intent-filter> 2684 </activity> 2685 2686 <activity android:name=".view.RotatingButton" android:label="Views/Rotating Button"> 2687 <intent-filter> 2688 <action android:name="android.intent.action.MAIN" /> 2689 <category android:name="android.intent.category.SAMPLE_CODE" /> 2690 </intent-filter> 2691 </activity> 2692 2693 <activity android:name=".view.SecureView" android:label="Views/Secure View"> 2694 <intent-filter> 2695 <action android:name="android.intent.action.MAIN" /> 2696 <category android:name="android.intent.category.SAMPLE_CODE" /> 2697 </intent-filter> 2698 </activity> 2699 2700 <activity android:name=".view.SplitTouchView" android:label="Views/Splitting Touches across Views"> 2701 <intent-filter> 2702 <action android:name="android.intent.action.MAIN" /> 2703 <category android:name="android.intent.category.SAMPLE_CODE" /> 2704 </intent-filter> 2705 </activity> 2706 2707 <activity android:name=".view.DragAndDropDemo" 2708 android:label="Views/Drag and Drop" 2709 android:hardwareAccelerated="false" 2710 android:enabled="@bool/atLeastHoneycomb"> 2711 <intent-filter> 2712 <action android:name="android.intent.action.MAIN" /> 2713 <category android:name="android.intent.category.SAMPLE_CODE" /> 2714 </intent-filter> 2715 </activity> 2716 2717 <activity android:name=".view.GameControllerInput" android:label="Views/Game Controller Input"> 2718 <intent-filter> 2719 <action android:name="android.intent.action.MAIN" /> 2720 <category android:name="android.intent.category.SAMPLE_CODE" /> 2721 </intent-filter> 2722 </activity> 2723 2724 <activity android:name=".view.Hover" android:label="Views/Hover Events"> 2725 <intent-filter> 2726 <action android:name="android.intent.action.MAIN" /> 2727 <category android:name="android.intent.category.SAMPLE_CODE" /> 2728 </intent-filter> 2729 </activity> 2730 2731 <activity android:name=".view.SystemUIModes" 2732 android:label="Views/System UI Visibility/System UI Modes" 2733 android:uiOptions="splitActionBarWhenNarrow" 2734 android:enabled="@bool/atLeastJellyBeanMR2"> 2735 <intent-filter> 2736 <action android:name="android.intent.action.MAIN" /> 2737 <category android:name="android.intent.category.SAMPLE_CODE" /> 2738 </intent-filter> 2739 </activity> 2740 2741 <activity android:name=".view.SystemUIModesOverlay" 2742 android:label="Views/System UI Visibility/System UI Modes Overlay" 2743 android:uiOptions="splitActionBarWhenNarrow" 2744 android:enabled="@bool/atLeastJellyBean"> 2745 <intent-filter> 2746 <action android:name="android.intent.action.MAIN" /> 2747 <category android:name="android.intent.category.SAMPLE_CODE" /> 2748 </intent-filter> 2749 </activity> 2750 2751 <activity android:name=".view.ContentBrowserActivity" 2752 android:label="Views/System UI Visibility/Content Browser" 2753 android:theme="@android:style/Theme.Holo.Light.DarkActionBar" 2754 android:uiOptions="splitActionBarWhenNarrow" 2755 android:enabled="@bool/atLeastJellyBean"> 2756 <intent-filter> 2757 <action android:name="android.intent.action.MAIN" /> 2758 <category android:name="android.intent.category.SAMPLE_CODE" /> 2759 </intent-filter> 2760 </activity> 2761 2762 <activity android:name=".view.ContentBrowserNavActivity" 2763 android:label="Views/System UI Visibility/Content Browser Nav Bar" 2764 android:theme="@android:style/Theme.Holo.Light.DarkActionBar" 2765 android:uiOptions="splitActionBarWhenNarrow" 2766 android:enabled="@bool/atLeastKitKat"> 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=".view.VideoPlayerActivity" 2774 android:label="Views/System UI Visibility/Video Player" 2775 android:theme="@android:style/Theme.Holo" 2776 android:uiOptions="splitActionBarWhenNarrow" 2777 android:enabled="@bool/atLeastJellyBean"> 2778 <intent-filter> 2779 <action android:name="android.intent.action.MAIN" /> 2780 <category android:name="android.intent.category.SAMPLE_CODE" /> 2781 </intent-filter> 2782 </activity> 2783 2784 <activity android:name=".view.TranslucentBarsActivity" 2785 android:label="Views/System UI Visibility/Translucent Bars" 2786 android:theme="@android:style/Theme.Holo.NoActionBar.TranslucentDecor" 2787 android:enabled="@bool/atLeastKitKat"> 2788 <intent-filter> 2789 <action android:name="android.intent.action.MAIN" /> 2790 <category android:name="android.intent.category.SAMPLE_CODE" /> 2791 </intent-filter> 2792 </activity> 2793 2794 <activity android:name=".view.GameActivity" 2795 android:label="Views/System UI Visibility/Game" 2796 android:theme="@android:style/Theme.Holo.NoActionBar" 2797 android:enabled="@bool/atLeastKitKat"> 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=".view.Switches" android:label="Views/Switches"> 2805 <intent-filter> 2806 <action android:name="android.intent.action.MAIN" /> 2807 <category android:name="android.intent.category.SAMPLE_CODE" /> 2808 </intent-filter> 2809 </activity> 2810 2811 <activity android:name=".view.PointerShapes" android:label="Views/Pointer shapes"> 2812 <intent-filter> 2813 <action android:name="android.intent.action.MAIN" /> 2814 <category android:name="android.intent.category.SAMPLE_CODE" /> 2815 </intent-filter> 2816 </activity> 2817 2818 <activity android:name=".view.Tooltips" android:label="Views/Tooltips"> 2819 <intent-filter> 2820 <action android:name="android.intent.action.MAIN" /> 2821 <category android:name="android.intent.category.SAMPLE_CODE" /> 2822 </intent-filter> 2823 </activity> 2824 2825 <!-- ************************************* --> 2826 <!-- GRAPHICS SAMPLES --> 2827 <!-- ************************************* --> 2828 2829 <activity android:name=".graphics.kube.Kube" android:label="Graphics/OpenGL ES/Kube" 2830 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2831 <intent-filter> 2832 <action android:name="android.intent.action.MAIN" /> 2833 <category android:name="android.intent.category.SAMPLE_CODE" /> 2834 </intent-filter> 2835 </activity> 2836 2837 <activity android:name=".graphics.Compass" android:label="Graphics/Compass"> 2838 <intent-filter> 2839 <action android:name="android.intent.action.MAIN" /> 2840 <category android:name="android.intent.category.SAMPLE_CODE" /> 2841 </intent-filter> 2842 </activity> 2843 2844 <activity android:name=".graphics.CameraPreview" android:label="Graphics/CameraPreview" android:screenOrientation="landscape"> 2845 <intent-filter> 2846 <action android:name="android.intent.action.MAIN" /> 2847 <category android:name="android.intent.category.SAMPLE_CODE" /> 2848 </intent-filter> 2849 </activity> 2850 2851 <activity android:name=".graphics.CompressedTextureActivity" 2852 android:label="Graphics/OpenGL ES/Compressed Texture" 2853 android:theme="@android:style/Theme.NoTitleBar" 2854 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2855 <intent-filter> 2856 <action android:name="android.intent.action.MAIN" /> 2857 <category android:name="android.intent.category.SAMPLE_CODE" /> 2858 </intent-filter> 2859 </activity> 2860 2861 <activity android:name=".graphics.CubeMapActivity" 2862 android:label="Graphics/OpenGL ES/Cube Map" 2863 android:theme="@android:style/Theme.NoTitleBar" 2864 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2865 <intent-filter> 2866 <action android:name="android.intent.action.MAIN" /> 2867 <category android:name="android.intent.category.SAMPLE_CODE" /> 2868 </intent-filter> 2869 </activity> 2870 2871 2872 <activity android:name=".graphics.FrameBufferObjectActivity" 2873 android:label="Graphics/OpenGL ES/Frame Buffer Object" 2874 android:theme="@android:style/Theme.NoTitleBar" 2875 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2876 <intent-filter> 2877 <action android:name="android.intent.action.MAIN" /> 2878 <category android:name="android.intent.category.SAMPLE_CODE" /> 2879 </intent-filter> 2880 </activity> 2881 2882 <activity android:name=".graphics.GLSurfaceViewActivity" 2883 android:label="Graphics/OpenGL ES/GLSurfaceView" 2884 android:theme="@android:style/Theme.NoTitleBar" 2885 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2886 <intent-filter> 2887 <action android:name="android.intent.action.MAIN" /> 2888 <category android:name="android.intent.category.SAMPLE_CODE" /> 2889 </intent-filter> 2890 </activity> 2891 2892 <activity android:name=".graphics.GLES20Activity" 2893 android:label="Graphics/OpenGL ES/OpenGL ES 2.0" 2894 android:theme="@android:style/Theme.NoTitleBar" 2895 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2896 <intent-filter> 2897 <action android:name="android.intent.action.MAIN" /> 2898 <category android:name="android.intent.category.SAMPLE_CODE" /> 2899 </intent-filter> 2900 </activity> 2901 2902 <activity android:name=".graphics.MatrixPaletteActivity" 2903 android:label="Graphics/OpenGL ES/Matrix Palette Skinning" 2904 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2905 <intent-filter> 2906 <action android:name="android.intent.action.MAIN" /> 2907 <category android:name="android.intent.category.SAMPLE_CODE" /> 2908 </intent-filter> 2909 </activity> 2910 2911 <activity android:name=".graphics.TranslucentGLSurfaceViewActivity" 2912 android:label="Graphics/OpenGL ES/Translucent GLSurfaceView" 2913 android:theme="@style/Theme.Translucent" 2914 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2915 <intent-filter> 2916 <action android:name="android.intent.action.MAIN" /> 2917 <category android:name="android.intent.category.SAMPLE_CODE" /> 2918 </intent-filter> 2919 </activity> 2920 2921 <activity android:name=".graphics.TriangleActivity" 2922 android:label="Graphics/OpenGL ES/Textured Triangle" 2923 android:theme="@style/ThemeCurrentDialog" 2924 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2925 <intent-filter> 2926 <action android:name="android.intent.action.MAIN" /> 2927 <category android:name="android.intent.category.SAMPLE_CODE" /> 2928 </intent-filter> 2929 </activity> 2930 2931 <activity android:name=".graphics.spritetext.SpriteTextActivity" 2932 android:label="Graphics/OpenGL ES/Sprite Text" 2933 android:theme="@android:style/Theme.NoTitleBar" 2934 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2935 <intent-filter> 2936 <action android:name="android.intent.action.MAIN" /> 2937 <category android:name="android.intent.category.SAMPLE_CODE" /> 2938 </intent-filter> 2939 </activity> 2940 2941 <activity android:name=".graphics.TouchRotateActivity" 2942 android:label="Graphics/OpenGL ES/Touch Rotate" 2943 android:theme="@android:style/Theme.NoTitleBar" 2944 android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> 2945 <intent-filter> 2946 <action android:name="android.intent.action.MAIN" /> 2947 <category android:name="android.intent.category.SAMPLE_CODE" /> 2948 </intent-filter> 2949 </activity> 2950 2951 <activity android:name=".graphics.PolyToPoly" android:label="Graphics/PolyToPoly"> 2952 <intent-filter> 2953 <action android:name="android.intent.action.MAIN" /> 2954 <category android:name="android.intent.category.SAMPLE_CODE" /> 2955 </intent-filter> 2956 </activity> 2957 2958 <activity android:name=".graphics.ScaleToFit" android:label="Graphics/ScaleToFit"> 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.RoundRects" android:label="Graphics/RoundRects"> 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:name=".graphics.ShapeDrawable1" android:label="Graphics/Drawable/ShapeDrawable"> 2973 <intent-filter> 2974 <action android:name="android.intent.action.MAIN" /> 2975 <category android:name="android.intent.category.SAMPLE_CODE" /> 2976 </intent-filter> 2977 </activity> 2978 2979 <activity android:name=".graphics.SurfaceViewOverlay" 2980 android:label="Graphics/SurfaceView Overlay"> 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:name=".graphics.ShadowCardStack" 2988 android:label="Graphics/Shadow Card Stack" 2989 android:theme="@android:style/Theme.Material.Light"> 2990 <intent-filter> 2991 <action android:name="android.intent.action.MAIN" /> 2992 <category android:name="android.intent.category.SAMPLE_CODE" /> 2993 </intent-filter> 2994 </activity> 2995 2996 <activity android:name=".graphics.ShadowCardDrag" 2997 android:label="Graphics/Shadow Card Drag" 2998 android:theme="@android:style/Theme.Material.Light"> 2999 <intent-filter> 3000 <action android:name="android.intent.action.MAIN" /> 3001 <category android:name="android.intent.category.SAMPLE_CODE" /> 3002 </intent-filter> 3003 </activity> 3004 3005 <activity android:name=".graphics.WindowSurface" 3006 android:label="Graphics/Surface Window"> 3007 <intent-filter> 3008 <action android:name="android.intent.action.MAIN" /> 3009 <category android:name="android.intent.category.SAMPLE_CODE" /> 3010 </intent-filter> 3011 </activity> 3012 3013 <activity android:hardwareAccelerated="false" 3014 android:name=".graphics.TextAlign" android:label="Graphics/Text Align"> 3015 <intent-filter> 3016 <action android:name="android.intent.action.MAIN" /> 3017 <category android:name="android.intent.category.SAMPLE_CODE" /> 3018 </intent-filter> 3019 </activity> 3020 3021 <activity android:name=".graphics.Arcs" android:label="Graphics/Arcs"> 3022 <intent-filter> 3023 <action android:name="android.intent.action.MAIN" /> 3024 <category android:name="android.intent.category.SAMPLE_CODE" /> 3025 </intent-filter> 3026 </activity> 3027 3028 <activity android:name=".graphics.Patterns" android:label="Graphics/Patterns"> 3029 <intent-filter> 3030 <action android:name="android.intent.action.MAIN" /> 3031 <category android:name="android.intent.category.SAMPLE_CODE" /> 3032 </intent-filter> 3033 </activity> 3034 3035 <activity android:hardwareAccelerated="false" 3036 android:name=".graphics.Clipping" android:label="Graphics/Clipping"> 3037 <intent-filter> 3038 <action android:name="android.intent.action.MAIN" /> 3039 <category android:name="android.intent.category.SAMPLE_CODE" /> 3040 </intent-filter> 3041 </activity> 3042 3043 <activity android:name=".graphics.Layers" android:label="Graphics/Layers"> 3044 <intent-filter> 3045 <action android:name="android.intent.action.MAIN" /> 3046 <category android:name="android.intent.category.SAMPLE_CODE" /> 3047 </intent-filter> 3048 </activity> 3049 3050 <activity android:hardwareAccelerated="false" 3051 android:name=".graphics.UnicodeChart" android:label="Graphics/UnicodeChart"> 3052 <intent-filter> 3053 <action android:name="android.intent.action.MAIN" /> 3054 <category android:name="android.intent.category.SAMPLE_CODE" /> 3055 </intent-filter> 3056 </activity> 3057 3058 <activity android:name=".graphics.PathFillTypes" android:label="Graphics/PathFillTypes"> 3059 <intent-filter> 3060 <action android:name="android.intent.action.MAIN" /> 3061 <category android:name="android.intent.category.SAMPLE_CODE" /> 3062 </intent-filter> 3063 </activity> 3064 3065 <activity android:hardwareAccelerated="false" 3066 android:name=".graphics.Pictures" android:label="Graphics/Pictures"> 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.Vertices" android:label="Graphics/Vertices"> 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.AnimateDrawables" android:label="Graphics/AnimateDrawables"> 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.SensorTest" android:label="Graphics/SensorTest"> 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:name=".graphics.AlphaBitmap" android:label="Graphics/AlphaBitmap"> 3096 <intent-filter> 3097 <action android:name="android.intent.action.MAIN" /> 3098 <category android:name="android.intent.category.SAMPLE_CODE" /> 3099 </intent-filter> 3100 </activity> 3101 3102 <activity android:name=".graphics.Regions" android:label="Graphics/Regions"> 3103 <intent-filter> 3104 <action android:name="android.intent.action.MAIN" /> 3105 <category android:name="android.intent.category.SAMPLE_CODE" /> 3106 </intent-filter> 3107 </activity> 3108 3109 <activity android:name=".graphics.Sweep" android:label="Graphics/Sweep"> 3110 <intent-filter> 3111 <action android:name="android.intent.action.MAIN" /> 3112 <category android:name="android.intent.category.SAMPLE_CODE" /> 3113 </intent-filter> 3114 </activity> 3115 3116 <activity android:name=".graphics.BitmapMesh" android:label="Graphics/BitmapMesh"> 3117 <intent-filter> 3118 <action android:name="android.intent.action.MAIN" /> 3119 <category android:name="android.intent.category.SAMPLE_CODE" /> 3120 </intent-filter> 3121 </activity> 3122 3123 <activity android:name=".graphics.MeasureText" android:label="Graphics/MeasureText"> 3124 <intent-filter> 3125 <action android:name="android.intent.action.MAIN" /> 3126 <category android:name="android.intent.category.SAMPLE_CODE" /> 3127 </intent-filter> 3128 </activity> 3129 3130 <activity android:name=".graphics.Typefaces" android:label="Graphics/Typefaces"> 3131 <intent-filter> 3132 <action android:name="android.intent.action.MAIN" /> 3133 <category android:name="android.intent.category.SAMPLE_CODE" /> 3134 </intent-filter> 3135 </activity> 3136 3137 <activity android:name=".graphics.FingerPaint" android:label="Graphics/FingerPaint"> 3138 <intent-filter> 3139 <action android:name="android.intent.action.MAIN" /> 3140 <category android:name="android.intent.category.SAMPLE_CODE" /> 3141 </intent-filter> 3142 </activity> 3143 3144 <activity android:name=".graphics.ColorMatrixSample" android:label="Graphics/ColorMatrix"> 3145 <intent-filter> 3146 <action android:name="android.intent.action.MAIN" /> 3147 <category android:name="android.intent.category.SAMPLE_CODE" /> 3148 </intent-filter> 3149 </activity> 3150 3151 <activity android:hardwareAccelerated="false" 3152 android:name=".graphics.BitmapDecode" android:label="Graphics/BitmapDecode"> 3153 <intent-filter> 3154 <action android:name="android.intent.action.MAIN" /> 3155 <category android:name="android.intent.category.SAMPLE_CODE" /> 3156 </intent-filter> 3157 </activity> 3158 3159 <activity android:name=".graphics.ColorFilters" android:label="Graphics/ColorFilters"> 3160 <intent-filter> 3161 <action android:name="android.intent.action.MAIN" /> 3162 <category android:name="android.intent.category.SAMPLE_CODE" /> 3163 </intent-filter> 3164 </activity> 3165 3166 <activity android:name=".graphics.CreateBitmap" android:label="Graphics/CreateBitmap"> 3167 <intent-filter> 3168 <action android:name="android.intent.action.MAIN" /> 3169 <category android:name="android.intent.category.SAMPLE_CODE" /> 3170 </intent-filter> 3171 </activity> 3172 3173 <activity android:hardwareAccelerated="false" 3174 android:name=".graphics.DrawPoints" android:label="Graphics/Points"> 3175 <intent-filter> 3176 <action android:name="android.intent.action.MAIN" /> 3177 <category android:name="android.intent.category.SAMPLE_CODE" /> 3178 </intent-filter> 3179 </activity> 3180 3181 <activity android:name=".graphics.TouchPaint" android:label="Graphics/Touch Paint" 3182 android:theme="@style/Theme.Black" 3183 android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenLayout|screenSize|smallestScreenSize"> 3184 <intent-filter> 3185 <action android:name="android.intent.action.MAIN" /> 3186 <category android:name="android.intent.category.SAMPLE_CODE" /> 3187 </intent-filter> 3188 </activity> 3189 3190 <activity android:name=".graphics.BitmapPixels" android:label="Graphics/BitmapPixels"> 3191 <intent-filter> 3192 <action android:name="android.intent.action.MAIN" /> 3193 <category android:name="android.intent.category.SAMPLE_CODE" /> 3194 </intent-filter> 3195 </activity> 3196 3197 <activity android:name=".graphics.Xfermodes" android:label="Graphics/Xfermodes"> 3198 <intent-filter> 3199 <action android:name="android.intent.action.MAIN" /> 3200 <category android:name="android.intent.category.SAMPLE_CODE" /> 3201 </intent-filter> 3202 </activity> 3203 3204 <activity android:name=".graphics.PathEffects" android:label="Graphics/PathEffects"> 3205 <intent-filter> 3206 <action android:name="android.intent.action.MAIN" /> 3207 <category android:name="android.intent.category.SAMPLE_CODE" /> 3208 </intent-filter> 3209 </activity> 3210 3211 <activity android:name=".graphics.GradientDrawable1" android:label="Graphics/Drawable/GradientDrawable"> 3212 <intent-filter> 3213 <action android:name="android.intent.action.MAIN" /> 3214 <category android:name="android.intent.category.SAMPLE_CODE" /> 3215 </intent-filter> 3216 </activity> 3217 3218 <activity android:name=".graphics.PurgeableBitmap" android:label="Graphics/PurgeableBitmap/NonPurgeable"> 3219 <intent-filter> 3220 <action android:name="android.intent.action.MAIN" /> 3221 <category android:name="android.intent.category.SAMPLE_CODE" /> 3222 </intent-filter> 3223 </activity> 3224 3225 <activity-alias android:targetActivity=".graphics.PurgeableBitmap" android:name="Purgeable" android:label="Graphics/PurgeableBitmap/Purgeable"> 3226 <intent-filter> 3227 <action android:name="android.intent.action.MAIN" /> 3228 <category android:name="android.intent.category.SAMPLE_CODE" /> 3229 </intent-filter> 3230 </activity-alias> 3231 3232 <activity android:name=".graphics.DensityActivity" android:label="Graphics/Density"> 3233 <intent-filter> 3234 <action android:name="android.intent.action.MAIN" /> 3235 <category android:name="android.intent.category.SAMPLE_CODE" /> 3236 </intent-filter> 3237 </activity> 3238 3239 <!-- ************************************* --> 3240 <!-- MEDIA SAMPLES --> 3241 <!-- ************************************* --> 3242 3243 <activity android:name=".media.MediaPlayerDemo" android:label="Media/MediaPlayer"> 3244 <intent-filter> 3245 <action android:name="android.intent.action.MAIN" /> 3246 <category android:name="android.intent.category.SAMPLE_CODE" /> 3247 </intent-filter> 3248 </activity> 3249 3250 <activity android:name=".media.MediaPlayerDemo_Audio" android:label="Media/MediaPlayer"> 3251 <intent-filter> 3252 <category android:name="android.intent.category.SAMPLE_CODE" /> 3253 </intent-filter> 3254 </activity> 3255 3256 <activity android:name=".media.MediaPlayerDemo_Video" android:label="Media/MediaPlayer"> 3257 <intent-filter> 3258 <category android:name="android.intent.category.SAMPLE_CODE" /> 3259 </intent-filter> 3260 </activity> 3261 3262 <activity android:name=".media.VideoViewDemo" android:label="Media/VideoView"> 3263 <intent-filter> 3264 <action android:name="android.intent.action.MAIN" /> 3265 <category android:name="android.intent.category.SAMPLE_CODE" /> 3266 </intent-filter> 3267 </activity> 3268 3269 <activity android:name=".media.AudioFxDemo" android:label="Media/AudioFx"> 3270 <intent-filter> 3271 <action android:name="android.intent.action.MAIN" /> 3272 <category android:name="android.intent.category.SAMPLE_CODE" /> 3273 </intent-filter> 3274 </activity> 3275 3276 <activity android:name=".media.projection.MediaProjectionDemo" 3277 android:label="Media/MediaProjection"> 3278 <intent-filter> 3279 <action android:name="android.intent.action.MAIN" /> 3280 <category android:name="android.intent.category.SAMPLE_CODE" /> 3281 </intent-filter> 3282 </activity> 3283 3284 <!-- ************************************* --> 3285 <!-- APPWIDGET PACKAGE SAMPLES --> 3286 <!-- ************************************* --> 3287 3288 <receiver android:name=".appwidget.ExampleAppWidgetProvider"> 3289 <meta-data android:name="android.appwidget.provider" 3290 android:resource="@xml/appwidget_provider" /> 3291 <intent-filter> 3292 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> 3293 </intent-filter> 3294 </receiver> 3295 3296 <activity android:name=".appwidget.ExampleAppWidgetConfigure"> 3297 <intent-filter> 3298 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> 3299 </intent-filter> 3300 </activity> 3301 3302 <receiver android:name=".appwidget.ExampleBroadcastReceiver" android:enabled="false"> 3303 <intent-filter> 3304 <action android:name="android.intent.ACTION_TIMEZONE_CHANGED" /> 3305 <action android:name="android.intent.ACTION_TIME" /> 3306 </intent-filter> 3307 </receiver> 3308 3309 <!-- ************************************* --> 3310 <!-- OTHER SAMPLES --> 3311 <!-- ************************************* --> 3312 3313 <activity android:name=".nfc.ForegroundDispatch" android:label="NFC/ForegroundDispatch"> 3314 <intent-filter> 3315 <action android:name="android.intent.action.MAIN" /> 3316 <category android:name="android.intent.category.SAMPLE_CODE" /> 3317 </intent-filter> 3318 </activity> 3319 3320 <activity android:name=".nfc.TechFilter" android:label="NFC/TechFilter"> 3321 <intent-filter> 3322 <action android:name="android.intent.action.MAIN" /> 3323 <category android:name="android.intent.category.SAMPLE_CODE" /> 3324 </intent-filter> 3325 3326 <!-- Add a technology filter --> 3327 <intent-filter> 3328 <action android:name="android.nfc.action.TECH_DISCOVERED" /> 3329 </intent-filter> 3330 3331 <meta-data android:name="android.nfc.action.TECH_DISCOVERED" 3332 android:resource="@xml/filter_nfc" 3333 /> 3334 </activity> 3335 3336 <activity android:name=".nfc.ForegroundNdefPush" android:label="NFC/ForegroundNdefPush"> 3337 <intent-filter> 3338 <action android:name="android.intent.action.MAIN" /> 3339 <category android:name="android.intent.category.SAMPLE_CODE" /> 3340 </intent-filter> 3341 </activity> 3342 3343 <activity android:name=".security.KeyStoreUsage" android:label="Security/KeyStore" 3344 android:windowSoftInputMode="adjustPan"> 3345 <intent-filter> 3346 <action android:name="android.intent.action.MAIN" /> 3347 <category android:name="android.intent.category.SAMPLE_CODE" /> 3348 </intent-filter> 3349 </activity> 3350 </application> 3351 3352 <instrumentation android:name=".app.LocalSampleInstrumentation" 3353 android:targetPackage="com.example.android.apis" 3354 android:label="Local Sample" /> 3355 3356</manifest> 3357