From 79df485bd8cee49dd526ca18b94f3bedc1b6fb4a Mon Sep 17 00:00:00 2001 From: Pavlos Siaperas Date: Tue, 4 Jun 2013 19:07:51 +0300 Subject: [PATCH 1/4] Testing adding possibility to send email, sms and rate files --- Ted/.classpath | 21 ++-- Ted/AndroidManifest.xml | 27 +++- Ted/lint.xml | 3 + Ted/res/layout/layout_save_as.xml | 25 ++-- Ted/res/layout/mail.xml | 59 +++++++++ Ted/res/layout/rating.xml | 49 ++++++++ Ted/res/layout/sms.xml | 44 +++++++ Ted/res/values/arrays.xml | 19 ++- Ted/res/values/strings.xml | 13 +- Ted/res/values/toasts.xml | 4 + Ted/res/xml/ted_prefs.xml | 6 + .../xgouchet/texteditor/RatingActivity.java | 116 ++++++++++++++++++ .../texteditor/SendEmailActivity.java | 69 +++++++++++ .../xgouchet/texteditor/SendSMSActivity.java | 64 ++++++++++ .../fr/xgouchet/texteditor/TedActivity.java | 53 +++++++- .../texteditor/TedSaveAsActivity.java | 34 ++++- .../texteditor/TedSettingsActivity.java | 3 + .../xgouchet/texteditor/common/Constants.java | 22 ++++ .../xgouchet/texteditor/common/Settings.java | 6 + .../texteditor/common/TextFileUtils.java | 29 +---- .../texteditor/ui/view/AdvancedEditText.java | 26 +++- 21 files changed, 633 insertions(+), 59 deletions(-) create mode 100644 Ted/lint.xml create mode 100644 Ted/res/layout/mail.xml create mode 100644 Ted/res/layout/rating.xml create mode 100644 Ted/res/layout/sms.xml create mode 100644 Ted/src/fr/xgouchet/texteditor/RatingActivity.java create mode 100644 Ted/src/fr/xgouchet/texteditor/SendEmailActivity.java create mode 100644 Ted/src/fr/xgouchet/texteditor/SendSMSActivity.java diff --git a/Ted/.classpath b/Ted/.classpath index 3e2b42f..7788487 100755 --- a/Ted/.classpath +++ b/Ted/.classpath @@ -1,9 +1,12 @@ - - - - - - - - - + + + + + + + + + + + + diff --git a/Ted/AndroidManifest.xml b/Ted/AndroidManifest.xml index 77f06a1..889b3af 100755 --- a/Ted/AndroidManifest.xml +++ b/Ted/AndroidManifest.xml @@ -4,9 +4,9 @@ android:installLocation="auto" android:versionCode="19" android:versionName="Release 1.8.1" > - + - + + @@ -107,6 +108,7 @@ android:name=".TedSettingsActivity" android:label="@string/title_settings" android:windowSoftInputMode="stateHidden" > + @@ -152,6 +154,24 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Ted/lint.xml b/Ted/lint.xml new file mode 100644 index 0000000..ee0eead --- /dev/null +++ b/Ted/lint.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/Ted/res/layout/layout_save_as.xml b/Ted/res/layout/layout_save_as.xml index 8fa327e..9f5d989 100755 --- a/Ted/res/layout/layout_save_as.xml +++ b/Ted/res/layout/layout_save_as.xml @@ -4,21 +4,28 @@ android:layout_height="match_parent" android:orientation="vertical" > + + + + - - + + + + + + + + + + + + + + + + + + +