Our project is a mobile based examination app. The app should be able to detect the use of floating apps/multiwindow and app switching while taking an exam. We're supposed to use xamarin for this project.
If the student used a floating/multiwindow app or switched to another app, the exam activity should terminate.