diff --git a/.travis.yml b/.travis.yml index 66efb47..11b9672 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,8 @@ jdk: env: global: - ANDROID_SDK_VERSION="r25.2.2" - - BUILD_TOOLS="24.0.2" - - TARGET_API="24" + - BUILD_TOOLS="25.0.2" + - TARGET_API="25" android: components: diff --git a/app/build.gradle b/app/build.gradle index 51a5d73..0e6bd03 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -15,8 +15,8 @@ android { minSdkVersion 9 targetSdkVersion 25 applicationId 'uk.co.ianfield.devstat' - versionCode 15 - versionName '2.3.0' + versionCode 16 + versionName '2.3.1' testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } signingConfigs { diff --git a/app/src/main/java/uk/co/ianfield/devstat/MainActivity.java b/app/src/main/java/uk/co/ianfield/devstat/MainActivity.java index c7c5caf..3fe7a24 100644 --- a/app/src/main/java/uk/co/ianfield/devstat/MainActivity.java +++ b/app/src/main/java/uk/co/ianfield/devstat/MainActivity.java @@ -157,6 +157,15 @@ protected void emailClick() { stringBuilder.append("\n"); } + stringBuilder.append(String.format("\n%s\n", getString(R.string.title_crypto))); + for (StatItem item : cryptoStats) { + stringBuilder.append(item.getTitle()); + stringBuilder.append(":\n"); + stringBuilder.append(item.getInfo()); + stringBuilder.append("\n"); + } + + emailIntent.putExtra(Intent.EXTRA_TEXT, stringBuilder.toString()); startActivity(Intent.createChooser(emailIntent, getString(R.string.send_email))); }