A 24-year-old accused of pelting police with quarter sticks of dynamite ran from cameras and covered his face as he left a court appearance.