首先我们来看下Task的定义,Google是这样定义Task的:a task is what the user experiences as an "application." It"s a group of related activities, arranged in a stack. A task is a stack of activities, not a class or an element in the manifest file. 这意思就是说Task实际上是一个Activity栈,通常常使用户感受的一个Application就是一个Task。从这个定义来看,Task跟Service或其他Components是没有任何接洽的,它只是针对Activity而言的。首先我们来看下Task的定义,Google是这样定义Task的:a task is what the