blob: 2e50d9d88011342697741d8bee9479cd9701b883 [file] [log] [blame]
Dirk Dougherty2f0b1c12010-05-07 09:11:24 -07001<p>
2This 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
5Spinner widget backed by an array of strings containing the names of the planets
6in the Solar System. When an entry is selected from the Spinner, the entry is
7displayed in a text box.
8</p>
9<p>
10An important part of this application is state management. When the application
11is first run, the spinner widget displays a default selection of
12&quot;Earth&quot;. Thereafter, the application saves a selection as soon as it
13is made. The application remembers the selection from invocation to invocation, even
14if the device reboots.
15</p>
16<p>
17For more information about this application, see the Activity Testing Tutorial.
18The 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" />