【发布时间】:2016-03-25 14:44:02
【问题描述】:
我对 Activity、Action 和 Intent 之间的关系感到困惑?
还有一个关于Implicit intents的问题:例如我想开始这个动作ACTION_CALL打电话,显然这是一个隐式意图,所以我应该这样写Intent intent = new Intent();
intent.setAction(Intent.ACTION_CALL);
但我还需要设置数据。这是我的问题:我怎么知道 uri 是什么样的?架构是什么?请不要说出简单的答案。你怎么知道的?我应该寻找任何API吗?我知道在清单<data android:scheme="xxxxx"/> 那么关于动作或活动Intent.ACTION_CALL 的清单在哪里?没找到。
【问题讨论】: