Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1610] 'pause' event via Titanium.App never fired (android)

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionInvalid
Resolution Date2011-04-26T09:13:03.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-11
ComponentsAndroid
Labelsandroid, defect, pause, rplist
ReporterAndrew Heebner
AssigneeDon Thorp
Created2011-04-15T02:57:16.000+0000
Updated2012-11-19T13:54:13.000+0000

Description

The 'pause' and 'resume' event in 1.4.0 is never fired, thusly creating an impasse when attempting to check for incoming/outgoing calls.

Comments

  1. Brion Vibber 2011-04-15

    We need to catch pause and resume on Android as well as iPhone for StatusNet Mobile; assigning to our support contact.

  2. Stephen Tramer 2011-04-15

    Assigning to Don for triage.

  3. Alan Leard 2011-04-15

    Another ticket reference: http://developer.appcelerator.com/helpdesk/view/76440">http://developer.appcelerator.com/helpdesk/view/76440

  4. Don Thorp 2011-04-15

    There is no application pause and resume on Android. Only individual Activities. If you want to simulate global behavior, you can try adding resume and pause methods to currentActivity and a global property counter to see when all of your activities may be in a paused state.

  5. Martin Guillon 2012-11-19

    Why not call App pause when the home button is pressed, and resume when the app comes back to the foreground? That would be exactly the same as on ios.

JSON Source