The accused was supported in court by a large group of family and friends
Judge Harvey remanded him in custody without plea to reappear in two weeks and also called for a psychological report under Section 38 of the Criminal Procedure Mentally Impaired Persons Act.
A police spokesperson this morning said the injured officer, who has name suppression, remains in a stable condition.
He underwent surgery in Waikato Hospital at the weekend after the alleged shooting on Bankwood Rd, Hamilton.
Police allege the officer was shot after the accused got out of the car and fired at him.
That man is then accused of stealing a police car, while the driver of the other vehicle also fled the scene.
Both were found hours later.