[TIMOB-1610] 'pause' event via Titanium.App never fired (android)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-26T09:13:03.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-11 |
Components | Android |
Labels | android, defect, pause, rplist |
Reporter | Andrew Heebner |
Assignee | Don Thorp |
Created | 2011-04-15T02:57:16.000+0000 |
Updated | 2012-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
- 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.
- Stephen Tramer 2011-04-15
Assigning to Don for triage.
- Alan Leard 2011-04-15
Another ticket reference: http://developer.appcelerator.com/helpdesk/view/76440">http://developer.appcelerator.com/helpdesk/view/76440
- 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.
- 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.