PHP Classes

PHP APK File Detect: Build a database of information on Android Apps

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 80 All time: 10,110 This week: 206Up
Version License PHP version Categories
detect_apk 1.0.0MIT/X Consortium ...5PHP 5, Wireless and Mobile, Files and...
Description 

Author

This package can build a database of information on Android Apps.

It can read a list of directories with Android applications files in APK format from a given JSON file.

The package can retrieve information about those applications using the aapk application and stores the applications in a MySQL database like the application name, ratings, category, downloads, etc..

Picture of Chun-Sheng, Li
  Performance   Level  
Name: Chun-Sheng, Li <contact>
Classes: 37 packages by
Country: Taiwan Taiwan
Age: 31
All time rank: 21046 in Taiwan Taiwan
Week rank: 5 Up1 in Taiwan Taiwan Up
Innovation award
Innovation award
Nominee: 17x

Winner: 1x

Documentation

detect_apk

help you get the apk informations

Usage

Step1

Download composer.phar ans use following command:

php cimposer.phar install

Step2

Create the db.txt

your-user-name
your-password

Step3

Download the apktools because the aapt package is in the project.

Step4

Edit the file_path.json and you can create many file_path values in the key name: file_path

Specify the current and absolute file path for aapt execution file.

{
    "file_path": [
		"your apk file path1", 
		"your apk file path2", 
		"your apk file path3" 
	], 
	"aapt_execution": "C:\\Apktool\\brut.apktool\\apktool-lib\\src\\main\\resources\\prebuilt\\aapt\\windows\\aapt.exe"
}

Step5

DB: MySQL

create the databse name: apks and import the apks.sql file.

Step6

Join it!

php index.php

  Files folder image Files (7)  
File Role Description
Files folder imagehelper (2 files)
Accessible without login Plain text file apks.sql Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file file_path.json Data Auxiliary data
Plain text file index.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (7)  /  helper  
File Role Description
  Plain text file greet.php Class Class source
  Accessible without login Plain text file process_apk.php Example Example script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:80
This week:0
All time:10,110
This week:206Up