-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display application name in addition to package name #59
Comments
You can't easily get the application name from ADB. You need the This involves downloading the right After getting the right adb push aapt /data/local/tmp
adb shell chmod 0755 /data/local/tmp/aapt To get the app name : adb shell /data/local/tmp/aapt-pie d badging </path/to/apk.apk> | grep 'application: label=' There is kind of an alternative to all of this but it's not a real solution. The apk filename is often the app name so we can just parse it from the path of the package and display it as the application name. $ adb shell /data/local/tmp/aapt d badging /system/priv-app/StatementService/StatementService.apk | rg 'label='
application: label='Intent Filter Verification Service' icon=''
$ adb shell /data/local/tmp/aapt d badging /system/app/Calendar/Calendar.apk | rg 'label='
application: label='Calendar' icon='res/mipmap-anydpi-v26/ic_launcher.xml'
$ adb shell /data/local/tmp/aapt d badging /system/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk | rg 'label='
application: label='' icon=''
$ adb shell /data/local/tmp/aapt d badging /system/priv-app/SettingsProvider/SettingsProvider.apk | rg 'label='
application: label='Settings Storage' icon='res/mipmap-mdpi-v4/ic_launcher_settings.png'
$ adb shell /data/local/tmp/aapt d badging /system/app/SecureElement/SecureElement.apk | rg 'label='
application: label='' icon='' As you can see. The apk name is not always the app name. The thing is there isn't even always an label... We need to keep in mind that most of the time, the application label isn't really more useful than the package name. However, it is much more complicated to display it. |
That's not my experience at all. The app name and apk filename are usually not the same in my experience (mainly on Oneplus devices). |
Yes. sometimes would have been more appropriate. What do you think of this feature (with |
I dunno, the moment you gotta push packages to install on the device things get a bit messy for my taste. |
Another option is to unzip the |
Why not use a dictionary? |
Because that requires extra maintenance, since the name could change at any time.
I agree with this. We could use the dictionary as a temporary solution, but that would still require work that would be "wasted" in the long run |
I wonder if system applications change name that often. |
Wait, that gives me an idea. What if we automate this process? Of course, not all apps can have their names automatically updated. We could fetch and parse the name by using the app-market URLs (not the URL per-se, I mean the page being pointed by the link) |
There's about 400 apps with a Google Play link, and less than 10 for the Galaxy Store out of 2327 apps. An other way, mentioned by KarlRamstedt is to use a package viewer. |
Nice! this will make everything much easier. But the only way I know to automate the CSV Export is to simulate a UI touch (which can be done via ADB). Perhaps, an easier option is to make a dedicated app that listens to a |
I got an idea. We could write a script that sends HTTP Or even better, we could add this functionality directly to UAD. Everytime the user clicks a pack to see its description, UAD would check if there's a market link available. To make it more efficient, it could cache results. To make it smarter, it should parse the pack ID to ignore markets and prioritize order: for example, if the ID contains "samsung", UAD will only check GPS & SGS, no need to check other stores. If the ID doesn't contain any known OEM name, and the |
Just a suggestion, to help, add another column that is the associated app name, if known.
The text was updated successfully, but these errors were encountered: