I think that may be his tongue. A picture would help and I'd be concerned if it stayed poking out, but he was probably trying to spit out something.

(If I'm wrong about this, someone tell me. I don't think this species of frogs can spit their stomachs out.)