This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Eclipse AntClassloader gives weird results for | |
<dirname property="root.d" file="${basedir}"/> | |
we use this instead | |
--> | |
<dirname property="root.d" file="${ant.file.Beowolf}"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xpath input="AndroidManifest.xml" expression="/manifest/application/@android:hasCode" | |
output="manifest.hasCode" default="true"/> | |
<xpath input="AndroidManifest.xml" | |
expression="/manifest/@package" output="manifest.package" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/* | |
-optimizationpasses 5 | |
-dontusemixedcaseclassnames | |
-dontskipnonpubliclibraryclasses | |
-dontpreverify | |
-verbose | |
-ignorewarnings | |
-renamesourcefileattribute SourceFile | |
-keepattributes SourceFile,LineNumberTable,*Annotation*,Signature |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.github.shareme.loga; | |
import org.apache.log4j.Level; | |
import de.mindpipe.android.logging.log4j.LogConfigurator; | |
import android.os.Environment; | |
import android.util.Config; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2011 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# GIMP plugin for applying Android menu icon style | |
# For batch processing, use it like this: | |
# gimp -i --batch-interpreter=python-fu-eval -b 'pdb.python_fu_androidicon_batch(None, None, "/path/to/pictures/*.svg", "/path/to/res");pdb.gimp_quit(1)' | |
from gimpfu import * | |
import glob | |
import os | |
import shutil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% comment%}<!-- | |
Be careful we do not want to access or iterate an array as an associative | |
array of associative arrays | |
We are cheating here by using | |
assign siteImgArrayObject to tell us what associative array to iterate over | |
out of collection of associative arrays. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- adb shell am instrument com.leandog/com.google.android.testing.nativedriver.server.ServerInstrumentation | |
- adb forward tcp:54129 tcp:54129a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<condition property="bash.it" value="/bin/bash" else="cmd"> | |
<and> | |
<not> | |
<os family="windows"/> | |
</not> | |
</and> | |
</condition> | |
<property name="lint.script" value="${sdk.dir}/tools/lint"/> | |
<property name="lint.report" location="${basedir}/project.docs/lintreport.html"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<emma> | |
<report sourcepath="${tested.project.absolute.dir}/${source.dir}" | |
verbosity="${verbosity}"> | |
<!-- TODO: report.dir or something like should be introduced if necessary --> | |
<infileset dir="${tested.project.absoulte.dir}"> | |
<include name="coverage.em"/> | |
</infileset> | |
<infileset dir="."> |