I have Aactivity.java and Bactivity.java.
Aactivity sends an Intent that passes the user to Bactivity.
Intent code:
Intent intent = new Intent(Aactivity.this, Bactivity.class);
startActivity(intent);
How can I get the name of the Intent sending activity's name (Aactivity in this case) and store it in a String?
EDIT #1:
I want to get a string with the activity who sent the intent to Bactivity.
So, if Aactivity sends an Intent to Bactivity, so I want that Bactivity will store a string with the word "Aactivity".