China is considered to be a very safe country, especially for foreigners. Violent crimes toward foreigners, such as assault or robbery, are extremely rare. Still it is always advisable to keep your wallet, phone, and money in an inside pocket as a safety precaution.