[TIMOB-4749] Android: Add support for Camera autohide property
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-05-28T16:08:19.000+0000 |
Affected Version/s | Release 1.7.1, Release 3.1.0 |
Fix Version/s | 2013 Sprint 15, Release 3.2.0 |
Components | Android |
Labels | android, camera, media, module_media, parity, qe-testadded, tbs-1.9.0 |
Reporter | Opie Cyrus |
Assignee | Bill Dawson |
Created | 2011-07-22T11:04:02.000+0000 |
Updated | 2014-05-28T16:08:19.000+0000 |
Description
Attachments
File | Date | Size |
---|---|---|
app.js | 2013-07-09T22:34:55.000+0000 | 2722 |
Is there any reason why this feature is taking so long? I am building an app that uses a custom overlay but there is no way right now to keep the camera open after takePicture. We are creating picture series to upload them all in the same collection. Any advice? Thanks
We need this functionality too, we are building an app which sends images continously to a remote server and automatically closing the cameraview is a real showkiller for us on android.
Test app.
Testing Notes
* Note that docs were changed too, so don't forget to test. * Use attached app.js file. The UI contains a switch to toggle the autohide property. As you take photos, they'll appear (stretched and ugly, but still proving that you're getting the data) in a scrollview one after the other. If you turn off autohide, you can take a bunch of pictures and they'll line up. * When you click the Close button while using the camera with autohide off, that calls the new Ti.Media.hideCamera. So if the camera preview goes away, then you've successfully tested that too. That's the test for TIMOB-14180.PR: https://github.com/appcelerator/titanium_mobile/pull/4446
An extended test case:
Verified working as expected. TiSDK 3.2.0.v20131016114850 CLI 3.2.0 Titanium Studio 3.2.0.201310152326 Closing.