Also move the app fundamentals document back to fundamentals.jd
TODO: resolve links in the javadocs
Change-Id: Ia3c81a83bf7fe75f7942fd41bfb1d626ee72d5d9
docs: Rewrite of App Fundamentals.. Part 3
This introduces two new docs:
Application Fundamentals:
This is the homepage for the app fundamentals; it introduces
the security sandbox, each of the component types, intents,
the manifest file, and app resources.
Processes and Threads:
Most of this document is from the original fundamentals.jd doc;
it describes more about how an app's process runs on android
and the different levels of process importance used to determine
which processes the system can kill and how threads are and
should be used in an application. I've added more detailed information
about threads, however, including information about using AsyncTask.
These documents are orphaned for now. This is the last set of documents
required before I'll change the side navigation to adopt the new
app fundamentals and redirect the old fundamentals.jd file.
Change-Id: Ica5f7f683df76b488552939ee0888e796204f2c1
docs: Rewrite of App Fundamentals.. Part 2.
This introduces three new docs:
Services:
Provides an introduction to using services and describes the
service lifecycle (previously in the "Component Lifecycles" section
of the fundamentals.jd document)
Bound Services:
A guide for services that offer binding.
AIDL:
A doc about using AIDL (primarily for creating a service interface)
Also includes edits to IntentService javadocs to clarify
different behaviors for some callback methods
Includes a new version of the services lifecycle diagram
and an additional diagram for determining onRebind()
These files are orphaned for now---they're not linked in the sidenav,
until I get the last couple documents submitted for the app fundamentals.
Change-Id: I7fb0a8faff1f18b7d6b9a7b59f66f55a1b6168f1
This introduces two new docs:
Activities
Provides a fundamental introduction to how activities work, including
the basics about layout, manifest entries, starting activies, getting results,
and the complete discussion about the lifecycle (which used to be in the
fundamentals.jd document under "Component Lifecycles"), but also now includes more
information about saving instance state (with new diagrams).
Tasks and Back Stack
A large expansion of the material originally presented in the fundamentals.jd
document under "Activities and Tasks". This doc talks all about how tasks and
the back stack work. This content re-organization is important because fragments
can now become a part of the back stack (which is a task-oriented concept), thus,
it's important to separate the task ideas from being tied directly to activities only,
which is how tasks are currently discussed. However, fragments are not yet discussed
here in detail---that will come later when the fragment dev guide is introduced.
Change-Id: I46425b5c2c3b928dc81bafd05a88ad3ea1c5be53