java - Android Permission Real Time Seeking during installation -


how can check installation of new application phone through android application.also need scan permissions installing app seeking. inshort feature called on-install scan in cm security used , want implement in app,please me code. problem statement ,i have app should following 1.while installing new apps ,my app must seek permission installing app requires 2 have malicious app if contains predefined set of permission

use package manager , concrete mask, example

packagemanager p = context.getpackagemanager(); final list<packageinfo> appinstall = p.getinstalledpackages(packagemanager.get_permissions | packagemanager.get_providers) 

Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -