title: Android Permission Real Time Seeking during installation
body: <p>How can I check the installation of the new application to my phone through my android application.Also I need to scan the permissions the installing app is seeking.
  Inshort the feature called on-install scan in CM security is used and I want to implement it in my app,please help me with the code.
  My problem statement is ,I have an app that should do the following 
  1.While installing a new apps ,my app must seek what permission the installing app requires
  2 I have to say it is a malicious app if it contains some predefined set of permission </p>