[TIMOB-2874] Android: Expose fireSyncEvent method
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-26T15:07:48.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-13 |
Components | Android |
Labels | android, enterprise, feature, release-1.7.0, rplist |
Reporter | Ralf Pfeiffer |
Assignee | Marshall Culpepper |
Created | 2011-04-15T03:31:44.000+0000 |
Updated | 2011-04-26T15:07:48.000+0000 |
Description
Greetings, in our application we have found the need to use the Ti.App.fireEvent method. However, we have also found some use cases where we want the method to fire the event synchronously. For instance, currently as a work around to the android menu implementation we have to open up a new window, specify a url, and in this file fire an event to return the menu. Since it's async, the menu doesn't display the first time. The fireSyncEvent method for droid is already exposed so it just needs the kroll annotations, I will submit a pull request in github shortly. Would be great if we could get this pulled into 1.6. Thanks!
Here's the pull request from github, sorry haven't had a chance to look at the iPhone implementation yet: https://github.com/appcelerator/titanium_mobile/pull/61">https://github.com/appcelerator/titanium_mobile/pull/61
Kicking to Don.
(from [fcabb4247de2419f309baa56472b7d60c3a6492a]) expose fireSyncEvent in Android, added a test [#2874 state:fixed-in-qa] https://github.com/appcelerator/titanium_mobile/commit/fcabb4247de2419f309baa56472b7d60c3a6492a"> https://github.com/appcelerator/titanium_mobile/commit/fcabb4247de2...