Commits

Fred Grott committed aa2c402

First commit

  • Participants

Comments (0)

Files changed (10)

+bin/
+local.properties
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>AndroidProguardFiles</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+	</buildSpec>
+	<natures>
+	</natures>
+</projectDescription>

File my-proguard-android.txt

+# This is a configuration file for ProGuard.
+# http://proguard.sourceforge.net/index.html#manual/usage.html
+
+-dontusemixedcaseclassnames
+-dontskipnonpubliclibraryclasses
+-verbose
+
+# Optimization is turned off by default. Dex does not like code run
+# through the ProGuard optimize and preverify steps (and performs some
+# of these optimizations on its own).
+-dontoptimize
+-dontpreverify
+
+# If you want to enable optimization, you should include the
+# following:
+-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
+-optimizationpasses 5
+-allowaccessmodification
+#
+# Note that you cannot just include these flags in your own
+# configuration file; if you are including this file, optimization
+# will be turned off. You'll need to either edit this file, or
+# duplicate the contents of this file and remove the include of this
+# file from your project's proguard.config path property.
+
+-keepattributes *Annotation*
+-keep public class * extends android.app.Activity
+-keep public class * extends android.app.Application
+-keep public class * extends android.app.Service
+-keep public class * extends android.content.BroadcastReceiver
+-keep public class * extends android.content.ContentProvider
+-keep public class * extends android.app.backup.BackupAgent
+-keep public class * extends android.preference.Preference
+
+
+# For native methods, see http://proguard.sourceforge.net/manual/examples.html#native
+-keepclasseswithmembernames class * {
+    native <methods>;
+}
+
+-keep public class * extends android.view.View {
+    public <init>(android.content.Context);
+    public <init>(android.content.Context, android.util.AttributeSet);
+    public <init>(android.content.Context, android.util.AttributeSet, int);
+    public void set*(...);
+}
+
+-keepclasseswithmembers class * {
+    public <init>(android.content.Context, android.util.AttributeSet);
+}
+
+-keepclasseswithmembers class * {
+    public <init>(android.content.Context, android.util.AttributeSet, int);
+}
+
+-keepclassmembers class * extends android.app.Activity {
+   public void *(android.view.View);
+}
+
+# For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations
+-keepclassmembers enum * {
+    public static **[] values();
+    public static ** valueOf(java.lang.String);
+}
+
+-keep class * implements android.os.Parcelable {
+  public static final android.os.Parcelable$Creator *;
+}
+
+-keepclassmembers class **.R$* {
+    public static <fields>;
+}
+

File proguard-admobs.txt

+-keep public class com.adwhirl.adapters.AdMobAdapter {*;}
+-keep public class com.adwhirl.adapters.MillennialAdapter {*;}
+-keep public class com.google.ads.** {*;}
+-keep public class com.millennialmedia.android.** {*;}
+-keep class com.openfeint.internal.ui.** {*;}
+-keep class * extends com.openfeint.internal.ui.WebNav$ActionHandler { <methods>; }

File proguard-logging.txt

+# Your logging stuff goes here

File proguard-marketbilling.txt

+-keep class com.android.vending.billing.**

File proguard-marketlicensing.txt

+-keep public class com.android.vending.licensing.ILicensingService

File proguard-support.txt

+# The support library contains references to newer platform versions.
+# Don't warn about those in case this app is linking against an older
+# platform version.  We know about them, and they are safe.
+-dontwarn android.support.**

File proguard-webview.txt

+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+#   public *;
+#}

File readme.markdown

+AndroidProguardFiles
+==================
+
+AndroidProguardFiles, progurd files for android java application development.
+
+Tool Level
+=========
+
+Android Tools 11 or hgher, ADT 17 or higher
+
+Project License
+============
+
+Apache License 2.0
+
+Project Lead
+==========
+
+Fred Grott
+
+blogs:
+
+[FredGrott-posterous](http://fredgrott.posterous.com)
+
+[Shareme-Githubpages](http://shareme.github.com)