From bf6369e1b7752a2ce30e273da1fe89e617ff402a Mon Sep 17 00:00:00 2001 From: Jimmy Shih Date: Fri, 25 Jan 2013 13:06:25 -0800 Subject: [PATCH] Add Send to Drive in ChooseUploadServiceDialogFragment --- .../res/drawable-hdpi/google_drive_icon.png | Bin 0 -> 2808 bytes .../res/drawable-ldpi/google_drive_icon.png | Bin 0 -> 1205 bytes .../res/drawable-mdpi/google_drive_icon.png | Bin 0 -> 1870 bytes MyTracks/res/layout/choose_upload_service.xml | 10 +++++ MyTracks/res/values/keys.xml | 1 + MyTracks/res/values/strings.xml | 5 +++ .../ChooseUploadServiceDialogFragment.java | 38 ++++++++++------- .../mytracks/io/sendtogoogle/SendRequest.java | 39 ++++++++++++++++++ .../apps/mytracks/util/PreferencesUtils.java | 9 ++-- 9 files changed, 83 insertions(+), 19 deletions(-) create mode 100644 MyTracks/res/drawable-hdpi/google_drive_icon.png create mode 100644 MyTracks/res/drawable-ldpi/google_drive_icon.png create mode 100644 MyTracks/res/drawable-mdpi/google_drive_icon.png diff --git a/MyTracks/res/drawable-hdpi/google_drive_icon.png b/MyTracks/res/drawable-hdpi/google_drive_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..0f5f2449f8eb61a25533e342ebdf3e0459a13b62 GIT binary patch literal 2808 zcmVPx#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2i*Y} z0UiSJG{;o{019|XL_t(&-tC!vuwCU<#(&S+=kwm&=iYtxyVtYUv(|dnd*JkO`glo)PWjFouYBD{ zW}p1rHLqDXuiK5hkc|aGAeGFXZJMA3nQYYMu|ieK$ZvvQb3gG)W|Z>Ii%lx#Q}70zH(^zAO;yQ zRMTDdEmi#9e{|@V)f|C};dL||HMk5UqJ7Ge-oLc-@(W&3020?pKHIWgBN%p(&0ihp z@!)|(rx-uZi5SzSp;qfe7*uj($I=5A>lFdeyJh~3lHMgLl#g5@XZnEIyBOTGr^Auu z%nVBq#rT>&O_1^~G}#X< z2#r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xh zw5}ujzbwtkE$?Pk4i-tdROO^i8C?QLqW|PZ2H%*I@Hsf;QPDYys(MUq_p^GI;L$*LM731{}E1Q zk8`DB@Yr_~i@m06WG5s#y#cG{E}+|=p~3`e?HNV$KB&jZ-0ACmB$b(35o4n#i~0W= zZrZhV<8p|!*Kl1fS88;MQ3Hfh*5vwx-huV>_stdYl{=@?h|XY^>A8#O^j4S9Ppa4` z`aH_}4CEMls;z;k(O{WMN#ZlRw{F}85Q|&>GTHtlu!kIg(mN)BU@|XDmmltVEwNGo z36qVlhHIJHa6VCW8`avJc^)H}{9pF88c*x!?q6o+u~6n&n?IfC#LHVgwcE)z+g_5@ zj68s6)^Gj8rD`nsjQ^4=4w(WNar?nb^#Mx`D#3NdL!@8AXo zdpF_84(YG`UWV&m*9g4vJ`&AzRl{=m5`?4F^uz#moW57C|NZW5oBsMc4m7g1Adcjw zoIPkj%Uz}(Jr9inZ2D`@p||$jvFvs0X?0<08JHzPKAYjIB@lglFv32p<7~gb0Kn2U zJD#z*wiP%7^q<~9@9FheiNS^+pf`I?^HepiD)VhUi_}eOR646uZeDh7S|z&UX}DIO zNBLg56X|O&Vp~Ob0uPqFS1k9L{-4*QQIEm;3+YU6$fMxcm4#|F#w4d^__EC?r7YM| zexI5KnZc%JxTjgKIOQqemPc+ld*P%3EMK!@KX4Dso;i__ zKFVSr^GuE5sRd#zosS08tS#XAl+p)IX=iSE%Z{|X=HRt!AHIBLIC~LQe`d_{7UyfB z)e3oITsv{ID9dMkedII|A-BVq|NiJBH=KRo^w;^PkJHETkN*cB_zGSM9vw&k0000< KMNUMnLSTZyvy?Fa literal 0 HcmV?d00001 diff --git a/MyTracks/res/drawable-ldpi/google_drive_icon.png b/MyTracks/res/drawable-ldpi/google_drive_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..4e82793e04140c54190aaf3409d7efd18cd10603 GIT binary patch literal 1205 zcmV;m1WNmfP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ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z*>_olde{}%pTZhCfjEWN1nTH$6NoizlwhVokRe# Txu;-A00000NkvXXu0mjf7tBNW literal 0 HcmV?d00001 diff --git a/MyTracks/res/drawable-mdpi/google_drive_icon.png b/MyTracks/res/drawable-mdpi/google_drive_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..1ce335594cac1ebc34df1076fed214ce051ce554 GIT binary patch literal 1870 zcmV-U2eJ5xP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2i*Y} z5iJvQ$sy+e00z!UL_t(o!|j$`tQ}<)hM%>*nc3%@p3{~VDNq8frVv7*73HU`XhDf2 z8cozFr-h&-DiBPn+?iN4k(d|);V0pz(%JwKj6aDHlU}siYD=Yn0;#rwfH5>6&|1K9 zy7!*-dhvbxw8*La#0xK+eKE6V=9~3?YrXHg7W~g2H;%ufWfR-ZdrR-xTYBrJFTMM^ znY;dS<-CK37Mg)MX5};a0?VJgacJppR{d814Bvh+{p6db?|tR`KP-M;M-7>o8D^dr zn}e0GcIb10#luUsJo;we_ai;1@5rfd%|3`&{!-o1Hy(DI)}id&z!TRMR?^P_buu1iT6~rI6mOO005J*B!x-3wRv*>RlSp+p?Uwt zH!s1^x=Zo{_sh*~uDRhU2l1muXam0Xu+z5Sp4o4nIpE3hRNGI7~m;Qlc)TWHC|;T!R+b(=K;2|Ix6n~x_|jR|EVcmtsd8i6Eknb>~*SasNjZD%!BQ9&s z{WTMhetK#S46R?e8tim8)9cc2#bQlZr-s_WeHY)|u(2ClgIV7QvH*k#LV$!MlY|)( z-0<4AJkx1~~pgfPdN3X+>O@gacDnH#o6#Ba0s zTD5Jfh!!G{A{PKjA&@H6zYXBEtxGb1;dLu>?Pb>q=2!-$fwyPh7nZXr64;E9uXk5( z*jul@C>vKNeQMwS33|PtuCe6G!6g(zAtRSTpwAxIy7Y|UWe*%u!O+?j=is*8vaU0k zQvy?#RmpC_u*d3VaewRX7rHlWX7APyGi%vKesSA5Uma=M>xUcHakD!%Yb?>!MskQY zPy~_&S=l-Afd>}m4BWY*681d?obD_KGEim?+GQxDH9?INosnNc}ZjwKV7XGyt(CnK3~lNo_oyY{JD-u1k94^BKS z>BkDW0*EXY0%!vXrag8V-giVFykgqiMWlM9R4TXRWRANR*=F}VyxABWZf-B_zWIc2 zWh1)!XS8j51)`UY3sdBakVyZSMzd!QVLi+$Mo(Nqs!DJSHzS#o+)0-3GOi7t4*+3i zZdQf`jRTzWm1psK%{XzzkGf!AL^6dmkf6NJ^c`pAw0EX6Ht)RBUj!-vN-MU)8!O_m zH;y|hcYZIi8DRI#bMq_BniaHCN@%C>lR+j6jXrg(xHCz~ z@sy|FLA^5oD+&;j5fOwm89drhfR*6){qcr57awsV>VNs(9f)<|eH(uEBz4jPhK@M{ zMLTJw2tosn1g%6w&~J0lh|HZRJQ5fYlJrmDI{>GydT#28s9Cduel>A?ePC?&+$~p* zHgitQL4j0NIn{;fZic(#4u-=dH4X)DBYVFjqHTY^^ZH{x`G)cT-&qo$|LL9?SKoe4 zGyA0BYz@j2@1#VsSE$^JnCzBi9u`s7F&I!Jm-GbxKc+bT1*6VogpDE;6951J07*qo IM6N<$g5 + + + + pickExistingMap reportSpeed sendToDocs + sendToDrive sendToFusionTables sendToMaps sensorType diff --git a/MyTracks/res/values/strings.xml b/MyTracks/res/values/strings.xml index af09fd6a3..57eb66f6e 100644 --- a/MyTracks/res/values/strings.xml +++ b/MyTracks/res/values/strings.xml @@ -1436,6 +1436,11 @@ limitations under the License. checkbox option to send to Google Docs."> Google Docs + + Google Drive + diff --git a/MyTracks/src/com/google/android/apps/mytracks/fragments/ChooseUploadServiceDialogFragment.java b/MyTracks/src/com/google/android/apps/mytracks/fragments/ChooseUploadServiceDialogFragment.java index 17c973e1d..daf933a94 100644 --- a/MyTracks/src/com/google/android/apps/mytracks/fragments/ChooseUploadServiceDialogFragment.java +++ b/MyTracks/src/com/google/android/apps/mytracks/fragments/ChooseUploadServiceDialogFragment.java @@ -13,6 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. */ + package com.google.android.apps.mytracks.fragments; import com.google.android.apps.mytracks.io.sendtogoogle.AccountChooserActivity; @@ -52,8 +53,7 @@ public class ChooseUploadServiceDialogFragment extends DialogFragment { Bundle bundle = new Bundle(); bundle.putParcelable(KEY_SEND_REQUEST, sendRequest); - ChooseUploadServiceDialogFragment chooseUploadServiceDialogFragment = - new ChooseUploadServiceDialogFragment(); + ChooseUploadServiceDialogFragment chooseUploadServiceDialogFragment = new ChooseUploadServiceDialogFragment(); chooseUploadServiceDialogFragment.setArguments(bundle); return chooseUploadServiceDialogFragment; } @@ -61,6 +61,7 @@ public class ChooseUploadServiceDialogFragment extends DialogFragment { private FragmentActivity activity; private SendRequest sendRequest; + private CheckBox driveCheckBox; private CheckBox mapsCheckBox; private CheckBox fusionTablesCheckBox; private CheckBox docsCheckBox; @@ -75,10 +76,13 @@ public class ChooseUploadServiceDialogFragment extends DialogFragment { View view = activity.getLayoutInflater().inflate(R.layout.choose_upload_service, null); + driveCheckBox = (CheckBox) view.findViewById(R.id.choose_upload_service_drive); mapsCheckBox = (CheckBox) view.findViewById(R.id.choose_upload_service_maps); fusionTablesCheckBox = (CheckBox) view.findViewById(R.id.choose_upload_service_fusion_tables); docsCheckBox = (CheckBox) view.findViewById(R.id.choose_upload_service_docs); + driveCheckBox.setChecked(PreferencesUtils.getBoolean( + activity, R.string.send_to_drive_key, PreferencesUtils.SEND_TO_DRIVE_DEFAULT)); mapsCheckBox.setChecked(PreferencesUtils.getBoolean( activity, R.string.send_to_maps_key, PreferencesUtils.SEND_TO_MAPS_DEFAULT)); fusionTablesCheckBox.setChecked(PreferencesUtils.getBoolean( @@ -97,8 +101,8 @@ public class ChooseUploadServiceDialogFragment extends DialogFragment { RadioButton newMapRadioButton = (RadioButton) view.findViewById( R.id.choose_upload_service_new_map); - boolean defaultMapPublic = PreferencesUtils.getBoolean(activity, - R.string.default_map_public_key, PreferencesUtils.DEFAULT_MAP_PUBLIC_DEFAULT); + boolean defaultMapPublic = PreferencesUtils.getBoolean( + activity, R.string.default_map_public_key, PreferencesUtils.DEFAULT_MAP_PUBLIC_DEFAULT); newMapRadioButton.setText(defaultMapPublic ? R.string.send_google_new_public_map : R.string.send_google_new_unlisted_map); @@ -106,8 +110,8 @@ public class ChooseUploadServiceDialogFragment extends DialogFragment { R.id.choose_upload_service_existing_map); updateMapsOption(); - if (PreferencesUtils.getBoolean(activity, R.string.pick_existing_map_key, - PreferencesUtils.PICK_EXISTING_MAP_DEFAULT)) { + if (PreferencesUtils.getBoolean( + activity, R.string.pick_existing_map_key, PreferencesUtils.PICK_EXISTING_MAP_DEFAULT)) { existingMapRadioButton.setChecked(true); } else { newMapRadioButton.setChecked(true); @@ -117,27 +121,25 @@ public class ChooseUploadServiceDialogFragment extends DialogFragment { .setPositiveButton(R.string.send_google_send_now, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { + PreferencesUtils.setBoolean( + activity, R.string.send_to_drive_key, driveCheckBox.isChecked()); PreferencesUtils.setBoolean( activity, R.string.pick_existing_map_key, existingMapRadioButton.isChecked()); PreferencesUtils.setBoolean( activity, R.string.send_to_maps_key, mapsCheckBox.isChecked()); - PreferencesUtils.setBoolean(activity, R.string.send_to_fusion_tables_key, - fusionTablesCheckBox.isChecked()); + PreferencesUtils.setBoolean( + activity, R.string.send_to_fusion_tables_key, fusionTablesCheckBox.isChecked()); PreferencesUtils.setBoolean( activity, R.string.send_to_docs_key, docsCheckBox.isChecked()); - if (mapsCheckBox.isChecked() || fusionTablesCheckBox.isChecked() - || docsCheckBox.isChecked()) { + if (driveCheckBox.isChecked() || mapsCheckBox.isChecked() + || fusionTablesCheckBox.isChecked() || docsCheckBox.isChecked()) { startNextActivity(); } else { - Toast.makeText( - activity, R.string.send_google_no_service_selected, Toast.LENGTH_LONG) + Toast.makeText(activity, R.string.send_google_no_service_selected, Toast.LENGTH_LONG) .show(); } } - }) - .setTitle(R.string.send_google_title) - .setView(view) - .create(); + }).setTitle(R.string.send_google_title).setView(view).create(); } /** @@ -151,6 +153,7 @@ public class ChooseUploadServiceDialogFragment extends DialogFragment { * Starts the next activity, {@link AccountChooserActivity}. */ private void startNextActivity() { + sendRequest.setSendDrive(driveCheckBox.isChecked()); sendRequest.setSendMaps(mapsCheckBox.isChecked()); sendRequest.setSendFusionTables(fusionTablesCheckBox.isChecked()); sendRequest.setSendDocs(docsCheckBox.isChecked()); @@ -165,6 +168,9 @@ public class ChooseUploadServiceDialogFragment extends DialogFragment { * Sends stats to Google Analytics. */ private void sendStats() { + if (sendRequest.isSendDrive()) { + AnalyticsUtils.sendPageViews(activity, "/send/drive"); + } if (sendRequest.isSendMaps()) { AnalyticsUtils.sendPageViews(activity, "/send/maps"); } diff --git a/MyTracks/src/com/google/android/apps/mytracks/io/sendtogoogle/SendRequest.java b/MyTracks/src/com/google/android/apps/mytracks/io/sendtogoogle/SendRequest.java index 4dd2d0ed0..840ea1c0d 100644 --- a/MyTracks/src/com/google/android/apps/mytracks/io/sendtogoogle/SendRequest.java +++ b/MyTracks/src/com/google/android/apps/mytracks/io/sendtogoogle/SendRequest.java @@ -33,12 +33,14 @@ public class SendRequest implements Parcelable { private long trackId = -1L; private String sharingAppPackageName = null; private String sharingAppClassName = null; + private boolean sendDrive = false; private boolean sendMaps = false; private boolean sendFusionTables = false; private boolean sendDocs = false; private boolean newMap = false; private Account account = null; private String mapId = null; + private boolean driveSuccess = false; private boolean mapsSuccess = false; private boolean docsSuccess = false; private boolean fusionTablesSuccess = false; @@ -91,6 +93,23 @@ public class SendRequest implements Parcelable { this.sharingAppClassName = sharingAppClassName; } + /** + * True if the user has selected the send to Google Drive option. + */ + public boolean isSendDrive() { + return sendDrive; + } + + /** + * Sets the send to Google Drive option. + * + * @param sendDrive true if the user has selected the send to Google Drive + * option + */ + public void setSendDrive(boolean sendDrive) { + this.sendDrive = sendDrive; + } + /** * True if the user has selected the send to Google Maps option. */ @@ -191,6 +210,22 @@ public class SendRequest implements Parcelable { this.mapId = mapId; } + /** + * True if sending to Google Drive is success. + */ + public boolean isDriveSuccess() { + return driveSuccess; + } + + /** + * Sets the Google Drive result. + * + * @param driveSuccess true if sending to Google Drive is success + */ + public void setDriveSuccess(boolean driveSuccess) { + this.driveSuccess = driveSuccess; + } + /** * True if sending to Google Maps is success. */ @@ -244,12 +279,14 @@ public class SendRequest implements Parcelable { trackId = in.readLong(); sharingAppPackageName = in.readString(); sharingAppClassName = in.readString(); + sendDrive = in.readByte() == 1; sendMaps = in.readByte() == 1; sendFusionTables = in.readByte() == 1; sendDocs = in.readByte() == 1; newMap = in.readByte() == 1; account = in.readParcelable(null); mapId = in.readString(); + driveSuccess = in.readByte() == 1; mapsSuccess = in.readByte() == 1; fusionTablesSuccess = in.readByte() == 1; docsSuccess = in.readByte() == 1; @@ -265,12 +302,14 @@ public class SendRequest implements Parcelable { out.writeLong(trackId); out.writeString(sharingAppPackageName); out.writeString(sharingAppClassName); + out.writeByte((byte) (sendDrive ? 1 : 0)); out.writeByte((byte) (sendMaps ? 1 : 0)); out.writeByte((byte) (sendFusionTables ? 1 : 0)); out.writeByte((byte) (sendDocs ? 1 : 0)); out.writeByte((byte) (newMap ? 1 : 0)); out.writeParcelable(account, 0); out.writeString(mapId); + out.writeByte((byte) (driveSuccess ? 1 : 0)); out.writeByte((byte) (mapsSuccess ? 1 : 0)); out.writeByte((byte) (fusionTablesSuccess ? 1 : 0)); out.writeByte((byte) (docsSuccess ? 1 : 0)); diff --git a/MyTracks/src/com/google/android/apps/mytracks/util/PreferencesUtils.java b/MyTracks/src/com/google/android/apps/mytracks/util/PreferencesUtils.java index 83af28af2..c20dc8e4e 100644 --- a/MyTracks/src/com/google/android/apps/mytracks/util/PreferencesUtils.java +++ b/MyTracks/src/com/google/android/apps/mytracks/util/PreferencesUtils.java @@ -78,9 +78,12 @@ public class PreferencesUtils { public static final boolean RECORDING_TRACK_PAUSED_DEFAULT = true; public static final boolean REPORT_SPEED_DEFAULT = true; public static final long SELECTED_TRACK_ID_DEFAULT = -1L; - public static final boolean SEND_TO_DOCS_DEFAULT = true; - public static final boolean SEND_TO_FUSION_TABLES_DEFAULT = true; - public static final boolean SEND_TO_MAPS_DEFAULT = true; + + public static final boolean SEND_TO_DRIVE_DEFAULT = false; + public static final boolean SEND_TO_DOCS_DEFAULT = false; + public static final boolean SEND_TO_FUSION_TABLES_DEFAULT = false; + public static final boolean SEND_TO_MAPS_DEFAULT = false; + public static final String SENSOR_TYPE_DEFAULT = "NONE"; public static final boolean SHOW_CONFIRM_PLAY_DIALOG_DEFAULT = true; public static final boolean SHOW_CONFIRM_SHARING_DIALOG_DEFAULT = true;