Andrew Ibrahim allegedly listened to radical preachers on the internet
A student accused of making a "suicide vest" from home-made explosives wanted to fight against British and US forces, a court has heard.
Andrew Ibrahim, also known as Isa, allegedly carried out a reconnaissance mission at a Bristol shopping centre.
He described the food court as a "dense area", Winchester Crown Court heard.
Mr Ibrahim, 20, of Bristol, denies making explosives with intent, and preparing terrorist acts in April 2008 but admits making an explosive.
In a statement read to the jury, Mohammed Shide said he met Mr Ibrahim at the Al Baseera mosque in April last year.
Mr Shide said: "He (Ibrahim) said he wanted to go out to Palestine and Iraq to help in their battles against the UK and US forces."
Ibrahim experimenting at his home
Mr Ibrahim never said he wanted to be a suicide bomber but claimed that he understood the reasons for becoming one, the court also heard.
The jury was told that Mr Ibrahim went to the Broadmead shopping centre, where he allegedly noted down the position of bins, lifts and escalators.
Previously, the jury heard Mr Ibrahim changed his name by deed poll from Andrew to Isa in February 2007, as a result of his conversion to the Islamic faith the previous year.