Programming frameworks for mobile sensing