Police in England say a man has been arrested for possessing an offensive weapon near the home of the former Prince Andrew.