Getting details of all the installed apps on an Android device is incredibly simple – here’s a utility method which I hope will prove useful.
private List<ApplicationInfo> getListOfApps() {
// http://developer.android.com/reference/android/content/pm/PackageManager.html
// Class for retrieving various kinds of information related to the application
// packages that are currently installed on the device.
PackageManager packageManager = getPackageManager();
// Get a list of the installed applications
List<ApplicationInfo> listOfApps = packageManager.getInstalledApplications(PackageManager.GET_META_DATA);
return listOfApps;
}
Subscribe to:
Post Comments (Atom)
Covid-19 impact on mobile applications - a quick case study
Amidst everything that's been going on over the last few months, checking on how my apps have been doing has been low down my priorities...
-
I came across the following great site on Stumbleupon today - programming-motherfucker.com - and as a developer had a great laugh before re...
-
Analytics are key to measuring the success of your project or application and are a great way of identifying your users trends and demograph...
-
So my first experience of Android development left me frustrated after getting an error trying to launch the simple Hello World example! ...
No comments:
Post a Comment
Note: only a member of this blog may post a comment.