I am making a fitness-related web app and want the ability to detect various activities like cycling, running, walking, etc via a browser on a mobile device.
I understand there are CMMotionActivity and Activity Recognition APIs for iOS and Android respectively but is it possible to detect activities via a browser? Any leads?