2017 © Pedro Peláez
 

library php-read-apk

Read basic info about an application from .apk file.

image

hoanganh25991/php-read-apk

Read basic info about an application from .apk file.

  • Friday, July 8, 2016
  • by hoanganh25991
  • Repository
  • 1 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PHP read info from apk file

aapt on linux (ubuntu)

PHP apk parser CAN NOT understand hashed path for application-icon,.., (*1)

<application theme="0x7f080035" label="0x7f070042" 
icon="0x7f020038" name="us.originally.garlock.controllers.Gar
lockApplication" allowBackup="0xffffffff" hardwareAccelerated="
0xffffffff" largeHeap="0xffffffff">

Using aapt read out: Where the icon locate?, (*2)

/*#update source list to install `aapt`
sudo nano /etc/apt/sources.list

#append this line
deb http://us.archive.ubuntu.com/ubuntu vivid main universe

sudo 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], (*3)

/*#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

The Versions

08/07 2016

dev-master

9999999-dev https://github.com/hoanganh25991/php-read-apk

Read basic info about an application from .apk file.

  Sources   Download

MIT

The Requires

 

by Anh Le Hoang

read parser android apk