Reputation: 5571
I'm building an app that is registered for the intent filters IMAGE_CAPTURE (Camera) & PICK (Gallery).
For the Activity, how do I detect which intent filter was received?
Upvotes: 0
Views: 131
Reputation: 18151
In onReceive
String action = intent.getAction();
and use this to compare with the action you register for.
Upvotes: 1