From 9feb097d113c2df8c5ee2ab38f445a71f9c08ea3 Mon Sep 17 00:00:00 2001 From: Jimmy Shih Date: Tue, 10 Jan 2012 15:16:24 -0800 Subject: [PATCH] Create a ServicePickerActivity to allow users to pick the Google services to send a track to. Benefits of the refactor: - ServicePickerActivity can easily handle screen rotation - Reduce complexity in SendActivity --- MyTracks/AndroidManifest.xml | 2 + .../android/apps/mytracks/MapActivity.java | 32 ++- .../android/apps/mytracks/TrackList.java | 22 +- .../io/sendtogoogle/SendActivity.java | 109 ++------ .../mytracks/io/sendtogoogle/SendDialog.java | 223 --------------- .../sendtogoogle/ServicePickerActivity.java | 260 ++++++++++++++++++ 6 files changed, 324 insertions(+), 324 deletions(-) delete mode 100644 MyTracks/src/com/google/android/apps/mytracks/io/sendtogoogle/SendDialog.java create mode 100644 MyTracks/src/com/google/android/apps/mytracks/io/sendtogoogle/ServicePickerActivity.java diff --git a/MyTracks/AndroidManifest.xml b/MyTracks/AndroidManifest.xml index ec0595905..558a77cbe 100755 --- a/MyTracks/AndroidManifest.xml +++ b/MyTracks/AndroidManifest.xml @@ -246,6 +246,8 @@ limitations under the License. android:label="@string/welcome_title" android:exported="false" /> + +