<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2007 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- Declare the contents of this Android application. The namespace attribute brings in the Android platform namespace, and the package supplies a unique name for the application. When writing your own application, the package name must be changed from "com.example.*" to come from a domain that you own or have control over. --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.android.apis"> <uses-permission android:name="android.permission.READ_CONTACTS" /> <uses-permission android:name="android.permission.WRITE_CONTACTS" /> <uses-permission android:name="android.permission.VIBRATE" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.SET_WALLPAPER" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.SEND_SMS" /> <uses-permission android:name="android.permission.RECEIVE_SMS" /> <uses-permission android:name="android.permission.NFC" /> <!-- For android.media.audiofx.Visualizer --> <uses-permission android:name="android.permission.RECORD_AUDIO" /> <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14" /> <!-- We will request access to the camera, saying we require a camera of some sort but not one with autofocus capability. --> <uses-permission android:name="android.permission.CAMERA" /> <uses-feature android:name="android.hardware.camera" /> <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" /> <application android:name="ApiDemosApplication" android:label="@string/activity_sample_code" android:icon="@drawable/app_sample_code" android:hardwareAccelerated="true"> <!-- This is how we can request a library but still allow the app to be installed if it doesn't exist. --> <uses-library android:name="com.example.will.never.exist" android:required="false" /> <activity android:name="ApiDemos"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <!-- ************************************* --> <!-- APPLICATION PACKAGE SAMPLES --> <!-- ************************************* --> <!-- Activity Samples --> <activity android:name=".app.HelloWorld" android:label="@string/activity_hello_world"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.DialogActivity" android:label="@string/activity_dialog" android:theme="@android:style/Theme.Holo.Dialog"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.CustomDialogActivity" android:label="@string/activity_custom_dialog" android:theme="@style/Theme.CustomDialog"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.QuickContactsDemo" android:label="@string/quick_contacts_demo"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.WallpaperActivity" android:label="@string/activity_wallpaper" android:theme="@style/Theme.Wallpaper"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.TranslucentActivity" android:label="@string/activity_translucent" android:theme="@style/Theme.Translucent"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.TranslucentBlurActivity" android:label="@string/activity_translucent_blur" android:theme="@style/Theme.Transparent"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.Animation" android:label="@string/activity_animation"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.SaveRestoreState" android:label="@string/activity_save_restore" android:windowSoftInputMode="stateVisible|adjustResize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.PersistentState" android:label="@string/activity_persistent" android:windowSoftInputMode="stateVisible|adjustResize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.ActivityRecreate" android:label="@string/activity_recreate" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.FinishAffinity" android:label="@string/activity_finish_affinity" android:taskAffinity=":finishing" android:enabled="@bool/atLeastJellyBean"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.SoftInputModes" android:label="@string/soft_input_modes"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.ReceiveResult" android:label="@string/activity_receive_result"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.SendResult" android:theme="@style/ThemeDialogWhenLarge"> </activity> <activity android:name=".app.Forwarding" android:label="@string/activity_forwarding"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.ForwardTarget"> </activity> <activity android:name=".app.RedirectEnter" android:label="@string/activity_redirect"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.RedirectMain"> </activity> <activity android:name=".app.RedirectGetter"> </activity> <!-- This sample doesn't work with the new action bar, so use the old style theme. --> <activity android:name=".app.CustomTitle" android:label="@string/activity_custom_title" android:windowSoftInputMode="stateVisible|adjustPan" android:theme="@android:style/Theme"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.ReorderOnLaunch" android:label="@string/activity_reorder"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.ReorderTwo" /> <activity android:name=".app.ReorderThree" /> <activity android:name=".app.ReorderFour" /> <activity android:name=".app.SetWallpaperActivity" android:label="@string/activity_setwallpaper"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.ScreenOrientation" android:label="@string/activity_screen_orientation"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- Fragment Samples --> <activity android:name=".app.FragmentAlertDialog" android:label="@string/fragment_alert_dialog" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.FragmentArguments" android:label="@string/fragment_arguments" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.FragmentCustomAnimations" android:label="@string/fragment_custom_animations" android:enabled="@bool/atLeastHoneycombMR2"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.FragmentHideShow" android:label="@string/fragment_hide_show" android:windowSoftInputMode="stateUnchanged" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.FragmentContextMenu" android:label="@string/fragment_context_menu" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.FragmentDialog" android:label="@string/fragment_dialog" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.FragmentDialogOrActivity" android:label="@string/fragment_dialog_or_activity" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.FragmentLayout" android:label="@string/fragment_layout" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.FragmentLayout$DetailsActivity" android:enabled="@bool/atLeastHoneycomb" /> <activity android:name=".app.FragmentListArray" android:label="@string/fragment_list_array" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.FragmentMenu" android:label="@string/fragment_menu" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.FragmentRetainInstance" android:label="@string/fragment_retain_instance" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.FragmentReceiveResult" android:label="@string/fragment_receive_result" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.FragmentStack" android:label="@string/fragment_stack" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.FragmentTabs" android:label="@string/fragment_tabs" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- Loader Samples --> <activity android:name=".app.LoaderCursor" android:label="@string/loader_cursor" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.LoaderCustom" android:label="@string/loader_custom" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- BEGIN_INCLUDE(loader_throttle) --> <activity android:name=".app.LoaderThrottle" android:label="@string/loader_throttle" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <provider android:name=".app.LoaderThrottle$SimpleProvider" android:authorities="com.example.android.apis.app.LoaderThrottle" android:enabled="@bool/atLeastHoneycomb" /> <!-- END_INCLUDE(loader_throttle) --> <activity android:name=".app.LoaderRetained" android:label="@string/loader_retained" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- Intent Samples --> <activity android:name=".app.Intents" android:label="@string/activity_intents"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.IntentActivityFlags" android:label="@string/activity_intent_activity_flags"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- Service Samples --> <service android:name=".app.LocalService" android:stopWithTask="true" /> <activity android:name=".app.LocalServiceActivities$Controller" android:label="@string/activity_local_service_controller" android:launchMode="singleTop"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.LocalServiceActivities$Binding" android:label="@string/activity_local_service_binding"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- BEGIN_INCLUDE(remote_service_declaration) --> <service android:name=".app.MessengerService" android:process=":remote" /> <!-- END_INCLUDE(remote_service_declaration) --> <activity android:name=".app.MessengerServiceActivities$Binding" android:label="@string/activity_messenger_service_binding"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <service android:name=".app.RemoteService" android:process=":remote"> <intent-filter> <!-- These are the interfaces supported by the service, which you can bind to. --> <action android:name="com.example.android.apis.app.IRemoteService" /> <action android:name="com.example.android.apis.app.ISecondary" /> <!-- This is an action code you can use to select the service without explicitly supplying the implementation class. --> <action android:name="com.example.android.apis.app.REMOTE_SERVICE" /> </intent-filter> </service> <activity android:name=".app.RemoteService$Controller" android:label="@string/activity_remote_service_controller" android:launchMode="singleTop"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.RemoteService$Binding" android:label="@string/activity_remote_service_binding"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.RemoteService$BindingOptions" android:label="@string/activity_remote_service_binding_options"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <service android:name=".app.ServiceStartArguments" /> <activity android:name=".app.ServiceStartArguments$Controller" android:label="@string/activity_service_start_arguments_controller" android:launchMode="singleTop"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <service android:name=".app.ForegroundService" /> <activity android:name=".app.ForegroundService$Controller" android:label="@string/activity_foreground_service_controller" android:launchMode="singleTop"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.IsolatedService$Controller" android:label="@string/activity_isolated_service_controller" android:launchMode="singleTop" android:enabled="@bool/atLeastJellyBean"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <service android:name=".app.IsolatedService" android:isolatedProcess="true" android:enabled="@bool/atLeastJellyBean" /> <service android:name=".app.IsolatedService2" android:isolatedProcess="true" android:enabled="@bool/atLeastJellyBean" /> <!-- Alarm Samples --> <receiver android:name=".app.OneShotAlarm" android:process=":remote" /> <receiver android:name=".app.RepeatingAlarm" android:process=":remote" /> <activity android:name=".app.AlarmController" android:label="@string/activity_alarm_controller"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <service android:name=".app.AlarmService_Service" android:process=":remote" /> <activity android:name=".app.AlarmService" android:label="@string/activity_alarm_service"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- ============================ --> <!-- Accessibility examples --> <!-- ============================ --> <activity android:name=".accessibility.ClockBackActivity" android:label="@string/accessibility_service"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <service android:name=".accessibility.ClockBackService" android:label="@string/accessibility_service_label" android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> <intent-filter> <action android:name="android.accessibilityservice.AccessibilityService" /> </intent-filter> </service> <activity android:name=".accessibility.TaskListActivity" android:label="@string/accessibility_query_window" android:enabled="@bool/atLeastIceCreamSandwich"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <service android:name=".accessibility.TaskBackService" android:label="@string/accessibility_query_window_label" android:enabled="@bool/atLeastIceCreamSandwich" android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> <intent-filter> <action android:name="android.accessibilityservice.AccessibilityService" /> </intent-filter> <meta-data android:name="android.accessibilityservice" android:resource="@xml/taskbackconfig" /> </service> <activity android:name=".accessibility.CustomViewAccessibilityActivity" android:label="@string/accessibility_custom_view" android:enabled="@bool/atLeastIceCreamSandwich"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- Instrumentation Samples --> <activity android:name=".app.LocalSample" android:label="@string/activity_local_sample"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <!-- category android:name="android.intent.category.SAMPLE_CODE" /--> </intent-filter> </activity> <activity android:name=".app.ContactsFilter" android:label="@string/activity_contacts_filter"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <!-- category android:name="android.intent.category.SAMPLE_CODE" /--> </intent-filter> </activity> <!-- Notifications samples --> <activity android:name=".app.NotifyWithText" android:label="App/Notification/NotifyWithText"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.IncomingMessage" android:label="App/Notification/IncomingMessage"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.IncomingMessageView" android:label="App/Notification/IncomingMessageView"> </activity> <!-- BEGIN_INCLUDE(interstitial_affinity) --> <activity android:name=".app.IncomingMessageInterstitial" android:label="You have messages" android:theme="@style/ThemeHoloDialog" android:launchMode="singleTask" android:taskAffinity="" android:excludeFromRecents="true"> </activity> <!-- END_INCLUDE(interstitial_affinity) --> <!-- This is used to display a notification selected by the user from StatusBarNotifications. Note the configuration here so that the activity layers on top of whatever the user is doing, allowing them to press back to return. --> <activity android:name=".app.NotificationDisplay" android:theme="@style/Theme.Transparent" android:taskAffinity="" android:excludeFromRecents="true" android:noHistory="true"> </activity> <activity android:name=".app.StatusBarNotifications" android:label="App/Notification/Status Bar" android:launchMode="singleTop"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <service android:name=".app.NotifyingService" /> <activity android:name=".app.NotifyingController" android:label="App/Notification/Notifying Service Controller"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- Dialog samples --> <activity android:name=".app.AlertDialogSamples" android:label="@string/activity_alert_dialog"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- Search Samples --> <!-- This activity represents a "typical" activity in your application from which the --> <!-- user would be allowed to invoke a search function. As noted below, the definition --> <!-- of android.app.default_searchable is more typically handled at the application --> <!-- level, where it can serve as a default for all of your activities. --> <activity android:name=".app.SearchInvoke" android:label="@string/search_invoke"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> <!-- This metadata entry causes .app.SearchQueryResults to be the default context --> <!-- whenever the user invokes search while in this Activity. --> <meta-data android:name="android.app.default_searchable" android:value=".app.SearchQueryResults" /> <!-- This is not the typical way to define android.app.default_searchable, --> <!-- and we show it here only because we wish to confine the search demo to this --> <!-- section of the ApiDemos application. --> <!-- For typical applications, it's simpler to define android.app.default_searchable --> <!-- just once, at the application level, where it serves as a default for all of --> <!-- the Activities in your package. --> </activity> <!-- This activity represents the "search" activity in your application, in which --> <!-- search results are gathered and displayed. --> <activity android:name=".app.SearchQueryResults" android:label="@string/search_query_results"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> <!-- This intent-filter identifies this activity as "searchable" --> <intent-filter> <action android:name="android.intent.action.SEARCH" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <!-- This metadata entry provides further configuration details for searches --> <!-- that are handled by this activity. --> <meta-data android:name="android.app.searchable" android:resource="@xml/searchable" /> </activity> <!-- This provider declaration informs the Search Manager that you have a provider of --> <!-- Search suggestions, and provides information about how to access it. --> <provider android:name=".app.SearchSuggestionSampleProvider" android:authorities="com.example.android.apis.SuggestionProvider" /> <!-- Shortcuts Samples --> <!-- This section of sample code shows how your application can add shortcuts to --> <!-- the launcher (home screen). Shortcuts have a three step life cycle. --> <!-- 1. Your application offers to provide shortcuts to the launcher. When --> <!-- the user installs a shortcut, an activity within your application --> <!-- generates the actual shortcut and returns it to the launcher, where it --> <!-- is shown to the user as an icon. --> <!-- 2. Any time the user clicks on an installed shortcut, an intent is sent. --> <!-- Typically this would then be handled as necessary by an activity within --> <!-- your application. --> <!-- 3. The shortcut is deleted. There is no notification to your application. --> <!-- In order provide shortcuts from your application, you provide three things: --> <!-- 1. An intent-filter declaring your ability to provide shortcuts --> <!-- 2. Code within the activity to provide the shortcuts as requested --> <!-- 3. Code elsewhere within your activity, if appropriate, to receive --> <!-- intents from the shortcut itself. --> <activity android:name=".app.LauncherShortcuts" android:label="@string/shortcuts"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- It is recommended that you use an activity-alias to provide the "CREATE_SHORTCUT" --> <!-- intent-filter. This gives you a way to set the text (and optionally the --> <!-- icon) that will be seen in the launcher's create-shortcut user interface. --> <activity-alias android:name=".app.CreateShortcuts" android:targetActivity=".app.LauncherShortcuts" android:label="@string/sample_shortcuts"> <!-- This intent-filter allows your shortcuts to be created in the launcher. --> <intent-filter> <action android:name="android.intent.action.CREATE_SHORTCUT" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity-alias> <!-- Menu Samples --> <activity android:name=".app.MenuInflateFromXml" android:label="@string/menu_from_xml_title"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- Device Admin Samples --> <activity android:name=".app.DeviceAdminSample" android:label="@string/activity_sample_device_admin"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- BEGIN_INCLUDE(device_admin_declaration) --> <receiver android:name=".app.DeviceAdminSample$DeviceAdminSampleReceiver" android:label="@string/sample_device_admin" android:description="@string/sample_device_admin_description" android:permission="android.permission.BIND_DEVICE_ADMIN"> <meta-data android:name="android.app.device_admin" android:resource="@xml/device_admin_sample" /> <intent-filter> <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> </intent-filter> </receiver> <!-- END_INCLUDE(device_admin_declaration) --> <!-- Voice Recognition Samples --> <activity android:name=".app.VoiceRecognition" android:label="@string/voice_recognition"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- Text-To-Speech Samples --> <activity android:name=".app.TextToSpeechActivity" android:label="@string/text_to_speech"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- Action Bar Samples --> <activity android:name=".app.ActionBarMechanics" android:label="@string/action_bar_mechanics" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.ActionBarUsage" android:label="@string/action_bar_usage" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.ActionBarDisplayOptions" android:label="@string/action_bar_display_options" android:logo="@drawable/apidemo_androidlogo" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.ActionBarTabs" android:label="@string/action_bar_tabs" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.ActionBarSettingsActionProviderActivity" android:label="@string/action_bar_settings_action_provider" android:enabled="@bool/atLeastIceCreamSandwich"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".app.ActionBarShareActionProviderActivity" android:label="@string/action_bar_share_action_provider" android:enabled="@bool/atLeastIceCreamSandwich"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- Accessibility Samples --> <activity android:name=".accessibility.AccessibilityNodeProviderActivity" android:label="@string/accessibility_node_provider" android:enabled="@bool/atLeastIceCreamSandwich"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- Application Updating Samples --> <!-- BEGIN_INCLUDE(app_update_declaration) --> <receiver android:name=".app.AppUpdateReceiver"> <intent-filter> <action android:name="android.intent.action.MY_PACKAGE_REPLACED" /> </intent-filter> </receiver> <!-- END_INCLUDE(app_update_declaration) --> <!-- ************************************* --> <!-- PREFERENCE PACKAGE SAMPLES --> <!-- ************************************* --> <activity android:name=".preference.FragmentPreferences" android:label="@string/fragment_preferences" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".preference.PreferenceWithHeaders" android:label="@string/preference_with_headers" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".preference.PreferencesFromXml" android:label="@string/preferences_from_xml"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".preference.PreferencesFromCode" android:label="@string/preferences_from_code"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".preference.AdvancedPreferences" android:label="@string/advanced_preferences"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".preference.LaunchingPreferences" android:label="@string/launching_preferences"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".preference.PreferenceDependencies" android:label="@string/preference_dependencies"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".preference.DefaultValues" android:label="@string/default_values"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".preference.SwitchPreference" android:label="@string/switch_preference" android:enabled="@bool/atLeastIceCreamSandwich"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- ************************************* --> <!-- CONTENT PACKAGE SAMPLES --> <!-- ************************************* --> <activity android:name=".content.ClipboardSample" android:label="@string/activity_clipboard" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".content.ExternalStorage" android:label="@string/activity_external_storage"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> <category android:name="android.intent.category.EMBED" /> </intent-filter> </activity> <activity android:name=".content.StyledText" android:label="@string/activity_styled_text"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> <category android:name="android.intent.category.EMBED" /> </intent-filter> </activity> <activity android:name=".content.ResourcesLayoutReference" android:label="@string/activity_resources_layout_reference"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> <category android:name="android.intent.category.EMBED" /> </intent-filter> </activity> <activity android:name=".content.ResourcesWidthAndHeight" android:label="@string/activity_resources_width_and_height" android:enabled="@bool/atLeastHoneycombMR2"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> <category android:name="android.intent.category.EMBED" /> </intent-filter> </activity> <activity android:name=".content.ResourcesSmallestWidth" android:label="@string/activity_resources_smallest_width" android:enabled="@bool/atLeastHoneycombMR2"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> <category android:name="android.intent.category.EMBED" /> </intent-filter> </activity> <activity android:name=".content.ReadAsset" android:label="@string/activity_read_asset"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> <category android:name="android.intent.category.EMBED" /> </intent-filter> </activity> <activity android:name=".content.ResourcesSample" android:label="@string/activity_resources"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".content.PickContact" android:label="@string/activity_pick_contact"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".content.InstallApk" android:label="@string/activity_install_apk" android:enabled="@bool/atLeastHoneycombMR2"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <provider android:name=".content.FileProvider" android:authorities="com.example.android.apis.content.FileProvider" android:enabled="@bool/atLeastHoneycombMR2" /> <!-- ************************************* --> <!-- OS PACKAGE SAMPLES --> <!-- ************************************* --> <activity android:name=".os.MorseCode" android:label="OS/Morse Code"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".os.Sensors" android:label="OS/Sensors"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".os.RotationVectorDemo" android:label="OS/Rotation Vector" android:screenOrientation="nosensor"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".os.SmsMessagingDemo" android:label="OS/SMS Messaging"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".os.SmsReceivedDialog" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:launchMode="singleInstance" /> <receiver android:name=".os.SmsMessageReceiver" android:enabled="false"> <intent-filter> <action android:name="android.provider.Telephony.SMS_RECEIVED" /> </intent-filter> </receiver> <!-- ************************************* --> <!-- ANDROID.ANIMATION PACKAGE SAMPLES --> <!-- ************************************* --> <activity android:name=".animation.AnimationLoading" android:label="Animation/Loading" android:hardwareAccelerated="false" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".animation.AnimationCloning" android:label="Animation/Cloning" android:hardwareAccelerated="false" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".animation.AnimationSeeking" android:label="Animation/Seeking" android:hardwareAccelerated="false" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".animation.AnimatorEvents" android:label="Animation/Events" android:hardwareAccelerated="false" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".animation.BouncingBalls" android:label="Animation/Bouncing Balls" android:hardwareAccelerated="false" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".animation.CustomEvaluator" android:label="Animation/Custom Evaluator" android:hardwareAccelerated="false" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".animation.ListFlipper" android:label="Animation/View Flip" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".animation.ReversingAnimation" android:label="Animation/Reversing" android:hardwareAccelerated="false" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".animation.MultiPropertyAnimation" android:label="Animation/Multiple Properties" android:hardwareAccelerated="false" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".animation.LayoutAnimations" android:label="Animation/Layout Animations" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".animation.LayoutAnimationsHideShow" android:label="Animation/Hide-Show Animations" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".animation.LayoutAnimationsByDefault" android:label="Animation/Default Layout Animations" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- ************************************* --> <!-- ANIMATION PACKAGE SAMPLES --> <!-- ************************************* --> <activity android:name=".animation.Transition3d" android:label="Views/Animation/3D Transition"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- ************************************* --> <!-- VIEW/WIDGET PACKAGE SAMPLES --> <!-- ************************************* --> <activity android:name=".view.ChronometerDemo" android:label="Views/Chronometer"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.WebView1" android:label="Views/WebView"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.RelativeLayout1" android:label="Views/Layouts/RelativeLayout/1. Vertical"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.RelativeLayout2" android:label="Views/Layouts/RelativeLayout/2. Simple Form"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LinearLayout1" android:label="Views/Layouts/LinearLayout/1. Vertical"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LinearLayout2" android:label="Views/Layouts/LinearLayout/2. Vertical (Fill Screen)"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LinearLayout3" android:label="Views/Layouts/LinearLayout/3. Vertical (Padded)"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LinearLayout4" android:label="Views/Layouts/LinearLayout/4. Horizontal"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LinearLayout5" android:label="Views/Layouts/LinearLayout/5. Simple Form"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LinearLayout6" android:label="Views/Layouts/LinearLayout/6. Uniform Size"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LinearLayout7" android:label="Views/Layouts/LinearLayout/7. Fill Parent"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LinearLayout8" android:label="Views/Layouts/LinearLayout/8. Gravity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LinearLayout9" android:label="Views/Layouts/LinearLayout/9. Layout Weight"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LinearLayout10" android:label="Views/Layouts/LinearLayout/10. Background Image"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.RadioGroup1" android:label="Views/Radio Group"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ScrollView1" android:label="Views/Layouts/ScrollView/1. Short"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ScrollView2" android:label="Views/Layouts/ScrollView/2. Long"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.HorizontalScrollView1" android:label="Views/Layouts/HorizontalScrollView"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Tabs1" android:label="Views/Tabs/1. Content By Id"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.SAMPLE_CODE"/> </intent-filter> </activity> <activity android:name=".view.Tabs2" android:label="Views/Tabs/2. Content By Factory"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.SAMPLE_CODE"/> </intent-filter> </activity> <activity android:name=".view.Tabs3" android:label="Views/Tabs/3. Content By Intent"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.SAMPLE_CODE"/> </intent-filter> </activity> <activity android:name=".view.Tabs4" android:label="Views/Tabs/4. Non Holo theme" android:theme="@android:style/Theme"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.SAMPLE_CODE"/> </intent-filter> </activity> <activity android:name=".view.Tabs5" android:label="Views/Tabs/5. Scrollable"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.SAMPLE_CODE"/> </intent-filter> </activity> <activity android:name=".view.Tabs6" android:label="Views/Tabs/6. Right aligned"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.SAMPLE_CODE"/> </intent-filter> </activity> <activity android:name=".view.InternalSelectionScroll" android:label="Views/Layouts/ScrollView/3. Internal Selection"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.TableLayout1" android:label="Views/Layouts/TableLayout/01. Basic"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.TableLayout2" android:label="Views/Layouts/TableLayout/02. Empty Cells"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.TableLayout3" android:label="Views/Layouts/TableLayout/03. Long Content"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.TableLayout4" android:label="Views/Layouts/TableLayout/04. Stretchable"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.TableLayout5" android:label="Views/Layouts/TableLayout/05. Spanning and Stretchable"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.TableLayout6" android:label="Views/Layouts/TableLayout/06. More Spanning and Stretchable"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.TableLayout7" android:label="Views/Layouts/TableLayout/07. Column Collapse"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.TableLayout8" android:label="Views/Layouts/TableLayout/08. Toggle Stretch"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.TableLayout9" android:label="Views/Layouts/TableLayout/09. Toggle Shrink"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.TableLayout10" android:label="Views/Layouts/TableLayout/10. Simple Form"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.TableLayout11" android:label="Views/Layouts/TableLayout/11. Gravity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.TableLayout12" android:label="Views/Layouts/TableLayout/12. Cell Spanning"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.GridLayout0" android:label="Views/Layouts/GridLayout/0. Simple Form (Java)"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.GridLayout1" android:label="Views/Layouts/GridLayout/1. Simple Form (XML)"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Baseline1" android:label="Views/Layouts/Baseline/1. Top"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Baseline2" android:label="Views/Layouts/Baseline/2. Bottom"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Baseline3" android:label="Views/Layouts/Baseline/3. Center"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Baseline4" android:label="Views/Layouts/Baseline/4. Everywhere"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Baseline6" android:label="Views/Layouts/Baseline/5. Multi-line"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Baseline7" android:label="Views/Layouts/Baseline/6. Relative"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.BaselineNested1" android:label="Views/Layouts/Baseline/Nested Example 1"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.BaselineNested2" android:label="Views/Layouts/Baseline/Nested Example 2"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.BaselineNested3" android:label="Views/Layouts/Baseline/Nested Example 3"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ScrollBar1" android:label="Views/ScrollBars/1. Basic"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ScrollBar2" android:label="Views/ScrollBars/2. Fancy"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ScrollBar3" android:label="Views/ScrollBars/3. Style"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Visibility1" android:label="Views/Visibility"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List1" android:label="Views/Lists/01. Array"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List2" android:label="Views/Lists/02. Cursor (People)"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List3" android:label="Views/Lists/03. Cursor (Phones)"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List4" android:label="Views/Lists/04. ListAdapter"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List5" android:label="Views/Lists/05. Separators"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List6" android:label="Views/Lists/06. ListAdapter Collapsed"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List7" android:label="Views/Lists/07. Cursor (Phones)"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List8" android:label="Views/Lists/08. Photos"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List9" android:label="Views/Lists/09. Array (Overlay)"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List10" android:label="Views/Lists/10. Single choice list"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List11" android:label="Views/Lists/11. Multiple choice list"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List12" android:label="Views/Lists/12. Transcript"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List13" android:label="Views/Lists/13. Slow Adapter"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List14" android:label="Views/Lists/14. Efficient Adapter"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List15" android:label="Views/Lists/15. Selection Mode"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List16" android:label="Views/Lists/16. Border selection mode"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.List17" android:label="Views/Lists/17. Activate items"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ExpandableList1" android:label="Views/Expandable Lists/1. Custom Adapter"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ExpandableList2" android:label="Views/Expandable Lists/2. Cursor (People)"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ExpandableList3" android:label="Views/Expandable Lists/3. Simple Adapter"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.CustomView1" android:label="Views/Custom" android:theme="@android:style/Theme.Light"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Gallery1" android:label="Views/Gallery/1. Photos"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Gallery2" android:label="Views/Gallery/2. People"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Spinner1" android:label="Views/Spinner"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Grid1" android:label="Views/Grid/1. Icon Grid"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Grid2" android:label="Views/Grid/2. Photo Grid"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Grid3" android:label="Views/Grid/3. Selection Mode"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ImageView1" android:label="Views/ImageView"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ImageSwitcher1" android:label="Views/ImageSwitcher"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.TextSwitcher1" android:label="Views/TextSwitcher"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ImageButton1" android:label="Views/ImageButton"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Animation1" android:label="Views/Animation/Shake"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Animation2" android:label="Views/Animation/Push"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Animation3" android:label="Views/Animation/Interpolators"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LayoutAnimation1" android:label="Views/Layout Animation/1. Grid Fade"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LayoutAnimation2" android:label="Views/Layout Animation/2. List Cascade"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LayoutAnimation3" android:label="Views/Layout Animation/3. Reverse Order"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LayoutAnimation4" android:label="Views/Layout Animation/4. Randomize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LayoutAnimation5" android:label="Views/Layout Animation/5. Grid Direction"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LayoutAnimation6" android:label="Views/Layout Animation/6. Wave Scale"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.LayoutAnimation7" android:label="Views/Layout Animation/7. Nested Animations"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Controls1" android:label="Views/Controls/1. Light Theme" android:theme="@android:style/Theme.Light"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Controls2" android:label="Views/Controls/2. Dark Theme" android:theme="@android:style/Theme"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Controls3" android:label="Views/Controls/3. Holo Light Theme" android:theme="@android:style/Theme.Holo.Light" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Controls4" android:label="Views/Controls/4. Holo Dark Theme" android:theme="@android:style/Theme.Holo" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Controls5" android:label="Views/Controls/5. Custom Theme" android:theme="@style/CustomTheme"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Controls6" android:label="Views/Controls/6. Holo or Old Theme" android:theme="@style/ThemeHolo"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Buttons1" android:label="Views/Buttons"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.AutoComplete1" android:label="Views/Auto Complete/1. Screen Top"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.AutoComplete2" android:label="Views/Auto Complete/2. Screen Bottom"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.AutoComplete3" android:label="Views/Auto Complete/3. Scroll"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.AutoComplete4" android:label="Views/Auto Complete/4. Contacts"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.AutoComplete5" android:label="Views/Auto Complete/5. Contacts with Hint"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.AutoComplete6" android:label="Views/Auto Complete/6. Multiple items"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ProgressBar1" android:label="Views/Progress Bar/1. Incremental"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ProgressBar2" android:label="Views/Progress Bar/2. Smooth"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ProgressBar3" android:label="Views/Progress Bar/3. Dialogs"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ProgressBar4" android:label="Views/Progress Bar/4. In Title Bar"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.SeekBar1" android:label="Views/Seek Bar"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.RatingBar1" android:label="Views/Rating Bar"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Focus1" android:label="Views/Focus/1. Vertical"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Focus2" android:label="Views/Focus/2. Horizontal"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Focus3" android:label="Views/Focus/3. Circular"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.InternalSelectionFocus" android:label="Views/Focus/4. Internal Selection"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Focus5" android:label="Views/Focus/5. Sequential (Tab Order)"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.DateWidgets1" android:label="Views/Date Widgets/1. Dialog"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.DateWidgets2" android:label="Views/Date Widgets/2. Inline"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.PopupMenu1" android:label="Views/Popup Menu"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.SearchViewActionBar" android:label="Views/Search View/Action Bar" android:theme="@android:style/Theme.Holo"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> <meta-data android:name="android.app.default_searchable" android:value=".app.SearchQueryResults" /> </activity> <activity android:name=".view.SearchViewAlwaysVisible" android:label="Views/Search View/Always Expanded" android:theme="@android:style/Theme.Holo"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> <meta-data android:name="android.app.default_searchable" android:value=".app.SearchQueryResults" /> </activity> <activity android:name=".view.SearchViewFilterMode" android:label="Views/Search View/Filter" android:theme="@android:style/Theme.Holo"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.RotatingButton" android:label="Views/Rotating Button"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.SecureView" android:label="Views/Secure View"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.SplitTouchView" android:label="Views/Splitting Touches across Views"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.DragAndDropDemo" android:label="Views/Drag and Drop" android:hardwareAccelerated="false" android:enabled="@bool/atLeastHoneycomb"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.GameControllerInput" android:label="Views/Game Controller Input"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Hover" android:label="Views/Hover Events"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.OverscanActivity" android:label="Views/System UI Visibility/System UI Modes" android:uiOptions="splitActionBarWhenNarrow"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.ContentBrowserActivity" android:label="Views/System UI Visibility/Content Browser" android:theme="@android:style/Theme.Holo.Light.DarkActionBar" android:uiOptions="splitActionBarWhenNarrow"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.VideoPlayerActivity" android:label="Views/System UI Visibility/Video Player" android:theme="@android:style/Theme.Holo" android:uiOptions="splitActionBarWhenNarrow"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".view.Switches" android:label="Views/Switches"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- ************************************* --> <!-- GRAPHICS SAMPLES --> <!-- ************************************* --> <activity android:name=".graphics.kube.Kube" android:label="Graphics/OpenGL ES/Kube" android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.Compass" android:label="Graphics/Compass"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.CameraPreview" android:label="Graphics/CameraPreview" android:screenOrientation="landscape"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.CompressedTextureActivity" android:label="Graphics/OpenGL ES/Compressed Texture" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.CubeMapActivity" android:label="Graphics/OpenGL ES/Cube Map" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.FrameBufferObjectActivity" android:label="Graphics/OpenGL ES/Frame Buffer Object" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.GLSurfaceViewActivity" android:label="Graphics/OpenGL ES/GLSurfaceView" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.GLES20Activity" android:label="Graphics/OpenGL ES/OpenGL ES 2.0" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.MatrixPaletteActivity" android:label="Graphics/OpenGL ES/Matrix Palette Skinning" android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.TranslucentGLSurfaceViewActivity" android:label="Graphics/OpenGL ES/Translucent GLSurfaceView" android:theme="@style/Theme.Translucent" android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.TriangleActivity" android:label="Graphics/OpenGL ES/Textured Triangle" android:theme="@android:style/Theme.Holo.Dialog" android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.spritetext.SpriteTextActivity" android:label="Graphics/OpenGL ES/Sprite Text" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.TouchRotateActivity" android:label="Graphics/OpenGL ES/Touch Rotate" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.PolyToPoly" android:label="Graphics/PolyToPoly"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.ScaleToFit" android:label="Graphics/ScaleToFit"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.RoundRects" android:label="Graphics/RoundRects"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.ShapeDrawable1" android:label="Graphics/Drawable/ShapeDrawable"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.SurfaceViewOverlay" android:label="Graphics/SurfaceView Overlay"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.WindowSurface" android:label="Graphics/Surface Window"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:hardwareAccelerated="false" android:name=".graphics.TextAlign" android:label="Graphics/Text Align"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.Arcs" android:label="Graphics/Arcs"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.Patterns" android:label="Graphics/Patterns"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:hardwareAccelerated="false" android:name=".graphics.Clipping" android:label="Graphics/Clipping"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.Layers" android:label="Graphics/Layers"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:hardwareAccelerated="false" android:name=".graphics.UnicodeChart" android:label="Graphics/UnicodeChart"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.PathFillTypes" android:label="Graphics/PathFillTypes"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:hardwareAccelerated="false" android:name=".graphics.Pictures" android:label="Graphics/Pictures"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:hardwareAccelerated="false" android:name=".graphics.Vertices" android:label="Graphics/Vertices"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.AnimateDrawables" android:label="Graphics/AnimateDrawables"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.SensorTest" android:label="Graphics/SensorTest"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.AlphaBitmap" android:label="Graphics/AlphaBitmap"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.Regions" android:label="Graphics/Regions"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.Sweep" android:label="Graphics/Sweep"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.BitmapMesh" android:label="Graphics/BitmapMesh"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.MeasureText" android:label="Graphics/MeasureText"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.Typefaces" android:label="Graphics/Typefaces"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.FingerPaint" android:label="Graphics/FingerPaint"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.ColorMatrixSample" android:label="Graphics/ColorMatrix"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:hardwareAccelerated="false" android:name=".graphics.BitmapDecode" android:label="Graphics/BitmapDecode"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.ColorFilters" android:label="Graphics/ColorFilters"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.CreateBitmap" android:label="Graphics/CreateBitmap"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:hardwareAccelerated="false" android:name=".graphics.DrawPoints" android:label="Graphics/Points"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.TouchPaint" android:label="Graphics/Touch Paint" android:theme="@style/Theme.Black" android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenLayout|screenSize|smallestScreenSize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.BitmapPixels" android:label="Graphics/BitmapPixels"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.Xfermodes" android:label="Graphics/Xfermodes"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.PathEffects" android:label="Graphics/PathEffects"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.GradientDrawable1" android:label="Graphics/Drawable/GradientDrawable"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".graphics.PurgeableBitmap" android:label="Graphics/PurgeableBitmap/NonPurgeable"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity-alias android:targetActivity=".graphics.PurgeableBitmap" android:name="Purgeable" android:label="Graphics/PurgeableBitmap/Purgeable"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity-alias> <activity android:name=".graphics.DensityActivity" android:label="Graphics/Density"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- ************************************* --> <!-- MEDIA SAMPLES --> <!-- ************************************* --> <activity android:name=".media.MediaPlayerDemo" android:label="Media/MediaPlayer"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".media.MediaPlayerDemo_Audio" android:label="Media/MediaPlayer"> <intent-filter> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".media.MediaPlayerDemo_Video" android:label="Media/MediaPlayer"> <intent-filter> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".media.VideoViewDemo" android:label="Media/VideoView"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".media.AudioFxDemo" android:label="Media/AudioFx"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <!-- ************************************* --> <!-- APPWIDGET PACKAGE SAMPLES --> <!-- ************************************* --> <receiver android:name=".appwidget.ExampleAppWidgetProvider"> <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_provider" /> <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> </intent-filter> </receiver> <activity android:name=".appwidget.ExampleAppWidgetConfigure"> <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> </intent-filter> </activity> <receiver android:name=".appwidget.ExampleBroadcastReceiver" android:enabled="false"> <intent-filter> <action android:name="android.intent.ACTION_TIMEZONE_CHANGED" /> <action android:name="android.intent.ACTION_TIME" /> </intent-filter> </receiver> <!-- ************************************* --> <!-- OTHER SAMPLES --> <!-- ************************************* --> <activity android:name=".text.Link" android:label="Text/Linkify"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".text.Marquee" android:label="Text/Marquee"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".text.LogTextBox1" android:label="Text/LogTextBox"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".nfc.ForegroundDispatch" android:label="NFC/ForegroundDispatch"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> <activity android:name=".nfc.TechFilter" android:label="NFC/TechFilter"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> <!-- Add a technology filter --> <intent-filter> <action android:name="android.nfc.action.TECH_DISCOVERED" /> </intent-filter> <meta-data android:name="android.nfc.action.TECH_DISCOVERED" android:resource="@xml/filter_nfc" /> </activity> <activity android:name=".nfc.ForegroundNdefPush" android:label="NFC/ForegroundNdefPush"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.SAMPLE_CODE" /> </intent-filter> </activity> </application> <instrumentation android:name=".app.LocalSampleInstrumentation" android:targetPackage="com.example.android.apis" android:label="Local Sample" /> </manifest>