So, is there another way I could import all the android classes in order for me to save the time of importing each one individually?
import android.*;
will only import classes and interfaces that are directly in the android
package. To import all classes/interfaces in android.app
, use import android.app.*;
.
Bear in mind that Eclipse/ADT provides multiple ways of adding the imports for you, such as Ctrl-Shift-O to resolve all missing imports.