This document discusses a system for mining traffic data using GPS-enabled mobile phones in a mobile cloud infrastructure. The system has three main components: a client interface on mobile devices, a server process, and cloud storage. The client filters GPS data from mobile devices to identify motorized transportation modes. This data is sent to the server, which uses distance-based clustering to group devices on the same vehicle. The clustered data and historical data are stored in the cloud for traffic detection. This mobile cloud approach reduces burdens on mobile devices and servers while leveraging cloud resources.