Active Orders for Smartphone sensing