Activity detection on the apple IOS Smartphone (Islamabad NUST-SEECS, 2017)