Where is main() in Android?

后端 未结 8 1529
南笙
南笙 2020-11-30 00:20

I am new to Android, and was studying the framework and it compelled me to ask this question. Since we are extending Activity in Android, there has to be main s

8条回答
  •  囚心锁ツ
    2020-11-30 00:59

    In Android, the OS uses Dalvik virtual machine. The main entry point to the execution of the application is encapsulated within the framework. You might want to take a look at "What is Android?"

    In fact, each Activity in Android can be thought to be a single Application on its own with a lifecycle of its own.

提交回复
热议问题