你怎么能知道主要推出的活动是什么? [英] How can you know what the main launch Activity is?
本文介绍了你怎么能知道主要推出的活动是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
福利局问题。你怎么能知道主要推出的活动是什么?学习Android的。
Newb question. How can you know what the main launch Activity is? Learning Android.
推荐答案
假设这是你的code,检查出的manifest.xml,寻找这个元素:
Assuming this is for your code, check out the manifest.xml and look for this element:
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
应该包含在&LT;活动&GT;
... &LT; /活动&GT;
标签,那活动
是,用户可以从他们的电话启动的。
It should be contained within <Activity>
... </Activity>
tags, and that Activity
is the one that a user can launch from their phone.
这篇关于你怎么能知道主要推出的活动是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文