ayoola-solomon / mytracks

Automatically exported from code.google.com/p/mytracks
0 stars 0 forks source link

Support Screen Rotation for SendActivity #652

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Below is the nobfuscated stack trace.

We should check if a dialog is shown before dismissing it.

java.lang.IllegalArgumentException: no dialog with id 2 was ever shown via 
Activity#showDialog
at android.app.Activity.missingDialog(Activity.java:2761)
at android.app.Activity.dismissDialog(Activity.java:2746)
at com.google.android.apps.mytracks.io.sendtogoogle.SendActivity$6.void 
run()(MT:590)
at android.app.Activity.runOnUiThread(Activity.java:3878)
at com.google.android.apps.mytracks.io.sendtogoogle.SendActivity.void 
executeStateMachine(com.google.android.apps.mytracks.io.sendtogoogle.SendActivit
y$SendState)(MT:320)
at com.google.android.apps.mytracks.io.sendtogoogle.SendActivity.void 
access$5(com.google.android.apps.mytracks.io.sendtogoogle.SendActivity,com.googl
e.android.apps.mytracks.io.sendtogoogle.SendActivity$SendState)(MT:312)
at com.google.android.apps.mytracks.io.sendtogoogle.SendActivity$5.void 
run()(MT:570)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:4389)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
at dalvik.system.NativeStart.main(Native Method)

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

Original issue reported on code.google.com by jshih@google.com on 12 Dec 2011 at 9:51

GoogleCodeExporter commented 9 years ago
The reproduce steps is :
1. Selecting an existing track, then press and hold.
2. Click "Send to Google..." in the prompt menu.
3. Then click "Send now" button(If necessary, you should choose account to 
send).
4. Rotate the phone after the Progress Dialog prompt out and before the 
progress go to 100%. 

Expected: The Success dialog displays.
Actual: A error dialog displays, as attachment shows.

Original comment by youtaol@google.com on 13 Dec 2011 at 7:15

GoogleCodeExporter commented 9 years ago

Original comment by jshih@google.com on 10 Jan 2012 at 11:17

GoogleCodeExporter commented 9 years ago
Hi Sandor:

This is the first of several changesets as discussed.

http://code.google.com/r/jshih-mytracks1/source/detail?r=c2b1dec906423a7486bd0a1
05093189e36d4de03

Original comment by jshih@google.com on 10 Jan 2012 at 11:18

GoogleCodeExporter commented 9 years ago
Hi Sandor:

This is the second change, creating an AccountChooserActivity.

http://code.google.com/r/jshih-mytracks1/source/detail?r=72858c5628e14bc061cca14
2128f54a85aee83d6

Original comment by jshih@google.com on 12 Jan 2012 at 8:56

GoogleCodeExporter commented 9 years ago
Hi Sandor:

Can you review the next changeset

http://code.google.com/r/jshih-mytracks2/source/detail?r=5f0afb81a4d6da0864700b6
cf06cef12952300c8

Thanks

Original comment by jshih@google.com on 13 Jan 2012 at 9:11

GoogleCodeExporter commented 9 years ago
Hi Sandor:

Can you review these 2 CLs

http://code.google.com/r/jshih-mytracks2/source/detail?r=5f0afb81a4d6da0864700b6
cf06cef12952300c8

http://code.google.com/r/jshih-mytracks1/source/detail?r=fd49d88ec65839d88c31c7c
18f8529d2d4226614

Thanks
Jimmy

Original comment by jshih@google.com on 19 Jan 2012 at 12:37

GoogleCodeExporter commented 9 years ago
Hi Sandor:

Here is the change for Send to Docs. Wondering if you can review.

http://code.google.com/r/jshih-mytracks2/source/detail?r=aa970ad1da92e88e07bfbeb
3891bfe0ea84db3ca

Thanks
Jimmy

Original comment by jshih@google.com on 24 Jan 2012 at 6:14

GoogleCodeExporter commented 9 years ago
HI Sandor:

I finished another CL. Wondering if you can review the following two CLS.

Thanks

http://code.google.com/r/jshih-mytracks2/source/detail?r=aa970ad1da92e88e07bfbeb
3891bfe0ea84db3ca

http://code.google.com/r/jshih-mytracks1/source/detail?r=68f1788b686ba83967b13dd
8594ae0b631ceff09

Original comment by jshih@google.com on 25 Jan 2012 at 2:26

GoogleCodeExporter commented 9 years ago
Hi Sandor:

Here is another CL to use an AsyncTask to send a track to Google Maps.

http://code.google.com/r/jshih-mytracks3/source/detail?r=4560c4d93a5b422daf7ddca
c94f7ece120fc9d05

Original comment by jshih@google.com on 26 Jan 2012 at 9:22

GoogleCodeExporter commented 9 years ago
Hi Sandor:

Wondering if you can review this CL to organize the file structure.
http://code.google.com/r/jshih-mytracks2/source/detail?r=e02a8c264d6d13dd9e94005
f07be13cc0ed7007e

Thanks

Original comment by jshih@google.com on 28 Jan 2012 at 12:52

GoogleCodeExporter commented 9 years ago
Hi Sandor:

Wondering if you can also review this.
http://code.google.com/r/jshih-mytracks2/source/detail?r=48251a587f0c4de0f76a00c
d31030608bedf1034

Original comment by jshih@google.com on 30 Jan 2012 at 12:49

GoogleCodeExporter commented 9 years ago
Hi Sandor:

Wondering if you can review,
http://code.google.com/r/jshih-mytracks1/source/detail?r=af2bc2c67bd2bc816516c25
dd8caf3e98c05f07b

This is the last CL for this bug.

Original comment by jshih@google.com on 30 Jan 2012 at 9:30

GoogleCodeExporter commented 9 years ago

Original comment by jshih@google.com on 1 Feb 2012 at 9:49