The document describes CSense, a stream-processing toolkit for building robust and high-performance mobile sensing applications on Android devices. CSense addresses challenges like concurrency, resource limitations, and high frame rates. It provides a programming model based on stream flow graphs, a compiler for optimization and code generation, and an efficient runtime. Evaluation shows CSense improves throughput by 19x and reduces CPU usage by 45% compared to a naive Java implementation, with low overhead for a variety of mobile sensing applications.