Can we use PIR with Jack on Android?

Hi,

Can we use a PIR sensor connected to 3.5mm jack with android phone ?
I want to receive the HIGH value on android / java app ? and then trigger a image click ?

Is it possible?