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