I need some help using type into activity for string

Hi,

Yes I did tried that hardware event but it throw me the same error. Please find the attached screenshot.