admin管理员组

文章数量:1334669

I can get all the package names of android apps on a phone. But I don't know how to get the app label of each of them.

I tried to find information in dumpsys, but did not find any.

I can get all the package names of android apps on a phone. But I don't know how to get the app label of each of them.

I tried to find information in dumpsys, but did not find any.

Share Improve this question edited Nov 20, 2024 at 9:18 simon 5,6261 gold badge16 silver badges29 bronze badges asked Nov 20, 2024 at 7:49 martinmartin 357 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

To retrieve the Android app's label name (application name) using its package name, you can utilize the aapt tool (part of Android SDK) and subprocess in Python. The process involves extracting the app's APK from the device and then reading its manifest for the label.

本文标签: Get Android app label name from package nameusing only PythonStack Overflow