[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.
We need to catch pause and resume on Android as well as iPhone for StatusNet Mobile; assigning to our support contact.
Assigning to Don for triage.
Another ticket reference: http://developer.appcelerator.com/helpdesk/view/76440">http://developer.appcelerator.com/helpdesk/view/76440
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.
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.