[TIMOB-7188] Android: Media module methods takeScreenshot and previewImage not implemented in 1.8.0.1
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-23T16:47:13.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Sprint 2012-02, Release 2.0.0, Release 1.8.1 |
Components | Android |
Labels | module_media, qe-testadded, regression |
Reporter | Opie Cyrus |
Assignee | Bill Dawson |
Created | 2012-01-14T15:34:33.000+0000 |
Updated | 2012-02-01T12:18:54.000+0000 |
Description
Ti.Media.takeScreenshot and Ti.Media.previewImage are commented out inside MediaModule.java since 1.8.0.1. We need investigate why (if any reason) and re-enable these. Documentation should be updated with the addition of these methods.
Test app
This test app exercises bothtakeScreenshot
andpreviewImage
. Create a new Titanium app and replace its app.js contents with the following. When you click the button it will take a screenshot then callpreviewImage
to show the saved screenshot image.Pull request ready: https://github.com/appcelerator/titanium_mobile/pull/1208
Verified fixed with SDK 1.9.0.v20120119134634 on Nexus S (2.3.6) and emulator 2.3.1
updated labels