I have many activities. Each one of them has an intent which refers to the same activity. Is there a way to find out which intent started the activity?
You didn't provide any context, so here's one general approach.
Put an extra into each Intent type, like a unique int or String:
intent.putExtra("Source", "from BroadcastReceiver");
and use:
String source = getIntent().getStringExtra("Source");