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 target=Google Inc.:Google APIs:14
android.library.reference.1=../ExceptionHandlerLib android.library.reference.1=../ExceptionHandlerLib
android.library.reference.2=../LocationLib android.library.reference.2=../LocationLib
proguard.config=proguard.cfg

View File

@@ -11,19 +11,19 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
layout="@layout/distancebar" /> layout="@layout/distancebar" />
<!-- ricky beta release 0rKmsWMM0D-IRAEgcSZEqwZCs_8AUwxjYjj0bnA --> <!-- ricky beta release 0rKmsWMM0D-IRAEgcSZEqwZCs_8AUwxjYjj0bnA -->
<!-- ricky 0rKmsWMM0D-KC9KXr1WbA5aEb-2ozQ0SHTvV46g --> <!-- ricky 0rKmsWMM0D-KC9KXr1WbA5aEb-2ozQ0SHTvV46g -->
<!-- TWENTYCODES 0rKmsWMM0D-K15bEM_kwabPbNhsn4dp4rcq2q5Q --> <!-- TWENTYCODES 0rKmsWMM0D-K15bEM_kwabPbNhsn4dp4rcq2q5Q -->
<com.TwentyCodes.android.location.MapView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mapview" android:id="@+id/mapview"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:layout_above="@+id/buttons" android:layout_above="@+id/buttons"
android:layout_below="@id/table" android:layout_below="@id/table"
android:layout_below="@id/table" android:apiKey="0rKmsWMM0D-K15bEM_kwabPbNhsn4dp4rcq2q5Q"
android:clickable="true" /> android:clickable="true" />
<LinearLayout <LinearLayout