Dirk Dougherty | 2f0b1c1 | 2010-05-07 09:11:24 -0700 | [diff] [blame^] | 1 | <p> |
| 2 | This sample is the application under test for the |
| 3 | <a href="../../../resources/tutorials/testing/activity_test.html">Activity |
| 4 | Testing Tutorial</a>. It contains a single Activity that displays a |
| 5 | Spinner widget backed by an array of strings containing the names of the planets |
| 6 | in the Solar System. When an entry is selected from the Spinner, the entry is |
| 7 | displayed in a text box. |
| 8 | </p> |
| 9 | <p> |
| 10 | An important part of this application is state management. When the application |
| 11 | is first run, the spinner widget displays a default selection of |
| 12 | "Earth". Thereafter, the application saves a selection as soon as it |
| 13 | is made. The application remembers the selection from invocation to invocation, even |
| 14 | if the device reboots. |
| 15 | </p> |
| 16 | <p> |
| 17 | For more information about this application, see the Activity Testing Tutorial. |
| 18 | The test application for this application is in the <a |
| 19 | href="../SpinnerTest/index.html">SpinnerTest</a> sample application. |
| 20 | </p> |
| 21 | |
| 22 | <img alt="The Spinner application" src="../images/testing/spinner_main_screen.png" /> |