Skip to content

Instantly share code, notes, and snippets.

@Neznakomec
Neznakomec / build.gradle
Created December 24, 2015 08:07
How i'm finding android:debuggable flag in AndroidManifest.xml
boolean getDebuggable() {
def debuggableFlag = null;
def manifest = new XmlSlurper().parse(file("AndroidManifest.xml"))
def groovy.util.slurpersupport.NodeChild app;
def ns = new groovy.xml.Namespace("http://schemas.android.com/apk/res/android", "android")
manifest.children().find { it.name() == "application" }.each {
def groovy.util.slurpersupport.NodeChild application = it;
def debuggable = application.attributes().get(ns.debuggable.toString())
//println application.attributes().toMapString()
<?
//трудоустраивает на предприятие
$tp=0;$error_object_go=0;unset($error_object_bad);$error_object_bad[]='x'; //сбрасываем инфу
//общий цикл
for($x6=0;$x6<2;++$x6){
//**********************ДЕЙСТВИЯ В home.php