Update version

This commit is contained in:
Victor Shcherb 2012-01-14 15:40:41 +01:00
parent 6c04b89725
commit 1d37de9501
4 changed files with 4 additions and 2 deletions

View file

@ -6,8 +6,8 @@ import java.net.URLEncoder;
public class Version {
public static String APP_NAME = "OsmAnd"; //$NON-NLS-1$
public static String APP_VERSION = "0.7.0"; //$NON-NLS-1$
public static final String APP_MAP_CREATOR_NAME = "OsmAndMapCreator"; //$NON-NLS-1$
public static final String APP_VERSION = "0.7.0"; //$NON-NLS-1$
public static final String APP_DESCRIPTION = "alpha"; //$NON-NLS-1$
public static final String APP_NAME_VERSION = APP_NAME + " " + APP_VERSION; //$NON-NLS-1$

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.osmand.plus" android:installLocation="auto" android:versionName="0.7.0" android:versionCode="44">
package="net.osmand.plus" android:installLocation="auto" android:versionName="@string/app_version" android:versionCode="44">
<meta-data android:name="com.google.android.backup.api_key"
android:value="AEdPqrEAAAAIqF3tNGT66etVBn_vgzpfAY1wmIzKV1Ss6Ku-2A" />

View file

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<resources>
<string name="app_name">OsmAnd+</string>
<string name="app_version">0.7.0</string>
<!-- Not translatable -->
<string name="ga_api_key">UA-28342846-2</string>
<string name="ga_dispatchPeriod">10</string>

View file

@ -76,6 +76,7 @@ public class OsmandApplication extends Application {
long timeToStart = System.currentTimeMillis();
osmandSettings = OsmandSettings.getOsmandSettings(this);
Version.APP_NAME = getString(R.string.app_name);
Version.APP_VERSION = getString(R.string.app_version);
routingHelper = new RoutingHelper(osmandSettings, OsmandApplication.this, player);
manager = new ResourceManager(this);
daynightHelper = new DayNightHelper(this);