This is best done in Germany, as all other Schengen countries require applicants to apply from their home countries.
"You can sneakily arrange your travel to spend 90 days in the UK or Ireland (or other non-Schengen countries) to satisfy the``90 days in 180 days""provision."