1-2. Call WinRT API and track sensors' data.