So now that we know a bit about which files are located in which folders, what happens when we ask Android to run the MJAndroid application? And for that matter, how do we ask Android to run the application? Let’s take a closer look at the Android SDK environment and the views and commands available to us for running and debugging any application.
The Android SDK provides three “perspectives” for working with Android projects and applications. If you’re new to Eclipse, a perspective is a collection of Eclipse views that provides a particular viewpoint of an application. Eclipse and the Android SDK have preassembled sets of views that developers have found useful, and you can switch between those views, either by selecting one from the Window menu or by using the icons in the upper-right corner of the Eclipse window. You are also free to customize the perspectives, but in this book we will assume you use the standard ones provided:
This is the default perspective, launched by Eclipse when you first say that you want to view the workspace. It includes:
Used for viewing folders and selecting files
Used for editing Java and XML source files
Contains a set of useful views, accessed by tabs:
Problems, which lists errors that Eclipse and the Android SDK find in the application
Javadoc, which extracts and displays Javadoc documentation from the ...