An official survey shows China's factory activity improved in August, with export demand holding strong