For some reasons, my app can be installed with different apk names. At launch, I would like to know what is the name of the apk file. Do you know how to do that ?
Th
This is achieved with getPackageArchiveInfo from an already packaged apk file:
PackageInfo package_info = pm.getPackageArchiveInfo(file_path_to_apk, 0);