How can retrieve the following information from the manifest of an installed application?
activity android:label="Movie Player"
android:name=".MoviePlayer"
The PackageInfo class gives access to the contents of a manifest, it contains ActivityInfo objects (among others) which have the fields you need.
To read the application label from manifest use PackageInfo Class
Kotlin Code
packageManager.getPackageInfo(packageName,0).applicationInfo.nonLocalizedLabel.toString()