android - Acces selected packages using Package Manager -


how access packages in android(using package manager) allowed accessed user , display in listview?

you can query package manager getinstalledpackages() or getinstalledapplications():

packagemanager pm = getpackagemanager(); list<applicationinfo> list = pm.getinstalledpackages(0) 

Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

Error while updating a record in APEX screen -

c++ - In an add-in in Excel, written in C(++), how does one get the name of the function which called into the addin? -