changed map api to TC

added proguard conf
This commit is contained in:
2011-12-10 17:58:56 +00:00
parent f261209979
commit e50b8534b6
4 changed files with 42 additions and 3 deletions

Binary file not shown.

37
FindMyCarLib/proguard.cfg Normal file
View File

@@ -0,0 +1,37 @@
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable
-flattenpackagehierarchy
-dontoptimize
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-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 com.android.vending.licensing.ILicensingService
-keep public class * extends android.preference.Preference
-keepclasseswithmembernames class * {
native <methods>;
}
-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet);
}
-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}

View File

@@ -12,3 +12,5 @@ android.library=true
target=Google Inc.:Google APIs:14
android.library.reference.1=../ExceptionHandlerLib
android.library.reference.2=../LocationLib
proguard.config=proguard.cfg

View File

@@ -23,7 +23,7 @@
android:layout_height="fill_parent"
android:layout_above="@+id/buttons"
android:layout_below="@id/table"
android:layout_below="@id/table"
android:apiKey="0rKmsWMM0D-K15bEM_kwabPbNhsn4dp4rcq2q5Q"
android:clickable="true" />
<LinearLayout