Esempio n. 1
0
 public function extractTo($destination, $entries = NULL)
 {
     if ($extResult = parent::extractTo($destination, $entries)) {
         //TODO: ApkXmlParser can not parse the main.xml and others! only AndroidManifest.xml
         //return $extResult;
         $xmlFiles = $this->glob_recursive($destination . '/*.xml');
         foreach ($xmlFiles as $xmlFile) {
             // TODO : Remove this ifcheck , if ApkXml can parse! amk!
             if ($xmlFile == $destination . "/AndroidManifest.xml") {
                 XmlParser::decompressFile($xmlFile);
             }
         }
     }
     return $extResult;
 }
Esempio n. 2
0
 public function extractTo($destination, $entries = NULL)
 {
     if ($extResult = parent::extractTo($destination, $entries)) {
         $xmlFiles = Utils::globRecursive($destination . '/*.xml');
         foreach ($xmlFiles as $xmlFile) {
             if ($xmlFile == $destination . "/AndroidManifest.xml") {
                 XmlParser::decompressFile($xmlFile);
             }
         }
     }
     return $extResult;
 }