From 8bb55ad5dbc72eb558780617a2d1a9547bb68500 Mon Sep 17 00:00:00 2001 From: Jimmy Shih Date: Fri, 21 Jun 2013 17:22:37 -0700 Subject: [PATCH] Support cases when there is no files to import or export. --- MyTracks/res/values/strings.xml | 23 +++++++++++++ .../apps/mytracks/io/file/ImportActivity.java | 31 ++++++++++------- .../apps/mytracks/io/file/SaveActivity.java | 34 ++++++++++++------- 3 files changed, 63 insertions(+), 25 deletions(-) diff --git a/MyTracks/res/values/strings.xml b/MyTracks/res/values/strings.xml index 12e4bb1be..cf3f976be 100644 --- a/MyTracks/res/values/strings.xml +++ b/MyTracks/res/values/strings.xml @@ -637,6 +637,16 @@ limitations under the License. %2$s the directory. E.g., '/MyTracks/kml'."> Exported %1$d of %2$s to %3$s. + + There is no tracks to export. + + + Export tracks + %1$s does not exist. + + There were no files to import. Connect your device to your computer and place the files to + import in %1$s. + + + Import files +