Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-1559

Android: Workaround Android Bug 2373 & 5277

    Details

      Description

      {html}<div><p>When a user installs an application downloaded from the Market
      or via a website and opens it from the installation success
      Activity. Pressing Home, then trying to bring the Application back
      via the launcher in the drawer/home scree or from the recent task
      menu will cause a new instance of the root activity to appear on
      the task stack.</p>
      <p><a href=
      "http://code.google.com/p/android/issues/detail?id=2373">Bug
      2373</a> <a href=
      "http://code.google.com/p/android/issues/detail?id=5277">Bug
      5277</a></p></div>{html}

        Issue Links

          Activity

          Hide
          dthorp Don Thorp added a comment -
          {html}<div><p>(from <a href=
          "/projects/32238/changesets/852769b7e9b7b6bd0813ac81f6e2a1394e1078e1"
          title=
          "Changeset [852769b7e9b7b6bd0813ac81f6e2a1394e1078e1]">[852769b7e9b7b6bd0813ac81f6e2a1394e1078e1]</a>)
          [<a href="/projects/32238/tickets/1559" title=
          "Ticket #1559">#1559</a> state:fixed-in-qa]</p>
          <pre>
          <code>This work around allows the application to detect that it has been launched without th

          <property name="ti.android.bug2373.title">Restart Required</property>
          <property name="ti.android.bug2373.message">An application restart is required.</prope
          <property name="ti.android.bug2373.buttonText">Continue</property>
          <property name="ti.android.bug2373.backgroundColor">black</property></code>
          </pre>
          <p><a href=
          "http://github.com/appcelerator/titanium_mobile/commit/852769b7e9b7b6bd0813ac81f6e2a1394e1078e1">
          http://github.com/appcelerator/titanium_mobile/commit/852769b7e9b7b...</a></p></div>{html}
          Show
          dthorp Don Thorp added a comment - {html}<div><p>(from <a href= "/projects/32238/changesets/852769b7e9b7b6bd0813ac81f6e2a1394e1078e1" title= "Changeset [852769b7e9b7b6bd0813ac81f6e2a1394e1078e1] "> [852769b7e9b7b6bd0813ac81f6e2a1394e1078e1] </a>) [<a href="/projects/32238/tickets/1559" title= "Ticket #1559">#1559</a> state:fixed-in-qa]</p> <pre> <code>This work around allows the application to detect that it has been launched without th <property name="ti.android.bug2373.title">Restart Required</property> <property name="ti.android.bug2373.message">An application restart is required.</prope <property name="ti.android.bug2373.buttonText">Continue</property> <property name="ti.android.bug2373.backgroundColor">black</property></code> </pre> <p><a href= "http://github.com/appcelerator/titanium_mobile/commit/852769b7e9b7b6bd0813ac81f6e2a1394e1078e1"> http://github.com/appcelerator/titanium_mobile/commit/852769b7e9b7b ...</a></p></div>{html}
          Hide
          johnveldboom John Veldboom added a comment -
          {html}<div><p>I'm still having this issue using the latest Oct 7th 1.4.2
          build. I've also had other user comment that it's happened to him.
          Any ideas what is causing this or a work around to prevent
          this?</p></div>{html}
          Show
          johnveldboom John Veldboom added a comment - {html}<div><p>I'm still having this issue using the latest Oct 7th 1.4.2 build. I've also had other user comment that it's happened to him. Any ideas what is causing this or a work around to prevent this?</p></div>{html}
          Hide
          dthorp Don Thorp added a comment -
          {html}<div><p>This ticket is the workaround for the android os defect.</p></div>{html}
          Show
          dthorp Don Thorp added a comment - {html}<div><p>This ticket is the workaround for the android os defect.</p></div>{html}
          Hide
          thomashuelbert Thomas Huelbert added a comment -
          {html}<div><p>G2 1.5.0.70e98</p></div>{html}
          Show
          thomashuelbert Thomas Huelbert added a comment - {html}<div><p>G2 1.5.0.70e98</p></div>{html}
          Hide
          seancolombo Sean Colombo added a comment -
          {html}<div><p>MUCH better than crashing, but this dialog still seems to scare
          users & I keep getting reports about it being a "bug". Users
          seem to view this as roughly equivalent to the app crashing.</p>
          <p>This is a fairly uncomfortable situation since it happens
          without-fail the first time the user runs the app after installing
          it (and as far as I can tell, any time you click "open" from the
          app page in the Marketplace app).</p>
          <p>Is there any harm in just making this into a toast notification
          saying that the app needs to do some initialization or something,
          and restarting automatically?</p></div>{html}
          Show
          seancolombo Sean Colombo added a comment - {html}<div><p>MUCH better than crashing, but this dialog still seems to scare users & I keep getting reports about it being a "bug". Users seem to view this as roughly equivalent to the app crashing.</p> <p>This is a fairly uncomfortable situation since it happens without-fail the first time the user runs the app after installing it (and as far as I can tell, any time you click "open" from the app page in the Marketplace app).</p> <p>Is there any harm in just making this into a toast notification saying that the app needs to do some initialization or something, and restarting automatically?</p></div>{html}
          Hide
          mvizcaino Miguel Vizcaino added a comment -

          I want to ask if this message "An application restart is required" is really necessary?.

          Users thinks that this bug is very common but in reality it is not.

          We need more information about this problem to explain them that this

          isn't a crash system.

          Show
          mvizcaino Miguel Vizcaino added a comment - I want to ask if this message "An application restart is required" is really necessary?. Users thinks that this bug is very common but in reality it is not. We need more information about this problem to explain them that this isn't a crash system.
          Hide
          zane Zane Wright added a comment -

          Have this issue in 2.0.1, except the issue is not limited to the installation success activity.

          Show
          zane Zane Wright added a comment - Have this issue in 2.0.1, except the issue is not limited to the installation success activity.
          Hide
          ygbr Ygor Lemos added a comment -

          This is still happening on 3.1.1.GA

          Show
          ygbr Ygor Lemos added a comment - This is still happening on 3.1.1.GA
          Hide
          fresheneesz Billy Tetrud added a comment -

          This is still happening on the most recent versions of titanium. Please reopen

          Show
          fresheneesz Billy Tetrud added a comment - This is still happening on the most recent versions of titanium. Please reopen

            People

            • Assignee:
              dthorp Don Thorp
              Reporter:
              dthorp Don Thorp
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Poker Sessions

                  This issue is currently not assigned to any Poker Session.

                    Git Source Code