a virtual sensor for measuring mobile application usage on the Android plattform