Activity Detection Through Mobile App And Hardware Device