哪里是主要的()在Android的? [英] Where is main() in Android?

查看:96
本文介绍了哪里是主要的()在Android的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的Andr​​oid,并正在研究的框架,它迫使我问这个问题。由于我们正在扩大在Android的活动,必须有介于活动或有一个隐藏的类活动工具包含

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 somewhere in Activity or there is an hidden class that Activity implements that contains main.

我到处,但无法找到它。我想AP preciate,如果任何一个可以给一个明确的想法就可以了。

I looked everywhere but couldn't find it. I would appreciate if any one could give a clear idea on it.

推荐答案

Android使用Java语言,而是用执行修改后的运行模式。正如其他人所说,有包括每个包的清单。该launchpoint被指定在该清单中。进入到Android的网站,做的基本教程。这将让你和使用的创建/配置/运行过程中的理解和基本的应用程序生命周期中运行。

Android uses the java language, but executes using a modified runtime model. As others have said, there is a manifest included in each package. The launchpoint is specified in this manifest. Go to the android site and do the basic tutorials. This will get you up and running with an understanding of create/deploy/run process and the basic app life cycle.

这篇关于哪里是主要的()在Android的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆