Interim add version display to help screen to aid support

This commit is contained in:
sonora 2015-10-29 07:31:34 +01:00
parent c7278586dc
commit 92a8855a79

View file

@ -16,6 +16,7 @@ import android.webkit.WebViewClient;
import net.osmand.plus.OsmandApplication; import net.osmand.plus.OsmandApplication;
import net.osmand.plus.R; import net.osmand.plus.R;
import net.osmand.plus.Version;
import net.osmand.plus.helpers.AndroidUiHelper; import net.osmand.plus.helpers.AndroidUiHelper;
import java.io.BufferedReader; import java.io.BufferedReader;
@ -45,7 +46,7 @@ public class HelpActivity extends OsmandActionBarActivity {
} }
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
String title = getString(R.string.shared_string_help); String title = getString(R.string.shared_string_help) + " (" + Version.getFullVersion(getMyApplication()) + ")";
String url = "index.html"; String url = "index.html";
if(getIntent() != null) { if(getIntent() != null) {
String tl = getIntent().getStringExtra(TITLE); String tl = getIntent().getStringExtra(TITLE);