German police arrest Algerian refugee

German police have arrested a 19-year-old Algerian refugee who had fled a psychiatric facility earlier in the day yelling, "I'll blow you up," ending the latest in a string of incidents that have set the country's nerves on edge.

Federal police arrested the asylum-seeker at the Bremen main train station on Wednesday after an hours-long manhunt that prompted the evacuation of a Bremen shopping centre, according to police in the neighbouring state of Lower Saxony.

They said an investigation was continuing.

Police said that when the man was in custody this past weekend for several thefts, he had sympathised with Islamic State and a gunman who killed nine people at a shopping centre in Munich on July 22.

However, they said there was no further evidence of any ties.

Germany remains on edge after a spate of attacks that have claimed 15 lives since July 18, including those of four attackers. German officials have linked two of the incidents to Islamic State.

United States President Barack Obama spoke by phone with German Chancellor Angela Merkel on Wednesday to offer his condolences over the recent attacks in southern Germany, according to American and German officials.

Obama offered Germany the US government's full support as investigations into the attacks proceed, the White House said in a statement.

Authorities had evacuated a shopping centre in Bremen, about 40km from the medical facility, after people identified a man who had been acting suspiciously as the missing patient.

A spokesman in Diepholz, where the man had been held by police over the weekend, said authorities took the incident seriously given the current situation in Germany, but emphasised that there was no evidence of an imminent attack.

"We only have these statements. We have no evidence of any concrete plans or even any ties to Islamic State," he said.

The man was moved into psychiatric care after he tried to hurt himself multiple times and authorities determined he had consumed drugs and posed a possible danger to himself and others. He escaped from the facility early on Wednesday.

There were no reports that he was carrying a weapon, police said.

Earlier, a suitcase exploded near a reception centre for migrants in southern Germany, but authorities said the blast may have been caused by an aerosol can, and there was no sign of any explosives involved.