The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2007 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <!-- Declare the contents of this Android application. The namespace |
| 18 | attribute brings in the Android platform namespace, and the package |
| 19 | supplies a unique name for the application. When writing your |
| 20 | own application, the package name must be changed from "com.example.*" |
| 21 | to come from a domain that you own or have control over. --> |
| 22 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 23 | package="com.example.android.apis"> |
| 24 | |
| 25 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 26 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
| 27 | <uses-permission android:name="android.permission.CAMERA" /> |
| 28 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 29 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 30 | <uses-permission android:name="android.permission.INTERNET" /> |
| 31 | |
| 32 | <application android:name="ApiDemosApplication" |
| 33 | android:label="@string/activity_sample_code" |
| 34 | android:icon="@drawable/app_sample_code" > |
| 35 | |
The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 36 | <activity android:name="ApiDemos"> |
| 37 | <intent-filter> |
| 38 | <action android:name="android.intent.action.MAIN" /> |
| 39 | <category android:name="android.intent.category.DEFAULT" /> |
| 40 | <category android:name="android.intent.category.LAUNCHER" /> |
| 41 | </intent-filter> |
| 42 | </activity> |
| 43 | |
| 44 | <!-- ************************************* --> |
| 45 | <!-- APPLICATION PACKAGE SAMPLES --> |
| 46 | <!-- ************************************* --> |
| 47 | |
| 48 | <!-- Activity Samples --> |
| 49 | |
| 50 | <activity android:name=".app.HelloWorld" android:label="@string/activity_hello_world"> |
| 51 | <intent-filter> |
| 52 | <action android:name="android.intent.action.MAIN" /> |
| 53 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 54 | </intent-filter> |
| 55 | </activity> |
| 56 | |
| 57 | <activity android:name=".app.DialogActivity" |
| 58 | android:label="@string/activity_dialog" |
| 59 | android:theme="@android:style/Theme.Dialog"> |
| 60 | <intent-filter> |
| 61 | <action android:name="android.intent.action.MAIN" /> |
| 62 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 63 | </intent-filter> |
| 64 | </activity> |
| 65 | |
| 66 | <activity android:name=".app.CustomDialogActivity" |
| 67 | android:label="@string/activity_custom_dialog" |
| 68 | android:theme="@style/Theme.CustomDialog"> |
| 69 | <intent-filter> |
| 70 | <action android:name="android.intent.action.MAIN" /> |
| 71 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 72 | </intent-filter> |
| 73 | </activity> |
| 74 | |
| 75 | <activity android:name=".app.TranslucentActivity" |
| 76 | android:label="@string/activity_translucent" |
| 77 | android:theme="@style/Theme.Translucent"> |
| 78 | <intent-filter> |
| 79 | <action android:name="android.intent.action.MAIN" /> |
| 80 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 81 | </intent-filter> |
| 82 | </activity> |
| 83 | |
| 84 | <activity android:name=".app.TranslucentBlurActivity" |
| 85 | android:label="@string/activity_translucent_blur" |
| 86 | android:theme="@style/Theme.Transparent"> |
| 87 | <intent-filter> |
| 88 | <action android:name="android.intent.action.MAIN" /> |
| 89 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 90 | </intent-filter> |
| 91 | </activity> |
| 92 | |
| 93 | <activity android:name=".app.SaveRestoreState" |
| 94 | android:label="@string/activity_save_restore" |
| 95 | android:windowSoftInputMode="stateVisible|adjustResize"> |
| 96 | <intent-filter> |
| 97 | <action android:name="android.intent.action.MAIN" /> |
| 98 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 99 | </intent-filter> |
| 100 | </activity> |
| 101 | |
| 102 | <activity android:name=".app.PersistentState" |
| 103 | android:label="@string/activity_persistent" |
| 104 | android:windowSoftInputMode="stateVisible|adjustResize"> |
| 105 | <intent-filter> |
| 106 | <action android:name="android.intent.action.MAIN" /> |
| 107 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 108 | </intent-filter> |
| 109 | </activity> |
| 110 | |
| 111 | <activity android:name=".app.ReceiveResult" android:label="@string/activity_receive_result"> |
| 112 | <intent-filter> |
| 113 | <action android:name="android.intent.action.MAIN" /> |
| 114 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 115 | </intent-filter> |
| 116 | </activity> |
| 117 | |
| 118 | <activity android:name=".app.SendResult"> |
| 119 | </activity> |
| 120 | |
| 121 | <activity android:name=".app.Forwarding" android:label="@string/activity_forwarding"> |
| 122 | <intent-filter> |
| 123 | <action android:name="android.intent.action.MAIN" /> |
| 124 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 125 | </intent-filter> |
| 126 | </activity> |
| 127 | |
| 128 | <activity android:name=".app.ForwardTarget"> |
| 129 | </activity> |
| 130 | |
| 131 | <activity android:name=".app.RedirectEnter" android:label="@string/activity_redirect"> |
| 132 | <intent-filter> |
| 133 | <action android:name="android.intent.action.MAIN" /> |
| 134 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 135 | </intent-filter> |
| 136 | </activity> |
| 137 | |
| 138 | <activity android:name=".app.RedirectMain"> |
| 139 | </activity> |
| 140 | |
| 141 | <activity android:name=".app.RedirectGetter"> |
| 142 | </activity> |
| 143 | |
| 144 | <activity android:name=".app.CustomTitle" |
| 145 | android:label="@string/activity_custom_title" |
| 146 | android:windowSoftInputMode="stateVisible|adjustPan"> |
| 147 | <intent-filter> |
| 148 | <action android:name="android.intent.action.MAIN" /> |
| 149 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 150 | </intent-filter> |
| 151 | </activity> |
| 152 | |
| 153 | <activity android:name=".app.ReorderOnLaunch" |
| 154 | android:label="@string/activity_reorder"> |
| 155 | <intent-filter> |
| 156 | <action android:name="android.intent.action.MAIN" /> |
| 157 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 158 | </intent-filter> |
| 159 | </activity> |
| 160 | |
| 161 | <activity android:name=".app.ReorderTwo" /> |
| 162 | <activity android:name=".app.ReorderThree" /> |
| 163 | <activity android:name=".app.ReorderFour" /> |
| 164 | |
| 165 | <!-- Intent Samples --> |
| 166 | |
| 167 | <activity android:name=".app.Intents" android:label="@string/activity_intents"> |
| 168 | <intent-filter> |
| 169 | <action android:name="android.intent.action.MAIN" /> |
| 170 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 171 | </intent-filter> |
| 172 | </activity> |
| 173 | |
| 174 | <!-- Service Samples --> |
| 175 | |
| 176 | <service android:name=".app.LocalService" /> |
| 177 | |
| 178 | <activity android:name=".app.LocalServiceController" android:label="@string/activity_local_service_controller"> |
| 179 | <intent-filter> |
| 180 | <action android:name="android.intent.action.MAIN" /> |
| 181 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 182 | </intent-filter> |
| 183 | </activity> |
| 184 | |
| 185 | <activity android:name=".app.LocalServiceBinding" android:label="@string/activity_local_service_binding"> |
| 186 | <intent-filter> |
| 187 | <action android:name="android.intent.action.MAIN" /> |
| 188 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 189 | </intent-filter> |
| 190 | </activity> |
| 191 | |
| 192 | <service android:name=".app.RemoteService" android:process=":remote"> |
| 193 | <intent-filter> |
| 194 | <!-- These are the interfaces supported by the service, which |
| 195 | you can bind to. --> |
| 196 | <action android:name="com.example.android.apis.app.IRemoteService" /> |
| 197 | <action android:name="com.example.android.apis.app.ISecondary" /> |
| 198 | <!-- This is an action code you can use to select the service |
| 199 | without explicitly supplying the implementation class. --> |
| 200 | <action android:name="com.example.android.apis.app.REMOTE_SERVICE" /> |
| 201 | </intent-filter> |
| 202 | </service> |
| 203 | |
| 204 | <activity android:name=".app.RemoteServiceController" android:label="@string/activity_remote_service_controller"> |
| 205 | <intent-filter> |
| 206 | <action android:name="android.intent.action.MAIN" /> |
| 207 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 208 | </intent-filter> |
| 209 | </activity> |
| 210 | |
| 211 | <activity android:name=".app.RemoteServiceBinding" android:label="@string/activity_remote_service_binding"> |
| 212 | <intent-filter> |
| 213 | <action android:name="android.intent.action.MAIN" /> |
| 214 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 215 | </intent-filter> |
| 216 | </activity> |
| 217 | |
| 218 | <service android:name=".app.ServiceStartArguments" /> |
| 219 | |
| 220 | <activity android:name=".app.ServiceStartArgumentsController" android:label="@string/activity_service_start_arguments_controller"> |
| 221 | <intent-filter> |
| 222 | <action android:name="android.intent.action.MAIN" /> |
| 223 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 224 | </intent-filter> |
| 225 | </activity> |
| 226 | |
| 227 | <!-- Alarm Samples --> |
| 228 | |
| 229 | <receiver android:name=".app.OneShotAlarm" android:process=":remote" /> |
| 230 | |
| 231 | <receiver android:name=".app.RepeatingAlarm" android:process=":remote" /> |
| 232 | |
| 233 | <activity android:name=".app.AlarmController" android:label="@string/activity_alarm_controller"> |
| 234 | <intent-filter> |
| 235 | <action android:name="android.intent.action.MAIN" /> |
| 236 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 237 | </intent-filter> |
| 238 | </activity> |
| 239 | |
| 240 | <service android:name=".app.AlarmService_Service" android:process=":remote" /> |
| 241 | |
| 242 | <activity android:name=".app.AlarmService" android:label="@string/activity_alarm_service"> |
| 243 | <intent-filter> |
| 244 | <action android:name="android.intent.action.MAIN" /> |
| 245 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 246 | </intent-filter> |
| 247 | </activity> |
| 248 | |
| 249 | <!-- Instrumentation Samples --> |
| 250 | |
| 251 | <activity android:name=".app.LocalSample" android:label="@string/activity_local_sample"> |
| 252 | <intent-filter> |
| 253 | <action android:name="android.intent.action.MAIN" /> |
| 254 | <!-- category android:name="android.intent.category.SAMPLE_CODE" /--> |
| 255 | </intent-filter> |
| 256 | </activity> |
| 257 | |
| 258 | <activity android:name=".app.ContactsFilter" android:label="@string/activity_contacts_filter"> |
| 259 | <intent-filter> |
| 260 | <action android:name="android.intent.action.MAIN" /> |
| 261 | <!-- category android:name="android.intent.category.SAMPLE_CODE" /--> |
| 262 | </intent-filter> |
| 263 | </activity> |
| 264 | |
| 265 | |
| 266 | <!-- Notifications samples --> |
| 267 | |
| 268 | <activity android:name=".app.NotifyWithText" android:label="App/Notification/NotifyWithText"> |
| 269 | <intent-filter> |
| 270 | <action android:name="android.intent.action.MAIN" /> |
| 271 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 272 | </intent-filter> |
| 273 | </activity> |
| 274 | |
| 275 | <activity android:name=".app.IncomingMessage" android:label="App/Notification/IncomingMessage"> |
| 276 | <intent-filter> |
| 277 | <action android:name="android.intent.action.MAIN" /> |
| 278 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 279 | </intent-filter> |
| 280 | </activity> |
| 281 | |
| 282 | <activity android:name=".app.IncomingMessageView" android:label="App/Notification/IncomingMessageView"> |
| 283 | <intent-filter> |
| 284 | <action android:name="android.intent.action.MAIN" /> |
| 285 | <category android:name="android.intent.category.EMBED" /> |
| 286 | </intent-filter> |
| 287 | </activity> |
| 288 | |
| 289 | <!-- This is used to display a notification selected by the user |
| 290 | from StatusBarNotifications. Note the configuration here so |
| 291 | that the activity layers on top of whatever the user is doing, |
| 292 | allowing them to press back to return. --> |
| 293 | <activity android:name=".app.NotificationDisplay" |
| 294 | android:theme="@style/Theme.Transparent" |
| 295 | android:taskAffinity="" |
| 296 | android:excludeFromRecents="true" |
| 297 | android:noHistory="true"> |
| 298 | </activity> |
| 299 | |
| 300 | <activity android:name=".app.StatusBarNotifications" |
| 301 | android:label="App/Notification/Status Bar" |
| 302 | android:launchMode="singleTop"> |
| 303 | <intent-filter> |
| 304 | <action android:name="android.intent.action.MAIN" /> |
| 305 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 306 | </intent-filter> |
| 307 | </activity> |
| 308 | |
| 309 | <service android:name=".app.NotifyingService" /> |
| 310 | |
| 311 | <activity android:name=".app.NotifyingController" android:label="App/Notification/Notifying Service Controller"> |
| 312 | <intent-filter> |
| 313 | <action android:name="android.intent.action.MAIN" /> |
| 314 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 315 | </intent-filter> |
| 316 | </activity> |
| 317 | |
| 318 | <!-- Dialog samples --> |
| 319 | <activity android:name=".app.AlertDialogSamples" android:label="@string/activity_alert_dialog"> |
| 320 | <intent-filter> |
| 321 | <action android:name="android.intent.action.MAIN" /> |
| 322 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 323 | </intent-filter> |
| 324 | </activity> |
| 325 | |
| 326 | <!-- Search Samples --> |
| 327 | |
| 328 | <!-- This activity represents a "typical" activity in your application from which the --> |
| 329 | <!-- user would be allowed to invoke a search function. As noted below, the definition --> |
| 330 | <!-- of android.app.default_searchable is more typically handled at the application --> |
| 331 | <!-- level, where it can serve as a default for all of your activities. --> |
| 332 | |
| 333 | <activity android:name=".app.SearchInvoke" |
| 334 | android:label="@string/search_invoke"> |
| 335 | <intent-filter> |
| 336 | <action android:name="android.intent.action.MAIN" /> |
| 337 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 338 | </intent-filter> |
| 339 | |
| 340 | <!-- This metadata entry causes .app.SearchQueryResults to be the default context --> |
| 341 | <!-- whenever the user invokes search while in this Activity. --> |
| 342 | <meta-data android:name="android.app.default_searchable" |
| 343 | android:value=".app.SearchQueryResults" /> |
| 344 | |
| 345 | <!-- This is not the typical way to define android.app.default_searchable, --> |
| 346 | <!-- and we show it here only because we wish to confine the search demo to this --> |
| 347 | <!-- section of the ApiDemos application. --> |
| 348 | |
| 349 | <!-- For typical applications, it's simpler to define android.app.default_searchable --> |
| 350 | <!-- just once, at the application level, where it serves as a default for all of --> |
| 351 | <!-- the Activities in your package. --> |
| 352 | </activity> |
| 353 | |
| 354 | <!-- This activity represents the "search" activity in your application, in which --> |
| 355 | <!-- search results are gathered and displayed. --> |
| 356 | |
| 357 | <activity android:name=".app.SearchQueryResults" |
| 358 | android:label="@string/search_query_results"> |
| 359 | <intent-filter> |
| 360 | <action android:name="android.intent.action.MAIN" /> |
| 361 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 362 | </intent-filter> |
| 363 | |
| 364 | <!-- This intent-filter identifies this activity as "searchable" --> |
| 365 | |
| 366 | <intent-filter> |
| 367 | <action android:name="android.intent.action.SEARCH" /> |
| 368 | <category android:name="android.intent.category.DEFAULT" /> |
| 369 | </intent-filter> |
| 370 | |
| 371 | <!-- This metadata entry provides further configuration details for searches --> |
| 372 | <!-- that are handled by this activity. --> |
| 373 | |
| 374 | <meta-data android:name="android.app.searchable" |
| 375 | android:resource="@xml/searchable" /> |
| 376 | </activity> |
| 377 | |
| 378 | <!-- This provider declaration informs the Search Manager that you have a provider of --> |
| 379 | <!-- Search suggestions, and provides information about how to access it. --> |
| 380 | |
| 381 | <provider android:name=".app.SearchSuggestionSampleProvider" |
| 382 | android:authorities="com.example.android.apis.SuggestionProvider" /> |
| 383 | |
| 384 | <!-- Shortcuts Samples --> |
| 385 | |
| 386 | <!-- This section of sample code shows how your application can add shortcuts to --> |
| 387 | <!-- the launcher (home screen). Shortcuts have a three step life cycle. --> |
| 388 | |
| 389 | <!-- 1. Your application offers to provide shortcuts to the launcher. When --> |
| 390 | <!-- the user installs a shortcut, an activity within your application --> |
| 391 | <!-- generates the actual shortcut and returns it to the launcher, where it --> |
| 392 | <!-- is shown to the user as an icon. --> |
| 393 | |
| 394 | <!-- 2. Any time the user clicks on an installed shortcut, an intent is sent. --> |
| 395 | <!-- Typically this would then be handled as necessary by an activity within --> |
| 396 | <!-- your application. --> |
| 397 | |
| 398 | <!-- 3. The shortcut is deleted. There is no notification to your application. --> |
| 399 | |
| 400 | <!-- In order provide shortcuts from your application, you provide three things: --> |
| 401 | |
| 402 | <!-- 1. An intent-filter declaring your ability to provide shortcuts --> |
| 403 | <!-- 2. Code within the activity to provide the shortcuts as requested --> |
| 404 | <!-- 3. Code elsewhere within your activity, if appropriate, to receive --> |
| 405 | <!-- intents from the shortcut itself. --> |
| 406 | |
| 407 | <activity android:name=".app.LauncherShortcuts" |
| 408 | android:label="@string/shortcuts"> |
| 409 | <intent-filter> |
| 410 | <action android:name="android.intent.action.MAIN" /> |
| 411 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 412 | </intent-filter> |
| 413 | |
| 414 | </activity> |
| 415 | |
| 416 | <!-- It is recommended that you use an activity-alias to provide the "CREATE_SHORTCUT" --> |
| 417 | <!-- intent-filter. This gives you a way to set the text (and optionally the --> |
| 418 | <!-- icon) that will be seen in the launcher's create-shortcut user interface. --> |
| 419 | |
| 420 | <activity-alias android:name=".app.CreateShortcuts" |
| 421 | android:targetActivity=".app.LauncherShortcuts" |
| 422 | android:label="@string/sample_shortcuts"> |
| 423 | |
| 424 | <!-- This intent-filter allows your shortcuts to be created in the launcher. --> |
| 425 | <intent-filter> |
| 426 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 427 | <category android:name="android.intent.category.DEFAULT" /> |
| 428 | </intent-filter> |
| 429 | |
| 430 | </activity-alias> |
| 431 | |
| 432 | <!-- Menu Samples --> |
| 433 | |
| 434 | <activity android:name=".app.MenuInflateFromXml" android:label="@string/menu_from_xml_title"> |
| 435 | <intent-filter> |
| 436 | <action android:name="android.intent.action.MAIN" /> |
| 437 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 438 | </intent-filter> |
| 439 | </activity> |
| 440 | |
| 441 | <!-- Preferences Samples --> |
| 442 | |
| 443 | <activity android:name=".app.PreferencesFromXml" android:label="@string/preferences_from_xml"> |
| 444 | <intent-filter> |
| 445 | <action android:name="android.intent.action.MAIN" /> |
| 446 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 447 | </intent-filter> |
| 448 | </activity> |
| 449 | |
| 450 | <activity android:name=".app.PreferencesFromCode" android:label="@string/preferences_from_code"> |
| 451 | <intent-filter> |
| 452 | <action android:name="android.intent.action.MAIN" /> |
| 453 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 454 | </intent-filter> |
| 455 | </activity> |
| 456 | |
| 457 | <activity android:name=".app.AdvancedPreferences" android:label="@string/advanced_preferences"> |
| 458 | <intent-filter> |
| 459 | <action android:name="android.intent.action.MAIN" /> |
| 460 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 461 | </intent-filter> |
| 462 | </activity> |
| 463 | |
| 464 | <activity android:name=".app.LaunchingPreferences" android:label="@string/launching_preferences"> |
| 465 | <intent-filter> |
| 466 | <action android:name="android.intent.action.MAIN" /> |
| 467 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 468 | </intent-filter> |
| 469 | </activity> |
| 470 | |
| 471 | <activity android:name=".app.PreferenceDependencies" android:label="@string/preference_dependencies"> |
| 472 | <intent-filter> |
| 473 | <action android:name="android.intent.action.MAIN" /> |
| 474 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 475 | </intent-filter> |
| 476 | </activity> |
| 477 | |
| 478 | <activity android:name=".app.DefaultValues" android:label="@string/default_values"> |
| 479 | <intent-filter> |
| 480 | <action android:name="android.intent.action.MAIN" /> |
| 481 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 482 | </intent-filter> |
| 483 | </activity> |
| 484 | |
| 485 | |
| 486 | <!-- Voice Recognition Samples --> |
| 487 | |
| 488 | <activity android:name=".app.VoiceRecognition" android:label="@string/voice_recognition"> |
| 489 | <intent-filter> |
| 490 | <action android:name="android.intent.action.MAIN" /> |
| 491 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 492 | </intent-filter> |
| 493 | </activity> |
| 494 | |
| 495 | <!-- ************************************* --> |
| 496 | <!-- CONTENT PACKAGE SAMPLES --> |
| 497 | <!-- ************************************* --> |
| 498 | |
| 499 | <activity android:name=".content.StyledText" android:label="@string/activity_styled_text"> |
| 500 | <intent-filter> |
| 501 | <action android:name="android.intent.action.MAIN" /> |
| 502 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 503 | <category android:name="android.intent.category.EMBED" /> |
| 504 | </intent-filter> |
| 505 | </activity> |
| 506 | |
| 507 | <activity android:name=".content.ReadAsset" android:label="@string/activity_read_asset"> |
| 508 | <intent-filter> |
| 509 | <action android:name="android.intent.action.MAIN" /> |
| 510 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 511 | <category android:name="android.intent.category.EMBED" /> |
| 512 | </intent-filter> |
| 513 | </activity> |
| 514 | |
| 515 | <activity android:name=".content.ResourcesSample" android:label="@string/activity_resources"> |
| 516 | <intent-filter> |
| 517 | <action android:name="android.intent.action.MAIN" /> |
| 518 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 519 | </intent-filter> |
| 520 | </activity> |
| 521 | |
| 522 | <!-- ************************************* --> |
| 523 | <!-- OS PACKAGE SAMPLES --> |
| 524 | <!-- ************************************* --> |
| 525 | |
| 526 | <activity android:name=".os.MorseCode" android:label="OS/Morse Code"> |
| 527 | <intent-filter> |
| 528 | <action android:name="android.intent.action.MAIN" /> |
| 529 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 530 | </intent-filter> |
| 531 | </activity> |
| 532 | |
| 533 | <activity android:name=".os.Sensors" android:label="OS/Sensors"> |
| 534 | <intent-filter> |
| 535 | <action android:name="android.intent.action.MAIN" /> |
| 536 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 537 | </intent-filter> |
| 538 | </activity> |
| 539 | |
| 540 | <!-- ************************************* --> |
| 541 | <!-- ANIMATION PACKAGE SAMPLES --> |
| 542 | <!-- ************************************* --> |
| 543 | |
| 544 | <activity android:name=".animation.Transition3d" android:label="Views/Animation/3D Transition"> |
| 545 | <intent-filter> |
| 546 | <action android:name="android.intent.action.MAIN" /> |
| 547 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 548 | </intent-filter> |
| 549 | </activity> |
| 550 | |
| 551 | <!-- ************************************* --> |
| 552 | <!-- VIEW/WIDGET PACKAGE SAMPLES --> |
| 553 | <!-- ************************************* --> |
| 554 | |
| 555 | <activity android:name=".view.ChronometerDemo" android:label="Views/Chronometer"> |
| 556 | <intent-filter> |
| 557 | <action android:name="android.intent.action.MAIN" /> |
| 558 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 559 | </intent-filter> |
| 560 | </activity> |
| 561 | <activity android:name=".view.WebView1" android:label="Views/WebView"> |
| 562 | <intent-filter> |
| 563 | <action android:name="android.intent.action.MAIN" /> |
| 564 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 565 | </intent-filter> |
| 566 | </activity> |
| 567 | |
| 568 | <activity android:name=".view.RelativeLayout1" android:label="Views/Layouts/RelativeLayout/1. Vertical"> |
| 569 | <intent-filter> |
| 570 | <action android:name="android.intent.action.MAIN" /> |
| 571 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 572 | </intent-filter> |
| 573 | </activity> |
| 574 | |
| 575 | <activity android:name=".view.RelativeLayout2" android:label="Views/Layouts/RelativeLayout/2. Simple Form"> |
| 576 | <intent-filter> |
| 577 | <action android:name="android.intent.action.MAIN" /> |
| 578 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 579 | </intent-filter> |
| 580 | </activity> |
| 581 | |
| 582 | <activity android:name=".view.LinearLayout1" android:label="Views/Layouts/LinearLayout/1. Vertical"> |
| 583 | <intent-filter> |
| 584 | <action android:name="android.intent.action.MAIN" /> |
| 585 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 586 | </intent-filter> |
| 587 | </activity> |
| 588 | |
| 589 | <activity android:name=".view.LinearLayout2" android:label="Views/Layouts/LinearLayout/2. Vertical (Fill Screen)"> |
| 590 | <intent-filter> |
| 591 | <action android:name="android.intent.action.MAIN" /> |
| 592 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 593 | </intent-filter> |
| 594 | </activity> |
| 595 | |
| 596 | <activity android:name=".view.LinearLayout3" android:label="Views/Layouts/LinearLayout/3. Vertical (Padded)"> |
| 597 | <intent-filter> |
| 598 | <action android:name="android.intent.action.MAIN" /> |
| 599 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 600 | </intent-filter> |
| 601 | </activity> |
| 602 | |
| 603 | <activity android:name=".view.LinearLayout4" android:label="Views/Layouts/LinearLayout/4. Horizontal"> |
| 604 | <intent-filter> |
| 605 | <action android:name="android.intent.action.MAIN" /> |
| 606 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 607 | </intent-filter> |
| 608 | </activity> |
| 609 | |
| 610 | <activity android:name=".view.LinearLayout5" android:label="Views/Layouts/LinearLayout/5. Simple Form"> |
| 611 | <intent-filter> |
| 612 | <action android:name="android.intent.action.MAIN" /> |
| 613 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 614 | </intent-filter> |
| 615 | </activity> |
| 616 | |
| 617 | <activity android:name=".view.LinearLayout6" android:label="Views/Layouts/LinearLayout/6. Uniform Size"> |
| 618 | <intent-filter> |
| 619 | <action android:name="android.intent.action.MAIN" /> |
| 620 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 621 | </intent-filter> |
| 622 | </activity> |
| 623 | |
| 624 | <activity android:name=".view.LinearLayout7" android:label="Views/Layouts/LinearLayout/7. Fill Parent"> |
| 625 | <intent-filter> |
| 626 | <action android:name="android.intent.action.MAIN" /> |
| 627 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 628 | </intent-filter> |
| 629 | </activity> |
| 630 | |
| 631 | <activity android:name=".view.LinearLayout8" android:label="Views/Layouts/LinearLayout/8. Gravity"> |
| 632 | <intent-filter> |
| 633 | <action android:name="android.intent.action.MAIN" /> |
| 634 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 635 | </intent-filter> |
| 636 | </activity> |
| 637 | |
| 638 | <activity android:name=".view.LinearLayout9" android:label="Views/Layouts/LinearLayout/9. Layout Weight"> |
| 639 | <intent-filter> |
| 640 | <action android:name="android.intent.action.MAIN" /> |
| 641 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 642 | </intent-filter> |
| 643 | </activity> |
| 644 | |
| 645 | <activity android:name=".view.LinearLayout10" android:label="Views/Layouts/LinearLayout/10. Background Image"> |
| 646 | <intent-filter> |
| 647 | <action android:name="android.intent.action.MAIN" /> |
| 648 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 649 | </intent-filter> |
| 650 | </activity> |
| 651 | |
| 652 | |
| 653 | <activity android:name=".view.RadioGroup1" android:label="Views/Radio Group"> |
| 654 | <intent-filter> |
| 655 | <action android:name="android.intent.action.MAIN" /> |
| 656 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 657 | </intent-filter> |
| 658 | </activity> |
| 659 | |
| 660 | <activity android:name=".view.ScrollView1" android:label="Views/Layouts/ScrollView/1. Short"> |
| 661 | <intent-filter> |
| 662 | <action android:name="android.intent.action.MAIN" /> |
| 663 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 664 | </intent-filter> |
| 665 | </activity> |
| 666 | |
| 667 | <activity android:name=".view.ScrollView2" android:label="Views/Layouts/ScrollView/2. Long"> |
| 668 | <intent-filter> |
| 669 | <action android:name="android.intent.action.MAIN" /> |
| 670 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 671 | </intent-filter> |
| 672 | </activity> |
| 673 | |
| 674 | <activity android:name=".view.Tabs1" android:label="Views/Tabs/Content By Id"> |
| 675 | <intent-filter> |
| 676 | <action android:name="android.intent.action.MAIN"/> |
| 677 | <category android:name="android.intent.category.SAMPLE_CODE"/> |
| 678 | </intent-filter> |
| 679 | </activity> |
| 680 | |
| 681 | <activity android:name=".view.Tabs2" android:label="Views/Tabs/Content By Factory"> |
| 682 | <intent-filter> |
| 683 | <action android:name="android.intent.action.MAIN"/> |
| 684 | <category android:name="android.intent.category.SAMPLE_CODE"/> |
| 685 | </intent-filter> |
| 686 | </activity> |
| 687 | |
| 688 | <activity android:name=".view.Tabs3" android:label="Views/Tabs/Content By Intent"> |
| 689 | <intent-filter> |
| 690 | <action android:name="android.intent.action.MAIN"/> |
| 691 | <category android:name="android.intent.category.SAMPLE_CODE"/> |
| 692 | </intent-filter> |
| 693 | </activity> |
| 694 | |
| 695 | <activity android:name=".view.InternalSelectionScroll" android:label="Views/Layouts/ScrollView/3. Internal Selection"> |
| 696 | <intent-filter> |
| 697 | <action android:name="android.intent.action.MAIN" /> |
| 698 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 699 | </intent-filter> |
| 700 | </activity> |
| 701 | |
| 702 | <activity android:name=".view.TableLayout1" android:label="Views/Layouts/TableLayout/01. Basic"> |
| 703 | <intent-filter> |
| 704 | <action android:name="android.intent.action.MAIN" /> |
| 705 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 706 | </intent-filter> |
| 707 | </activity> |
| 708 | |
| 709 | <activity android:name=".view.TableLayout2" android:label="Views/Layouts/TableLayout/02. Empty Cells"> |
| 710 | <intent-filter> |
| 711 | <action android:name="android.intent.action.MAIN" /> |
| 712 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 713 | </intent-filter> |
| 714 | </activity> |
| 715 | |
| 716 | <activity android:name=".view.TableLayout3" android:label="Views/Layouts/TableLayout/03. Long Content"> |
| 717 | <intent-filter> |
| 718 | <action android:name="android.intent.action.MAIN" /> |
| 719 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 720 | </intent-filter> |
| 721 | </activity> |
| 722 | |
| 723 | <activity android:name=".view.TableLayout4" android:label="Views/Layouts/TableLayout/04. Stretchable"> |
| 724 | <intent-filter> |
| 725 | <action android:name="android.intent.action.MAIN" /> |
| 726 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 727 | </intent-filter> |
| 728 | </activity> |
| 729 | |
| 730 | <activity android:name=".view.TableLayout5" android:label="Views/Layouts/TableLayout/05. Spanning and Stretchable"> |
| 731 | <intent-filter> |
| 732 | <action android:name="android.intent.action.MAIN" /> |
| 733 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 734 | </intent-filter> |
| 735 | </activity> |
| 736 | |
| 737 | <activity android:name=".view.TableLayout6" android:label="Views/Layouts/TableLayout/06. More Spanning and Stretchable"> |
| 738 | <intent-filter> |
| 739 | <action android:name="android.intent.action.MAIN" /> |
| 740 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 741 | </intent-filter> |
| 742 | </activity> |
| 743 | |
| 744 | <activity android:name=".view.TableLayout7" android:label="Views/Layouts/TableLayout/07. Column Collapse"> |
| 745 | <intent-filter> |
| 746 | <action android:name="android.intent.action.MAIN" /> |
| 747 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 748 | </intent-filter> |
| 749 | </activity> |
| 750 | |
| 751 | <activity android:name=".view.TableLayout8" android:label="Views/Layouts/TableLayout/08. Toggle Stretch"> |
| 752 | <intent-filter> |
| 753 | <action android:name="android.intent.action.MAIN" /> |
| 754 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 755 | </intent-filter> |
| 756 | </activity> |
| 757 | |
| 758 | <activity android:name=".view.TableLayout9" android:label="Views/Layouts/TableLayout/09. Toggle Shrink"> |
| 759 | <intent-filter> |
| 760 | <action android:name="android.intent.action.MAIN" /> |
| 761 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 762 | </intent-filter> |
| 763 | </activity> |
| 764 | |
| 765 | <activity android:name=".view.TableLayout10" android:label="Views/Layouts/TableLayout/10. Simple Form"> |
| 766 | <intent-filter> |
| 767 | <action android:name="android.intent.action.MAIN" /> |
| 768 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 769 | </intent-filter> |
| 770 | </activity> |
| 771 | |
| 772 | <activity android:name=".view.TableLayout11" android:label="Views/Layouts/TableLayout/11. Gravity"> |
| 773 | <intent-filter> |
| 774 | <action android:name="android.intent.action.MAIN" /> |
| 775 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 776 | </intent-filter> |
| 777 | </activity> |
| 778 | |
| 779 | <activity android:name=".view.TableLayout12" android:label="Views/Layouts/TableLayout/12. Cell Spanning"> |
| 780 | <intent-filter> |
| 781 | <action android:name="android.intent.action.MAIN" /> |
| 782 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 783 | </intent-filter> |
| 784 | </activity> |
| 785 | |
| 786 | <activity android:name=".view.Tabs1" android:label="Views/Tabs/Content By Id"> |
| 787 | <intent-filter> |
| 788 | <action android:name="android.intent.action.MAIN"/> |
| 789 | <category android:name="android.intent.category.SAMPLE_CODE"/> |
| 790 | </intent-filter> |
| 791 | </activity> |
| 792 | |
| 793 | <activity android:name=".view.Tabs2" android:label="Views/Tabs/Content By Factory"> |
| 794 | <intent-filter> |
| 795 | <action android:name="android.intent.action.MAIN"/> |
| 796 | <category android:name="android.intent.category.SAMPLE_CODE"/> |
| 797 | </intent-filter> |
| 798 | </activity> |
| 799 | |
| 800 | <activity android:name=".view.Tabs3" android:label="Views/Tabs/Content By Intent"> |
| 801 | <intent-filter> |
| 802 | <action android:name="android.intent.action.MAIN"/> |
| 803 | <category android:name="android.intent.category.SAMPLE_CODE"/> |
| 804 | </intent-filter> |
| 805 | </activity> |
| 806 | |
| 807 | <activity android:name=".view.Baseline1" android:label="Views/Layouts/Baseline/1. Top"> |
| 808 | <intent-filter> |
| 809 | <action android:name="android.intent.action.MAIN" /> |
| 810 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 811 | </intent-filter> |
| 812 | </activity> |
| 813 | |
| 814 | <activity android:name=".view.Baseline2" android:label="Views/Layouts/Baseline/2. Bottom"> |
| 815 | <intent-filter> |
| 816 | <action android:name="android.intent.action.MAIN" /> |
| 817 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 818 | </intent-filter> |
| 819 | </activity> |
| 820 | |
| 821 | <activity android:name=".view.Baseline3" android:label="Views/Layouts/Baseline/3. Center"> |
| 822 | <intent-filter> |
| 823 | <action android:name="android.intent.action.MAIN" /> |
| 824 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 825 | </intent-filter> |
| 826 | </activity> |
| 827 | |
| 828 | <activity android:name=".view.Baseline4" android:label="Views/Layouts/Baseline/4. Everywhere"> |
| 829 | <intent-filter> |
| 830 | <action android:name="android.intent.action.MAIN" /> |
| 831 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 832 | </intent-filter> |
| 833 | </activity> |
| 834 | |
| 835 | <activity android:name=".view.Baseline6" android:label="Views/Layouts/Baseline/5. Multi-line"> |
| 836 | <intent-filter> |
| 837 | <action android:name="android.intent.action.MAIN" /> |
| 838 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 839 | </intent-filter> |
| 840 | </activity> |
| 841 | |
| 842 | <activity android:name=".view.Baseline7" android:label="Views/Layouts/Baseline/6. Relative"> |
| 843 | <intent-filter> |
| 844 | <action android:name="android.intent.action.MAIN" /> |
| 845 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 846 | </intent-filter> |
| 847 | </activity> |
| 848 | |
| 849 | <activity android:name=".view.BaselineNested1" android:label="Views/Layouts/Baseline/Nested Example 1"> |
| 850 | <intent-filter> |
| 851 | <action android:name="android.intent.action.MAIN" /> |
| 852 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 853 | </intent-filter> |
| 854 | </activity> |
| 855 | |
| 856 | <activity android:name=".view.BaselineNested2" android:label="Views/Layouts/Baseline/Nested Example 2"> |
| 857 | <intent-filter> |
| 858 | <action android:name="android.intent.action.MAIN" /> |
| 859 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 860 | </intent-filter> |
| 861 | </activity> |
| 862 | |
| 863 | <activity android:name=".view.BaselineNested3" android:label="Views/Layouts/Baseline/Nested Example 3"> |
| 864 | <intent-filter> |
| 865 | <action android:name="android.intent.action.MAIN" /> |
| 866 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 867 | </intent-filter> |
| 868 | </activity> |
| 869 | |
| 870 | <activity android:name=".view.ScrollBar1" android:label="Views/ScrollBars/1. Basic"> |
| 871 | <intent-filter> |
| 872 | <action android:name="android.intent.action.MAIN" /> |
| 873 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 874 | </intent-filter> |
| 875 | </activity> |
| 876 | |
| 877 | <activity android:name=".view.ScrollBar2" android:label="Views/ScrollBars/2. Fancy"> |
| 878 | <intent-filter> |
| 879 | <action android:name="android.intent.action.MAIN" /> |
| 880 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 881 | </intent-filter> |
| 882 | </activity> |
| 883 | |
| 884 | <activity android:name=".view.ScrollBar3" android:label="Views/ScrollBars/3. Style"> |
| 885 | <intent-filter> |
| 886 | <action android:name="android.intent.action.MAIN" /> |
| 887 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 888 | </intent-filter> |
| 889 | </activity> |
| 890 | |
| 891 | <activity android:name=".view.Visibility1" android:label="Views/Visibility"> |
| 892 | <intent-filter> |
| 893 | <action android:name="android.intent.action.MAIN" /> |
| 894 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 895 | </intent-filter> |
| 896 | </activity> |
| 897 | |
| 898 | <activity android:name=".view.List1" android:label="Views/Lists/1. Array"> |
| 899 | <intent-filter> |
| 900 | <action android:name="android.intent.action.MAIN" /> |
| 901 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 902 | </intent-filter> |
| 903 | </activity> |
| 904 | |
| 905 | <activity android:name=".view.List2" android:label="Views/Lists/2. Cursor (People)"> |
| 906 | <intent-filter> |
| 907 | <action android:name="android.intent.action.MAIN" /> |
| 908 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 909 | </intent-filter> |
| 910 | </activity> |
| 911 | |
| 912 | <activity android:name=".view.List3" android:label="Views/Lists/3. Cursor (Phones)"> |
| 913 | <intent-filter> |
| 914 | <action android:name="android.intent.action.MAIN" /> |
| 915 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 916 | </intent-filter> |
| 917 | </activity> |
| 918 | |
| 919 | <activity android:name=".view.List4" android:label="Views/Lists/4. ListAdapter"> |
| 920 | <intent-filter> |
| 921 | <action android:name="android.intent.action.MAIN" /> |
| 922 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 923 | </intent-filter> |
| 924 | </activity> |
| 925 | |
| 926 | <activity android:name=".view.List5" android:label="Views/Lists/5. Separators"> |
| 927 | <intent-filter> |
| 928 | <action android:name="android.intent.action.MAIN" /> |
| 929 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 930 | </intent-filter> |
| 931 | </activity> |
| 932 | |
| 933 | <activity android:name=".view.List6" android:label="Views/Lists/6. ListAdapter Collapsed"> |
| 934 | <intent-filter> |
| 935 | <action android:name="android.intent.action.MAIN" /> |
| 936 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 937 | </intent-filter> |
| 938 | </activity> |
| 939 | |
| 940 | <activity android:name=".view.List7" android:label="Views/Lists/7. Cursor (Phones)"> |
| 941 | <intent-filter> |
| 942 | <action android:name="android.intent.action.MAIN" /> |
| 943 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 944 | </intent-filter> |
| 945 | </activity> |
| 946 | |
| 947 | <activity android:name=".view.List8" android:label="Views/Lists/8. Photos"> |
| 948 | <intent-filter> |
| 949 | <action android:name="android.intent.action.MAIN" /> |
| 950 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 951 | </intent-filter> |
| 952 | </activity> |
| 953 | |
| 954 | <activity android:name=".view.List9" android:label="Views/Lists/9. Array (Overlay)"> |
| 955 | <intent-filter> |
| 956 | <action android:name="android.intent.action.MAIN" /> |
| 957 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 958 | </intent-filter> |
| 959 | </activity> |
| 960 | |
| 961 | <activity android:name=".view.List10" android:label="Views/Lists/10. Single choice list"> |
| 962 | <intent-filter> |
| 963 | <action android:name="android.intent.action.MAIN" /> |
| 964 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 965 | </intent-filter> |
| 966 | </activity> |
| 967 | |
| 968 | <activity android:name=".view.List11" android:label="Views/Lists/11. Multiple choice list"> |
| 969 | <intent-filter> |
| 970 | <action android:name="android.intent.action.MAIN" /> |
| 971 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 972 | </intent-filter> |
| 973 | </activity> |
| 974 | |
| 975 | <activity android:name=".view.List12" android:label="Views/Lists/12. Transcript"> |
| 976 | <intent-filter> |
| 977 | <action android:name="android.intent.action.MAIN" /> |
| 978 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 979 | </intent-filter> |
| 980 | </activity> |
| 981 | |
| 982 | <activity android:name=".view.List13" android:label="Views/Lists/13. Slow Adapter"> |
| 983 | <intent-filter> |
| 984 | <action android:name="android.intent.action.MAIN" /> |
| 985 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 986 | </intent-filter> |
| 987 | </activity> |
| 988 | |
| 989 | <activity android:name=".view.List14" android:label="Views/Lists/14. Efficient Adapter"> |
| 990 | <intent-filter> |
| 991 | <action android:name="android.intent.action.MAIN" /> |
| 992 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 993 | </intent-filter> |
| 994 | </activity> |
| 995 | |
| 996 | <activity android:name=".view.ExpandableList1" android:label="Views/Expandable Lists/1. Custom Adapter"> |
| 997 | <intent-filter> |
| 998 | <action android:name="android.intent.action.MAIN" /> |
| 999 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1000 | </intent-filter> |
| 1001 | </activity> |
| 1002 | |
| 1003 | <activity android:name=".view.ExpandableList2" android:label="Views/Expandable Lists/2. Cursor (People)"> |
| 1004 | <intent-filter> |
| 1005 | <action android:name="android.intent.action.MAIN" /> |
| 1006 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1007 | </intent-filter> |
| 1008 | </activity> |
| 1009 | |
| 1010 | <activity android:name=".view.ExpandableList3" android:label="Views/Expandable Lists/3. Simple Adapter"> |
| 1011 | <intent-filter> |
| 1012 | <action android:name="android.intent.action.MAIN" /> |
| 1013 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1014 | </intent-filter> |
| 1015 | </activity> |
| 1016 | |
| 1017 | <activity android:name=".view.CustomView1" |
| 1018 | android:label="Views/Custom" |
| 1019 | android:theme="@android:style/Theme.Light"> |
| 1020 | <intent-filter> |
| 1021 | <action android:name="android.intent.action.MAIN" /> |
| 1022 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1023 | </intent-filter> |
| 1024 | </activity> |
| 1025 | |
| 1026 | <activity android:name=".view.Gallery1" android:label="Views/Gallery/1. Photos"> |
| 1027 | <intent-filter> |
| 1028 | <action android:name="android.intent.action.MAIN" /> |
| 1029 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1030 | </intent-filter> |
| 1031 | </activity> |
| 1032 | |
| 1033 | <activity android:name=".view.Gallery2" android:label="Views/Gallery/2. People"> |
| 1034 | <intent-filter> |
| 1035 | <action android:name="android.intent.action.MAIN" /> |
| 1036 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1037 | </intent-filter> |
| 1038 | </activity> |
| 1039 | |
| 1040 | <activity android:name=".view.Spinner1" android:label="Views/Spinner"> |
| 1041 | <intent-filter> |
| 1042 | <action android:name="android.intent.action.MAIN" /> |
| 1043 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1044 | </intent-filter> |
| 1045 | </activity> |
| 1046 | |
| 1047 | <activity android:name=".view.Grid1" android:label="Views/Grid/1. Icon Grid"> |
| 1048 | <intent-filter> |
| 1049 | <action android:name="android.intent.action.MAIN" /> |
| 1050 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1051 | </intent-filter> |
| 1052 | </activity> |
| 1053 | |
| 1054 | <activity android:name=".view.Grid2" android:label="Views/Grid/2. Photo Grid"> |
| 1055 | <intent-filter> |
| 1056 | <action android:name="android.intent.action.MAIN" /> |
| 1057 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1058 | </intent-filter> |
| 1059 | </activity> |
| 1060 | |
| 1061 | <activity android:name=".view.ImageView1" |
| 1062 | android:label="Views/ImageView"> |
| 1063 | <intent-filter> |
| 1064 | <action android:name="android.intent.action.MAIN" /> |
| 1065 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1066 | </intent-filter> |
| 1067 | </activity> |
| 1068 | |
| 1069 | <activity android:name=".view.ImageSwitcher1" |
| 1070 | android:label="Views/ImageSwitcher"> |
| 1071 | <intent-filter> |
| 1072 | <action android:name="android.intent.action.MAIN" /> |
| 1073 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1074 | </intent-filter> |
| 1075 | </activity> |
| 1076 | |
| 1077 | <activity android:name=".view.TextSwitcher1" |
| 1078 | android:label="Views/TextSwitcher"> |
| 1079 | <intent-filter> |
| 1080 | <action android:name="android.intent.action.MAIN" /> |
| 1081 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1082 | </intent-filter> |
| 1083 | </activity> |
| 1084 | |
| 1085 | <activity android:name=".view.ImageButton1" |
| 1086 | android:label="Views/ImageButton"> |
| 1087 | <intent-filter> |
| 1088 | <action android:name="android.intent.action.MAIN" /> |
| 1089 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1090 | </intent-filter> |
| 1091 | </activity> |
| 1092 | |
| 1093 | <activity android:name=".view.Animation1" android:label="Views/Animation/Shake"> |
| 1094 | <intent-filter> |
| 1095 | <action android:name="android.intent.action.MAIN" /> |
| 1096 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1097 | </intent-filter> |
| 1098 | </activity> |
| 1099 | |
| 1100 | <activity android:name=".view.Animation2" android:label="Views/Animation/Push"> |
| 1101 | <intent-filter> |
| 1102 | <action android:name="android.intent.action.MAIN" /> |
| 1103 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1104 | </intent-filter> |
| 1105 | </activity> |
| 1106 | |
Romain Guy | 02e8d00 | 2009-03-24 22:45:50 -0700 | [diff] [blame] | 1107 | <activity android:name=".view.Animation3" android:label="Views/Animation/Interpolators"> |
| 1108 | <intent-filter> |
| 1109 | <action android:name="android.intent.action.MAIN" /> |
| 1110 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1111 | </intent-filter> |
| 1112 | </activity> |
| 1113 | |
The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 1114 | <activity android:name=".view.LayoutAnimation1" android:label="Views/Layout Animation/1. Grid Fade"> |
| 1115 | <intent-filter> |
| 1116 | <action android:name="android.intent.action.MAIN" /> |
| 1117 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1118 | </intent-filter> |
| 1119 | </activity> |
| 1120 | |
| 1121 | <activity android:name=".view.LayoutAnimation2" android:label="Views/Layout Animation/2. List Cascade"> |
| 1122 | <intent-filter> |
| 1123 | <action android:name="android.intent.action.MAIN" /> |
| 1124 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1125 | </intent-filter> |
| 1126 | </activity> |
| 1127 | |
| 1128 | <activity android:name=".view.LayoutAnimation3" android:label="Views/Layout Animation/3. Reverse Order"> |
| 1129 | <intent-filter> |
| 1130 | <action android:name="android.intent.action.MAIN" /> |
| 1131 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1132 | </intent-filter> |
| 1133 | </activity> |
| 1134 | |
| 1135 | <activity android:name=".view.LayoutAnimation4" android:label="Views/Layout Animation/4. Randomize"> |
| 1136 | <intent-filter> |
| 1137 | <action android:name="android.intent.action.MAIN" /> |
| 1138 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1139 | </intent-filter> |
| 1140 | </activity> |
| 1141 | |
| 1142 | <activity android:name=".view.LayoutAnimation5" android:label="Views/Layout Animation/5. Grid Direction"> |
| 1143 | <intent-filter> |
| 1144 | <action android:name="android.intent.action.MAIN" /> |
| 1145 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1146 | </intent-filter> |
| 1147 | </activity> |
| 1148 | |
| 1149 | <activity android:name=".view.LayoutAnimation6" android:label="Views/Layout Animation/6. Wave Scale"> |
| 1150 | <intent-filter> |
| 1151 | <action android:name="android.intent.action.MAIN" /> |
| 1152 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1153 | </intent-filter> |
| 1154 | </activity> |
| 1155 | |
| 1156 | <activity android:name=".view.LayoutAnimation7" android:label="Views/Layout Animation/7. Nested Animations"> |
| 1157 | <intent-filter> |
| 1158 | <action android:name="android.intent.action.MAIN" /> |
| 1159 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1160 | </intent-filter> |
| 1161 | </activity> |
| 1162 | |
| 1163 | <activity android:name=".view.Controls1" |
| 1164 | android:label="Views/Controls/1. Light Theme" |
| 1165 | android:theme="@android:style/Theme.Light"> |
| 1166 | <intent-filter> |
| 1167 | <action android:name="android.intent.action.MAIN" /> |
| 1168 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1169 | </intent-filter> |
| 1170 | </activity> |
| 1171 | |
| 1172 | <activity android:name=".view.Controls2" android:label="Views/Controls/2. Default Theme"> |
| 1173 | <intent-filter> |
| 1174 | <action android:name="android.intent.action.MAIN" /> |
| 1175 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1176 | </intent-filter> |
| 1177 | </activity> |
| 1178 | |
| 1179 | <activity android:name=".view.Buttons1" |
| 1180 | android:label="Views/Buttons"> |
| 1181 | <intent-filter> |
| 1182 | <action android:name="android.intent.action.MAIN" /> |
| 1183 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1184 | </intent-filter> |
| 1185 | </activity> |
| 1186 | |
| 1187 | <activity android:name=".view.AutoComplete1" android:label="Views/Auto Complete/1. Screen Top"> |
| 1188 | <intent-filter> |
| 1189 | <action android:name="android.intent.action.MAIN" /> |
| 1190 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1191 | </intent-filter> |
| 1192 | </activity> |
| 1193 | |
| 1194 | <activity android:name=".view.AutoComplete2" android:label="Views/Auto Complete/2. Screen Bottom"> |
| 1195 | <intent-filter> |
| 1196 | <action android:name="android.intent.action.MAIN" /> |
| 1197 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1198 | </intent-filter> |
| 1199 | </activity> |
| 1200 | |
| 1201 | <activity android:name=".view.AutoComplete3" android:label="Views/Auto Complete/3. Scroll"> |
| 1202 | <intent-filter> |
| 1203 | <action android:name="android.intent.action.MAIN" /> |
| 1204 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1205 | </intent-filter> |
| 1206 | </activity> |
| 1207 | |
| 1208 | <activity android:name=".view.AutoComplete4" android:label="Views/Auto Complete/4. Contacts"> |
| 1209 | <intent-filter> |
| 1210 | <action android:name="android.intent.action.MAIN" /> |
| 1211 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1212 | </intent-filter> |
| 1213 | </activity> |
| 1214 | |
| 1215 | <activity android:name=".view.AutoComplete5" android:label="Views/Auto Complete/5. Contacts with Hint"> |
| 1216 | <intent-filter> |
| 1217 | <action android:name="android.intent.action.MAIN" /> |
| 1218 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1219 | </intent-filter> |
| 1220 | </activity> |
| 1221 | |
| 1222 | <activity android:name=".view.AutoComplete6" android:label="Views/Auto Complete/6. Multiple items"> |
| 1223 | <intent-filter> |
| 1224 | <action android:name="android.intent.action.MAIN" /> |
| 1225 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1226 | </intent-filter> |
| 1227 | </activity> |
| 1228 | |
| 1229 | <activity android:name=".view.ProgressBar1" android:label="Views/Progress Bar/1. Incremental"> |
| 1230 | <intent-filter> |
| 1231 | <action android:name="android.intent.action.MAIN" /> |
| 1232 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1233 | </intent-filter> |
| 1234 | </activity> |
| 1235 | |
| 1236 | <activity android:name=".view.ProgressBar2" android:label="Views/Progress Bar/2. Smooth"> |
| 1237 | <intent-filter> |
| 1238 | <action android:name="android.intent.action.MAIN" /> |
| 1239 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1240 | </intent-filter> |
| 1241 | </activity> |
| 1242 | |
| 1243 | <activity android:name=".view.ProgressBar3" android:label="Views/Progress Bar/3. Dialogs"> |
| 1244 | <intent-filter> |
| 1245 | <action android:name="android.intent.action.MAIN" /> |
| 1246 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1247 | </intent-filter> |
| 1248 | </activity> |
| 1249 | |
| 1250 | <activity android:name=".view.ProgressBar4" android:label="Views/Progress Bar/4. In Title Bar"> |
| 1251 | <intent-filter> |
| 1252 | <action android:name="android.intent.action.MAIN" /> |
| 1253 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1254 | </intent-filter> |
| 1255 | </activity> |
| 1256 | |
| 1257 | <activity android:name=".view.SeekBar1" android:label="Views/Seek Bar"> |
| 1258 | <intent-filter> |
| 1259 | <action android:name="android.intent.action.MAIN" /> |
| 1260 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1261 | </intent-filter> |
| 1262 | </activity> |
| 1263 | |
| 1264 | <activity android:name=".view.RatingBar1" android:label="Views/Rating Bar"> |
| 1265 | <intent-filter> |
| 1266 | <action android:name="android.intent.action.MAIN" /> |
| 1267 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1268 | </intent-filter> |
| 1269 | </activity> |
| 1270 | |
| 1271 | <activity android:name=".view.Focus1" android:label="Views/Focus/1. Vertical"> |
| 1272 | <intent-filter> |
| 1273 | <action android:name="android.intent.action.MAIN" /> |
| 1274 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1275 | </intent-filter> |
| 1276 | </activity> |
| 1277 | |
| 1278 | <activity android:name=".view.Focus2" android:label="Views/Focus/2. Horizontal"> |
| 1279 | <intent-filter> |
| 1280 | <action android:name="android.intent.action.MAIN" /> |
| 1281 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1282 | </intent-filter> |
| 1283 | </activity> |
| 1284 | |
| 1285 | <activity android:name=".view.Focus3" android:label="Views/Focus/3. Circular"> |
| 1286 | <intent-filter> |
| 1287 | <action android:name="android.intent.action.MAIN" /> |
| 1288 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1289 | </intent-filter> |
| 1290 | </activity> |
| 1291 | |
| 1292 | <activity android:name=".view.InternalSelectionFocus" android:label="Views/Focus/4. Internal Selection"> |
| 1293 | <intent-filter> |
| 1294 | <action android:name="android.intent.action.MAIN" /> |
| 1295 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1296 | </intent-filter> |
| 1297 | </activity> |
| 1298 | |
| 1299 | <activity android:name=".view.DateWidgets1" android:label="Views/Date Widgets/1. Dialog"> |
| 1300 | <intent-filter> |
| 1301 | <action android:name="android.intent.action.MAIN" /> |
| 1302 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1303 | </intent-filter> |
| 1304 | </activity> |
| 1305 | |
| 1306 | <activity android:name=".view.DateWidgets2" android:label="Views/Date Widgets/2. Inline"> |
| 1307 | <intent-filter> |
| 1308 | <action android:name="android.intent.action.MAIN" /> |
| 1309 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1310 | </intent-filter> |
| 1311 | </activity> |
| 1312 | |
The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 1313 | <!-- ************************************* --> |
| 1314 | <!-- GRAPHICS SAMPLES --> |
| 1315 | <!-- ************************************* --> |
| 1316 | |
| 1317 | <activity android:name=".graphics.kube.Kube" android:label="Graphics/OpenGL ES/Kube" |
| 1318 | android:configChanges="orientation|keyboardHidden"> |
| 1319 | <intent-filter> |
| 1320 | <action android:name="android.intent.action.MAIN" /> |
| 1321 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1322 | </intent-filter> |
| 1323 | </activity> |
| 1324 | |
| 1325 | <activity android:name=".graphics.Compass" android:label="Graphics/Compass"> |
| 1326 | <intent-filter> |
| 1327 | <action android:name="android.intent.action.MAIN" /> |
| 1328 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1329 | </intent-filter> |
| 1330 | </activity> |
| 1331 | |
| 1332 | <activity android:name=".graphics.CameraPreview" android:label="Graphics/CameraPreview" android:screenOrientation="landscape"> |
| 1333 | <intent-filter> |
| 1334 | <action android:name="android.intent.action.MAIN" /> |
| 1335 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1336 | </intent-filter> |
| 1337 | </activity> |
| 1338 | |
| 1339 | <activity android:name=".graphics.GLSurfaceViewActivity" |
| 1340 | android:label="Graphics/OpenGL ES/GLSurfaceView" |
| 1341 | android:theme="@android:style/Theme.NoTitleBar" |
| 1342 | android:configChanges="orientation|keyboardHidden"> |
| 1343 | <intent-filter> |
| 1344 | <action android:name="android.intent.action.MAIN" /> |
| 1345 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1346 | </intent-filter> |
| 1347 | </activity> |
| 1348 | |
| 1349 | <activity android:name=".graphics.TranslucentGLSurfaceViewActivity" |
| 1350 | android:label="Graphics/OpenGL ES/Translucent GLSurfaceView" |
| 1351 | android:theme="@style/Theme.Translucent" |
| 1352 | android:configChanges="orientation|keyboardHidden"> |
| 1353 | <intent-filter> |
| 1354 | <action android:name="android.intent.action.MAIN" /> |
| 1355 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1356 | </intent-filter> |
| 1357 | </activity> |
| 1358 | |
| 1359 | <activity android:name=".graphics.TriangleActivity" |
| 1360 | android:label="Graphics/OpenGL ES/Textured Triangle" |
| 1361 | android:theme="@android:style/Theme.NoTitleBar" |
| 1362 | android:configChanges="orientation|keyboardHidden"> |
| 1363 | <intent-filter> |
| 1364 | <action android:name="android.intent.action.MAIN" /> |
| 1365 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1366 | </intent-filter> |
| 1367 | </activity> |
| 1368 | |
| 1369 | <activity android:name=".graphics.spritetext.SpriteTextActivity" |
| 1370 | android:label="Graphics/OpenGL ES/Sprite Text" |
| 1371 | android:theme="@android:style/Theme.NoTitleBar" |
| 1372 | android:configChanges="orientation|keyboardHidden"> |
| 1373 | <intent-filter> |
| 1374 | <action android:name="android.intent.action.MAIN" /> |
| 1375 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1376 | </intent-filter> |
| 1377 | </activity> |
| 1378 | |
| 1379 | <activity android:name=".graphics.TouchRotateActivity" |
| 1380 | android:label="Graphics/OpenGL ES/Touch Rotate" |
| 1381 | android:theme="@android:style/Theme.NoTitleBar" |
| 1382 | android:configChanges="orientation|keyboardHidden"> |
| 1383 | <intent-filter> |
| 1384 | <action android:name="android.intent.action.MAIN" /> |
| 1385 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1386 | </intent-filter> |
| 1387 | </activity> |
| 1388 | |
| 1389 | <activity android:name=".graphics.PolyToPoly" android:label="Graphics/PolyToPoly"> |
| 1390 | <intent-filter> |
| 1391 | <action android:name="android.intent.action.MAIN" /> |
| 1392 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1393 | </intent-filter> |
| 1394 | </activity> |
| 1395 | |
| 1396 | <activity android:name=".graphics.ScaleToFit" android:label="Graphics/ScaleToFit"> |
| 1397 | <intent-filter> |
| 1398 | <action android:name="android.intent.action.MAIN" /> |
| 1399 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1400 | </intent-filter> |
| 1401 | </activity> |
| 1402 | |
| 1403 | <activity android:name=".graphics.RoundRects" android:label="Graphics/RoundRects"> |
| 1404 | <intent-filter> |
| 1405 | <action android:name="android.intent.action.MAIN" /> |
| 1406 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1407 | </intent-filter> |
| 1408 | </activity> |
| 1409 | |
| 1410 | <activity android:name=".graphics.ShapeDrawable1" android:label="Graphics/Drawable/ShapeDrawable"> |
| 1411 | <intent-filter> |
| 1412 | <action android:name="android.intent.action.MAIN" /> |
| 1413 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1414 | </intent-filter> |
| 1415 | </activity> |
| 1416 | |
| 1417 | <activity android:name=".graphics.SurfaceViewOverlay" |
| 1418 | android:label="Graphics/SurfaceView Overlay"> |
| 1419 | <intent-filter> |
| 1420 | <action android:name="android.intent.action.MAIN" /> |
| 1421 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1422 | </intent-filter> |
| 1423 | </activity> |
| 1424 | |
| 1425 | <activity android:name=".graphics.TextAlign" android:label="Graphics/Text Align"> |
| 1426 | <intent-filter> |
| 1427 | <action android:name="android.intent.action.MAIN" /> |
| 1428 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1429 | </intent-filter> |
| 1430 | </activity> |
| 1431 | |
| 1432 | <activity android:name=".graphics.Arcs" android:label="Graphics/Arcs"> |
| 1433 | <intent-filter> |
| 1434 | <action android:name="android.intent.action.MAIN" /> |
| 1435 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1436 | </intent-filter> |
| 1437 | </activity> |
| 1438 | |
| 1439 | <activity android:name=".graphics.Patterns" android:label="Graphics/Patterns"> |
| 1440 | <intent-filter> |
| 1441 | <action android:name="android.intent.action.MAIN" /> |
| 1442 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1443 | </intent-filter> |
| 1444 | </activity> |
| 1445 | |
| 1446 | <activity android:name=".graphics.Clipping" android:label="Graphics/Clipping"> |
| 1447 | <intent-filter> |
| 1448 | <action android:name="android.intent.action.MAIN" /> |
| 1449 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1450 | </intent-filter> |
| 1451 | </activity> |
| 1452 | |
| 1453 | <activity android:name=".graphics.Layers" android:label="Graphics/Layers"> |
| 1454 | <intent-filter> |
| 1455 | <action android:name="android.intent.action.MAIN" /> |
| 1456 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1457 | </intent-filter> |
| 1458 | </activity> |
| 1459 | |
| 1460 | <activity android:name=".graphics.UnicodeChart" android:label="Graphics/UnicodeChart"> |
| 1461 | <intent-filter> |
| 1462 | <action android:name="android.intent.action.MAIN" /> |
| 1463 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1464 | </intent-filter> |
| 1465 | </activity> |
| 1466 | |
| 1467 | <activity android:name=".graphics.PathFillTypes" android:label="Graphics/PathFillTypes"> |
| 1468 | <intent-filter> |
| 1469 | <action android:name="android.intent.action.MAIN" /> |
| 1470 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1471 | </intent-filter> |
| 1472 | </activity> |
| 1473 | |
| 1474 | <activity android:name=".graphics.Pictures" android:label="Graphics/Pictures"> |
| 1475 | <intent-filter> |
| 1476 | <action android:name="android.intent.action.MAIN" /> |
| 1477 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1478 | </intent-filter> |
| 1479 | </activity> |
| 1480 | |
| 1481 | <activity android:name=".graphics.Vertices" android:label="Graphics/Vertices"> |
| 1482 | <intent-filter> |
| 1483 | <action android:name="android.intent.action.MAIN" /> |
| 1484 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1485 | </intent-filter> |
| 1486 | </activity> |
| 1487 | |
| 1488 | <activity android:name=".graphics.AnimateDrawables" android:label="Graphics/AnimateDrawables"> |
| 1489 | <intent-filter> |
| 1490 | <action android:name="android.intent.action.MAIN" /> |
| 1491 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1492 | </intent-filter> |
| 1493 | </activity> |
| 1494 | |
| 1495 | <activity android:name=".graphics.SensorTest" android:label="Graphics/SensorTest"> |
| 1496 | <intent-filter> |
| 1497 | <action android:name="android.intent.action.MAIN" /> |
| 1498 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1499 | </intent-filter> |
| 1500 | </activity> |
| 1501 | |
| 1502 | <activity android:name=".graphics.AlphaBitmap" android:label="Graphics/AlphaBitmap"> |
| 1503 | <intent-filter> |
| 1504 | <action android:name="android.intent.action.MAIN" /> |
| 1505 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1506 | </intent-filter> |
| 1507 | </activity> |
| 1508 | |
| 1509 | <activity android:name=".graphics.Regions" android:label="Graphics/Regions"> |
| 1510 | <intent-filter> |
| 1511 | <action android:name="android.intent.action.MAIN" /> |
| 1512 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1513 | </intent-filter> |
| 1514 | </activity> |
| 1515 | |
| 1516 | <activity android:name=".graphics.Sweep" android:label="Graphics/Sweep"> |
| 1517 | <intent-filter> |
| 1518 | <action android:name="android.intent.action.MAIN" /> |
| 1519 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1520 | </intent-filter> |
| 1521 | </activity> |
| 1522 | |
| 1523 | <activity android:name=".graphics.BitmapMesh" android:label="Graphics/BitmapMesh"> |
| 1524 | <intent-filter> |
| 1525 | <action android:name="android.intent.action.MAIN" /> |
| 1526 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1527 | </intent-filter> |
| 1528 | </activity> |
| 1529 | |
| 1530 | <activity android:name=".graphics.MeasureText" android:label="Graphics/MeasureText"> |
| 1531 | <intent-filter> |
| 1532 | <action android:name="android.intent.action.MAIN" /> |
| 1533 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1534 | </intent-filter> |
| 1535 | </activity> |
| 1536 | |
| 1537 | <activity android:name=".graphics.Typefaces" android:label="Graphics/Typefaces"> |
| 1538 | <intent-filter> |
| 1539 | <action android:name="android.intent.action.MAIN" /> |
| 1540 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1541 | </intent-filter> |
| 1542 | </activity> |
| 1543 | |
| 1544 | <activity android:name=".graphics.FingerPaint" android:label="Graphics/FingerPaint"> |
| 1545 | <intent-filter> |
| 1546 | <action android:name="android.intent.action.MAIN" /> |
| 1547 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1548 | </intent-filter> |
| 1549 | </activity> |
| 1550 | |
| 1551 | <activity android:name=".graphics.ColorMatrixSample" android:label="Graphics/ColorMatrix"> |
| 1552 | <intent-filter> |
| 1553 | <action android:name="android.intent.action.MAIN" /> |
| 1554 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1555 | </intent-filter> |
| 1556 | </activity> |
| 1557 | |
| 1558 | <activity android:name=".graphics.BitmapDecode" android:label="Graphics/BitmapDecode"> |
| 1559 | <intent-filter> |
| 1560 | <action android:name="android.intent.action.MAIN" /> |
| 1561 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1562 | </intent-filter> |
| 1563 | </activity> |
| 1564 | |
| 1565 | <activity android:name=".graphics.CreateBitmap" android:label="Graphics/CreateBitmap"> |
| 1566 | <intent-filter> |
| 1567 | <action android:name="android.intent.action.MAIN" /> |
| 1568 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1569 | </intent-filter> |
| 1570 | </activity> |
| 1571 | |
| 1572 | <activity android:name=".graphics.DrawPoints" android:label="Graphics/Points"> |
| 1573 | <intent-filter> |
| 1574 | <action android:name="android.intent.action.MAIN" /> |
| 1575 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1576 | </intent-filter> |
| 1577 | </activity> |
| 1578 | |
| 1579 | <activity android:name=".graphics.TouchPaint" android:label="Graphics/Touch Paint" |
| 1580 | android:theme="@style/Theme.Black" |
| 1581 | android:configChanges="keyboard|keyboardHidden|navigation|orientation"> |
| 1582 | <intent-filter> |
| 1583 | <action android:name="android.intent.action.MAIN" /> |
| 1584 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1585 | </intent-filter> |
| 1586 | </activity> |
| 1587 | |
| 1588 | <activity android:name=".graphics.BitmapPixels" android:label="Graphics/BitmapPixels"> |
| 1589 | <intent-filter> |
| 1590 | <action android:name="android.intent.action.MAIN" /> |
| 1591 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1592 | </intent-filter> |
| 1593 | </activity> |
| 1594 | |
| 1595 | <activity android:name=".graphics.Xfermodes" android:label="Graphics/Xfermodes"> |
| 1596 | <intent-filter> |
| 1597 | <action android:name="android.intent.action.MAIN" /> |
| 1598 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1599 | </intent-filter> |
| 1600 | </activity> |
| 1601 | |
| 1602 | <activity android:name=".graphics.PathEffects" android:label="Graphics/PathEffects"> |
| 1603 | <intent-filter> |
| 1604 | <action android:name="android.intent.action.MAIN" /> |
| 1605 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1606 | </intent-filter> |
| 1607 | </activity> |
| 1608 | |
| 1609 | <activity android:name=".graphics.GradientDrawable1" android:label="Graphics/Drawable/GradientDrawable"> |
| 1610 | <intent-filter> |
| 1611 | <action android:name="android.intent.action.MAIN" /> |
| 1612 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1613 | </intent-filter> |
| 1614 | </activity> |
Wei-Ta Chen | 1ba461c | 2009-05-29 16:03:39 -0700 | [diff] [blame] | 1615 | |
| 1616 | <activity android:name=".graphics.PurgeableBitmap" android:label="Graphics/PurgeableBitmap/NonPurgeable"> |
| 1617 | <intent-filter> |
| 1618 | <action android:name="android.intent.action.MAIN" /> |
| 1619 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1620 | </intent-filter> |
| 1621 | </activity> |
| 1622 | |
| 1623 | <activity-alias android:targetActivity=".graphics.PurgeableBitmap" android:name="Purgeable" android:label="Graphics/PurgeableBitmap/Purgeable"> |
| 1624 | <intent-filter> |
| 1625 | <action android:name="android.intent.action.MAIN" /> |
| 1626 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1627 | </intent-filter> |
| 1628 | </activity-alias> |
The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 1629 | |
Dianne Hackborn | 3b01460 | 2009-08-10 18:12:32 -0700 | [diff] [blame] | 1630 | <activity android:name=".graphics.DensityActivity" android:label="Graphics/Density"> |
| 1631 | <intent-filter> |
| 1632 | <action android:name="android.intent.action.MAIN" /> |
| 1633 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1634 | </intent-filter> |
| 1635 | </activity> |
| 1636 | |
The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 1637 | <!-- ************************************* --> |
| 1638 | <!-- MEDIA SAMPLES --> |
| 1639 | <!-- ************************************* --> |
| 1640 | |
| 1641 | <activity android:name=".media.MediaPlayerDemo" android:label="Media/MediaPlayer"> |
| 1642 | <intent-filter> |
| 1643 | <action android:name="android.intent.action.MAIN" /> |
| 1644 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1645 | </intent-filter> |
| 1646 | </activity> |
| 1647 | |
| 1648 | <activity android:name=".media.MediaPlayerDemo_Audio" android:label="Media/MediaPlayer"> |
| 1649 | <intent-filter> |
| 1650 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1651 | </intent-filter> |
| 1652 | </activity> |
| 1653 | |
| 1654 | <activity android:name=".media.MediaPlayerDemo_Video" android:label="Media/MediaPlayer"> |
| 1655 | <intent-filter> |
| 1656 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1657 | </intent-filter> |
| 1658 | </activity> |
| 1659 | |
| 1660 | <activity android:name=".media.VideoViewDemo" android:label="Media/VideoView"> |
| 1661 | <intent-filter> |
| 1662 | <action android:name="android.intent.action.MAIN" /> |
| 1663 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1664 | </intent-filter> |
| 1665 | </activity> |
| 1666 | |
| 1667 | <!-- ************************************* --> |
The Android Open Source Project | 243d18e | 2009-03-11 12:11:54 -0700 | [diff] [blame] | 1668 | <!-- APPWIDGET PACKAGE SAMPLES --> |
The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 1669 | <!-- ************************************* --> |
| 1670 | |
The Android Open Source Project | 243d18e | 2009-03-11 12:11:54 -0700 | [diff] [blame] | 1671 | <receiver android:name=".appwidget.ExampleAppWidgetProvider"> |
| 1672 | <meta-data android:name="android.appwidget.provider" |
| 1673 | android:resource="@xml/appwidget_provider" /> |
The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 1674 | <intent-filter> |
The Android Open Source Project | 243d18e | 2009-03-11 12:11:54 -0700 | [diff] [blame] | 1675 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 1676 | </intent-filter> |
| 1677 | </receiver> |
| 1678 | |
Jeffrey Sharkey | f7f1c36 | 2009-04-16 12:32:29 -0700 | [diff] [blame] | 1679 | <activity android:name=".appwidget.ExampleAppWidgetConfigure"> |
| 1680 | <intent-filter> |
| 1681 | <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> |
| 1682 | </intent-filter> |
| 1683 | </activity> |
| 1684 | |
The Android Open Source Project | 243d18e | 2009-03-11 12:11:54 -0700 | [diff] [blame] | 1685 | <receiver android:name=".appwidget.ExampleBroadcastReceiver" android:enabled="false"> |
The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 1686 | <intent-filter> |
| 1687 | <action android:name="android.intent.ACTION_TIMEZONE_CHANGED" /> |
| 1688 | <action android:name="android.intent.ACTION_TIME" /> |
| 1689 | </intent-filter> |
| 1690 | </receiver> |
| 1691 | |
| 1692 | <!-- ************************************* --> |
| 1693 | <!-- OTHER SAMPLES --> |
| 1694 | <!-- ************************************* --> |
| 1695 | |
| 1696 | <activity android:name=".text.Link" android:label="Text/Linkify"> |
| 1697 | <intent-filter> |
| 1698 | <action android:name="android.intent.action.MAIN" /> |
| 1699 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1700 | </intent-filter> |
| 1701 | </activity> |
| 1702 | |
| 1703 | <activity android:name=".text.Marquee" android:label="Text/Marquee"> |
| 1704 | <intent-filter> |
| 1705 | <action android:name="android.intent.action.MAIN" /> |
| 1706 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1707 | </intent-filter> |
| 1708 | </activity> |
| 1709 | |
| 1710 | <activity android:name=".text.LogTextBox1" android:label="Text/LogTextBox"> |
| 1711 | <intent-filter> |
| 1712 | <action android:name="android.intent.action.MAIN" /> |
| 1713 | <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 1714 | </intent-filter> |
| 1715 | </activity> |
| 1716 | |
| 1717 | </application> |
| 1718 | |
| 1719 | <instrumentation android:name=".app.LocalSampleInstrumentation" |
| 1720 | android:targetPackage="com.example.android.apis" |
| 1721 | android:label="Local Sample" /> |
| 1722 | |
| 1723 | </manifest> |