Uploaded image for project: 'Documentation'
  1. Documentation
  2. TIDOC-671

Android: Document (article/wiki) Android application restart scenarios

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 2.1.0
    • Fix Version/s: None
    • Component/s: APIDoc, Guides
    • Labels:
      None
    • Environment:

      All Android, all Titanium versions.

    • Severity:
      Major
    • Story Points:
      3
    • Sprint:
      2014 Sprint 22 Documentation

      Description

      We need to document for the community what happens in the two Android "restart" scenarios:

      • When a backgrounded application is killed off completely by Android to gain back memory. We auto-restart in this scenario because Android tries to show the most recent top activity first whereas we need to go through the root activity startup.
      • When a backgrounded application is left inactive (for about 30 mins) and Android, upon reopening the app, kills off activities above the root activity (i.e., the root activity re-appears). we have ti.android.root.reappears.restart tiapp setting for this, but it is undocumented in the tiapp.xml reference. Document also that an alternative is to add event listener to "resume" and redo the application startup logic. see my comments in timob-9229 re that

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tstatler Tim Statler
                Reporter:
                billdawson Bill Dawson
                Reviewer:
                Benjamin Hatfield (Inactive)
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Source Code