diff --git a/Android.mk b/Android.mk index f63cedfec8543..95bbbe6ca3eca 100644 --- a/Android.mk +++ b/Android.mk @@ -415,6 +415,10 @@ web_docs_sample_code_flags := \ resources/samples/Spinner "Spinner" \ -samplecode $(sample_dir)/SpinnerTest \ resources/samples/SpinnerTest "SpinnerTest" \ + -samplecode $(sample_dir)/TicTacToeLib \ + resources/samples/TicTacToeLib "TicTacToeLib" \ + -samplecode $(sample_dir)/TicTacToeMain \ + resources/samples/TicTacToeMain "TicTacToeMain" \ -samplecode $(sample_dir)/Wiktionary \ resources/samples/Wiktionary "Wiktionary" \ -samplecode $(sample_dir)/WiktionarySimple \ diff --git a/docs/html/resources/resources_toc.cs b/docs/html/resources/resources_toc.cs index 7f05d301d9b12..f5a82f80069a7 100644 --- a/docs/html/resources/resources_toc.cs +++ b/docs/html/resources/resources_toc.cs @@ -244,6 +244,12 @@
  • SpinnerTest new!
  • +
  • + TicTacToeLib + new!
  • +
  • + TicTacToeMain + new!
  • Wiktionary
  • diff --git a/docs/html/resources/samples/images/TicTacToeLib.png b/docs/html/resources/samples/images/TicTacToeLib.png new file mode 100644 index 0000000000000..398eff38ffb43 Binary files /dev/null and b/docs/html/resources/samples/images/TicTacToeLib.png differ diff --git a/docs/html/resources/samples/images/TicTacToeMain.png b/docs/html/resources/samples/images/TicTacToeMain.png new file mode 100644 index 0000000000000..44cee11b9519e Binary files /dev/null and b/docs/html/resources/samples/images/TicTacToeMain.png differ diff --git a/docs/html/resources/samples/index.jd b/docs/html/resources/samples/index.jd index e917495adf31b..4019200dba453 100644 --- a/docs/html/resources/samples/index.jd +++ b/docs/html/resources/samples/index.jd @@ -92,6 +92,22 @@ adapter). please read the Activity Testing tutorial. +
    TicTacToeLib
    +
    + An example of an Android library project that provides a game-play + Activity to any dependent application project. For an example of + how an application can use the code and resources in an Android + library project, see the TicTacToeMain + sample application. +
    +
    TicTacToeMain
    +
    + An example of an Android application that makes use of code and + resources provided in an Android library project. Specifically, this + application uses code and resources provided in the TicTacToeLib library project. +
    Wiktionary
    An example of creating interactive widgets for display on the Android home screen.