Riot police have battled opposition supporters for two days, after the arrest of their leader Kizza Besigye.
Dr Besigye (in blue cap) who returned from four years in exile last month, is facing treason and rape charges.
The opposition says President Yoweri Museveni is seeking to prevent his strongest challenger from running in elections expected next year.
Anti-riot police and soldiers fired tear gas and bullets against protesters in the central streets of Kampala.
"Museveni is a dictator. It is time for Museveni to go," opposition supporters shouted at the police.
The roads are strewn with debris and burnt out cars after Monday's violence.
Heavily armed officers were drafted in to guard Dr Besigye for his court appearance on Tuesday.
A suspected looter was shot dead in this street. There are growing concerns over the political climate in Uganda. Human Rights Watch has urged a fair trial for Dr Besigye.