project config

This commit is contained in:
Hannes Janetzek 2012-10-27 13:34:30 +02:00
parent 78aac5f019
commit 65a6f91f3c
3 changed files with 73 additions and 6 deletions

View File

@ -15,10 +15,11 @@
android:targetSdkVersion="10" /> android:targetSdkVersion="10" />
<application <application
android:name="org.oscim.app.App"
android:icon="@drawable/globe2" android:icon="@drawable/globe2"
android:label="@string/application_name" android:label="@string/application_name"
android:theme="@android:style/Theme.NoTitleBar" android:theme="@android:style/Theme.NoTitleBar"
> android:hardwareAccelerated="false">
<!-- android:theme="@style/Theme.TileMap" --> <!-- android:theme="@style/Theme.TileMap" -->
<activity <activity
android:name="TileMap" android:name="TileMap"
@ -32,6 +33,13 @@
<activity android:name=".preferences.EditPreferences" /> <activity android:name=".preferences.EditPreferences" />
<activity android:name=".filepicker.FilePicker" /> <activity android:name=".filepicker.FilePicker" />
<activity android:name=".InfoView" /> <activity android:name=".InfoView" />
<activity
android:name=".POIActivity"
android:label="@string/application_name"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:windowSoftInputMode="stateHidden"
android:launchMode="singleTop"
/>
</application> </application>
</manifest> </manifest>

View File

@ -6,10 +6,14 @@
<meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Style-Type" content="text/css" />
</head> </head>
<body style="padding: 0.5em;"> <body style="padding: 0.5em;">
<p style="text-align: center;"><img alt="mapsforge logo" src="file:///android_asset/globe2.png" style="width: 72px; height: 72px;" /><br />Version 0.2.1</p> <p style="text-align: center;"><img src="file:///android_asset/globe2.png" style="width: 72px; height: 72px;" /><br />Version 0.2.1</p>
<p> <a href="https://code.google.com/p/vector-tile-map">OpenScienceMap</a> is distributed under the <a href="http://www.gnu.org/licenses/lgpl.html">LGPL3 license</a>.</p> <p>
<p> This software is based on <a href="https://code.google.com/p/mapsforge">mapsforge</a> library 0.2.4.</p> <li><a href="https://code.google.com/p/vector-tile-map">OpenScienceMap</a> is distributed under the <a href="http://www.gnu.org/licenses/lgpl.html">LGPL3</a>.
<p>Map data © <a href="http://www.openstreetmap.org/">OpenStreetMap</a> contributors, still using <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>.</p> Please report any bugs, problems or feature requests via our <a href="https://code.google.com/p/vector-tile-map/issues/list">issue tracker</a></li></p>
<p>Please report all bugs and feature requests via our <a href="https://code.google.com/p/vector-tile-map/issues/list">issue tracker</a> </p> <p></p>
<p></p>
<p> <li> This software contains fragments of <a href="https://code.google.com/p/mapsforge">mapsforge</a> library and <a href="http://code.google.com/p/osmdroid">osmdroid</a>.</li></p>
<p> <li>Map data © <a href="http://www.openstreetmap.org/">OpenStreetMap</a> contributors <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>.</li></p>
</body> </body>
</html> </html>

55
myproguard.cfg Normal file
View File

@ -0,0 +1,55 @@
-injars bin/classes
-libraryjars /home/jeff/src/android/platforms/android-16/android.jar
-libraryjars lib/postgresql-9.0-801.jdbc4.jar
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontpreverify
-verbose
-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.BackupAgentHelper
-keep public class * extends android.preference.Preference
-keep public class com.android.vending.licensing.ILicensingService
-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);
}
-keep class * extends android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
# Also keep - Enumerations. Keep the special static methods that are required in
# enumeration classes.
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
# Keep names - Native method names. Keep all native class/method names.
-keepclasseswithmembers,allowshrinking class * {
native <methods>;
}