对于getIntent()这个方法,androidAPI文档中是这样解释的:
Retrieve the raw Intent contained in this Item.
意思就是将该项目中包含的原始intent检索出来,
而Intent intent=getIntent();
是将检索出来的intent赋值给一个Intent类型的变量intent
上句中,第一个intent是本身就有的一个intent,而后面的是个变量名,需要赋值
getIntent()这个function返回值赋值给intent
intent=getIntent();
是说将getIntent()这个function返回值赋值给intent. 貌似是Visual Basic的语句。
你从哪里看见的这"句子"啊?
这是程式语言啊, 发错地方了啦。