With these explanations (skipping over a few advanced features covered later in the book), we've finished initializing the application—at least as far as the main Activity, MicroJobs, is concerned. We've seen how the Activity gets started, how it gets its layout information from its associated layout XML file (main.xml), how it initializes the Views it contains, and how it causes the initialization of other Activities or Services (either by invoking a constructor, as when creating the SQL database instance, or by asking Android to start another Activity, as with MicroJobsList).


0 0

Post a comment