android - Implicit intent call scan -


i new android development. , trying build app scans installed apps implicit intend calls. if application has implicit call app shows name of apps. can provide me concept on how it? if not possible, possible notify when application gets called implicitly?

you can list of installed apps querying packagemanager , launch intent each package. (that packages category intent.category_launcher

final packagemanager pm = getpackagemanager(); //get list of installed packages. list<applicationinfo> packages = pm.getinstalledapplications(packagemanager.get_meta_data);  (applicationinfo packageinfo : packages) {     log.d(tag, "installed package :" + packageinfo.packagename);     log.d(tag, "launcher activity :" + pm.getlaunchintentforpackage(packageinfo.packagename));  } 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -