I want to know if the activity of my app was called from Tasker. Is there a way to determine this?
I tried the following code. However, none of the code was able to obtain information that was Tasker.
// [1] null was returned.
getCallingActivity();
// [2] null was returned too.
getCallingPackage();
Please let me know how. Thank you.