Android程序的一个中心功能就是一个程序可以利用其他程序的组件,只要那些程序允许。为了达到这个目的,系统必须可以在一个程序某一部分 被需要时开 始一个程序进程,并实例化Java对象而利用那部分。因此,android程序不像其他程序那样有一个单独的入口,比如main(),然而,他们有一些必 须的组件以便系统在需要的时候可以实例化运行。
P.S. 我就不全文翻译了。
原文:
A central feature of Android is that one application can make use of elements of other applications (provided those applications permit it). For example, if your application needs to display a scrolling list of images and another application has developed a suitable scroller and made it available to others, you can call upon that scroller to do the work, rather than develop your own. Your application doesn’t incorporate the code of the other application or link to it. Rather, it simply starts up that piece of the other application when the need arises.
For this to work, the system must be able to start an application process when any part of it is needed, and instantiate the Java objects for that part. Therefore, unlike applications on most other systems, Android applications don’t have a single entry point for everything in the application (no main() function, for example). Rather, they have essential components that the system can instantiate and run as needed.