Police say they were trying to stop a stolen vehicle at the Milpitas Square Shopping Center just before 4p.m. on Friday.
They say the suspect started firing and detectives engaged in what they describe as a 'prolonged' exchange of gunfire.
RELATED: Fremont police say deadly shooting was justified, release footage
The suspect barricaded himself in the car, but was eventually extracted.
He was injured and taken to the hospital.
The shopping plaza has reopened.
No one else was hurt.