Search the Community
Showing results for tags 'Android Application'.
-
Hi guys, I wanna create a list of the installed application for practice. the following code is from another post: https://buckysroom.org/forum/topic.php?id=503 I used the code that they suggest, but there has some errors. app cannot be resolved to a variable pm cannot be resolved apps cannot be resolved to a variable How should I change it? Also, what the pm and apps are in the apps? Thank you so much for your help!! List<ApplicationInfo> installedApps = new ArrayList<ApplicationInfo>(); for(ApplicationInfo app : apps) { //checks for flags; if flagged, check if