Activity Processes: read PID as a integer