I need to get an unique id of an android activity instance. I\'d like to take the string which the activitymanager writes in the log (for example: ActivityManager: Activity
hashCode() method in Activity,it returns an unique id of an android activity instance,but getTaskId() can not return unique value
hashCode()
Activity
getTaskId()