https://github.com/hoanganh25991/php-read-apk
read basic info from apk, get out icon path
https://github.com/hoanganh25991/php-read-apk
Last synced: 3 months ago
JSON representation
read basic info from apk, get out icon path
- Host: GitHub
- URL: https://github.com/hoanganh25991/php-read-apk
- Owner: hoanganh25991
- Created: 2016-06-09T04:52:16.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-08T07:31:07.000Z (almost 9 years ago)
- Last Synced: 2025-02-02T15:54:27.066Z (5 months ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
#PHP read info from apk file
##aapt on linux (ubuntu)
PHP apk parser CAN NOT understand hashed path for application-icon,..
Using `aapt` read out: Where the icon locate?
/*#update source list to install `aapt`
sudo nano /etc/apt/sources.list#append this line
deb http://us.archive.ubuntu.com/ubuntu vivid main universesudo apt-get install aapt
#in folder contain "[file.apk]", run
aapt d badging [file.apk]#result
application-icon-213:'res/drawable-xhdpi-v4/app_icon.png'
application-icon-240:'res/drawable-xhdpi-v4/app_icon.png'
#appt document http://elinux.org/Android_aapt
##7zip
Base on icon-path, unzip to get it out from [file.apk]/*#instal 7zip
apt-get install p7zip-full#run command
7z e [archive.zip] -o[outputdir] [fileFilter1] [fileFilter2] -r#in [outputdir] get file base on [fileFilter1] [fileFilter2]
#only extract what we need