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
Android has a function for it, if you use startActivityForResult:
ComponentName prev = this.getCallingActivity();