From 14ad314a1a63a558340740db8b3bdaded7fe001b Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Sun, 13 Nov 2016 17:42:53 +0300 Subject: [PATCH] Added OsmAnd/maps installation request to Sample --- .../res/layout/install_osmand_dialog.xml | 40 ++++++++++ OsmAndCore-sample/res/values/strings.xml | 8 ++ OsmAndCore-sample/res/values/styles.xml | 2 +- .../sample1/InstallOsmAndAppDialog.java | 79 +++++++++++++++++++ .../samples/android/sample1/MainActivity.java | 52 +++++++++--- .../samples/android/sample1/SampleUtils.java | 62 +++++++++++++++ 6 files changed, 233 insertions(+), 10 deletions(-) create mode 100644 OsmAndCore-sample/res/layout/install_osmand_dialog.xml create mode 100644 OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/InstallOsmAndAppDialog.java create mode 100644 OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/SampleUtils.java diff --git a/OsmAndCore-sample/res/layout/install_osmand_dialog.xml b/OsmAndCore-sample/res/layout/install_osmand_dialog.xml new file mode 100644 index 0000000000..2b7e39d421 --- /dev/null +++ b/OsmAndCore-sample/res/layout/install_osmand_dialog.xml @@ -0,0 +1,40 @@ + + + + + + + + + +