I have one activity which can be open from more 4 or 5 different activity so i can find from which activity my current activity is called...
If any idea please help
Put some extras to intent for the different- different activities
eg:
startActivity(new Intent(this, otherActivity.class).putExtra("from" , "previousActivity"));
and get extras in the current activity as
string act = getIntent().getStringExtra("from");
so "act" will indicate you the calling Activity.