[TIMOB-1559] Android: Workaround Android Bug 2373 & 5277
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:56:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | Android |
Labels | android, defect, feature |
Reporter | Don Thorp |
Assignee | Don Thorp |
Created | 2011-04-15T02:56:01.000+0000 |
Updated | 2019-01-11T03:28:17.000+0000 |
Description
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.
http://code.google.com/p/android/issues/detail?id=2373">Bug 2373 http://code.google.com/p/android/issues/detail?id=5277">Bug 5277
(from [852769b7e9b7b6bd0813ac81f6e2a1394e1078e1]) [#1559 state:fixed-in-qa]
http://github.com/appcelerator/titanium_mobile/commit/852769b7e9b7b6bd0813ac81f6e2a1394e1078e1"> http://github.com/appcelerator/titanium_mobile/commit/852769b7e9b7b...
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?
This ticket is the workaround for the android os defect.
G2 1.5.0.70e98
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.
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).
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?
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.
Have this issue in 2.0.1, except the issue is not limited to the installation success activity.
This is still happening on 3.1.1.GA
This is still happening on the most recent versions of titanium. Please reopen
This issue has been resolved in Titanium 8.0.0. Please see: [TIMOB-26075]