• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<p>
2This sample is a simple application that serves as an application under test
3for the <a href="../SpinnerTest/index.html">SpinnerTest</a> test application example.
4</p>
5<p>
6This application illustrates basic state management across the Android application life cycle,
7mainly for the purpose of highlighting common patterns of Activity testing. When the application
8is first run, the spinner widget displays a default selection of &quot;Earth&quot;.
9Thereafter, the application saves a selection as soon as it
10is made. The application remembers the selection from invocation to invocation, even
11if the device reboots.
12</p>
13<p>
14The test application <a href="../SpinnerTest/index.html">SpinnerTest</a>
15shows you how to set up tests to monitor and prevent code regressions in the
16management of state across invocations and power cycles.
17</p>
18<p>
19For more information about this application, see the
20<a href="../../../resources/tutorials/testing/activity_test.html">Activity Testing</a> tutorial.
21</p>
22