Android Question Check what called a class method

Alex_197

Active Member
Licensed User
Hi all.

I have a class in my app clsCrypt that does encryption/decryption that can be called from the different places. Is it possible to check what called this class methods.

For example I have 2 activities and another class from where I call clsCrypt class methods.

Can I check inside clsCrypt class method what called this method? Or do I need to use some global variable and check this variable every time this class method executed?

Thanks.
 
Top