Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/ApkExtractor.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tufan Baris YILDIRIM  >  Apk Parser  >  examples/ApkExtractor.php  >  Download  
File: examples/ApkExtractor.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Apk Parser
Extract Application Package files in APK format
Author: By
Last change: Merge branch 'master' of https://github.com/tufanbarisyildirim/php-apk-parser
Date: 9 months ago
Size: 229 bytes
 

Contents

Class file image Download
<?php
    
include 'autoload.php';

    
$apk = new \ApkParser\Parser('EBHS.apk');
    
$extractFolder 'extract_folder';

    if(
is_dir($extractFolder) || mkdir($extractFolder))
    {
        
$apk->extractTo($extractFolder);
    }