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