title: Detect only screenshot with FileObserver Android
body: <p>I am currently developing an application for Android and wanted to know how to detect a screenshot. I tried with FileObserver but the problem is that all events are detected ( when device goes into sleep, message, etc. ) . How to detect only screenshot ?</p>
  
  <p>Thank you in advance !</p>