[TIMOB-23262] Windows: Opening camera launches a view overlay instead of a full screen window where the user can take a photo
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-05-09T19:13:48.000+0000 |
Affected Version/s | Release 5.3.0 |
Fix Version/s | Release 5.4.0 |
Components | Windows |
Labels | qe-5.4.0 |
Reporter | Rene Pot |
Assignee | Kota Iguchi |
Created | 2016-04-21T20:41:16.000+0000 |
Updated | 2016-06-30T17:39:21.000+0000 |
Description
In the attachment you can see the "test" screen of the Windows Phone Simulator Camera. In both Android and iOS, when you open up the camera you get a full-screen windows instead of just a view like this.
The overlay view is the result of:
Titanium.Media.showCamera();
Attachments
File | Date | Size |
---|---|---|
camera.png | 2016-04-21T20:39:27.000+0000 | 14063 |
Any confirmation this one is picked up this sprint?
Yes, we started working on this in this sprint.
https://github.com/appcelerator/titanium_mobile_windows/pull/654
So I see that we can create an "overlay" view on top. What do the other platforms do here? I'd assume you'd want some way to control the area the camera takes up. An overlay is nice, but what if you want the overlay to take some of the screen and the camera preview to take the rest without being cropped by the overlay?
On both android and ios the camera function displays a fullscreen overlay with buttons to control the camera. On windows phone this same overlay is visible when going to the gallery from an app, and then clicking the camera icon on the bottom.
Merged to master. It'd be good to get some testing on a build once it's out, since we saw some varying behavior on different devices.
Verified as fixed, Opening the camera without specifying the overlay property now launches as a full screen window. Closing this ticket as it fixes the stated issue, however it should be of note that currently there are no native camera controls (which has been addressed for a later release, see TIMOB-23427 for more details). Tested on: Windows 10 Pro Windows Phone 10.0 (Microsoft Lumia 640 LTE) Appc Studio: 4.7.0.201606220541 Ti SDK: 5.4.0.v20160630074247 Appc NPM: 4.2.7-2 Appc Core: 5.4.0-23 Node: v4.4.4