Smartphone-based sensing systems for data-intensive applications