凡尘一滴
凡尘一滴

Reputation: 87

define two intent in An Activity

I need to start an Activity with two different Intent, can I define two Intents In an Activity node?

An real example is: in my current application, I want to start an main Activity in another android application, how can I implement such requirement?

can I add another Intent-Filter in the following Activity Node?

Upvotes: 0

Views: 278

Answers (1)

David Hedlund
David Hedlund

Reputation: 129792

Yes. An activity can have several intent filters.

Upvotes: 2

Related Questions