Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23262] Windows: Opening camera launches a view overlay instead of a full screen window where the user can take a photo

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-05-09T19:13:48.000+0000
Affected Version/sRelease 5.3.0
Fix Version/sRelease 5.4.0
ComponentsWindows
Labelsqe-5.4.0
ReporterRene Pot
AssigneeKota Iguchi
Created2016-04-21T20:41:16.000+0000
Updated2016-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

FileDateSize
camera.png2016-04-21T20:39:27.000+000014063

Comments

  1. Rene Pot 2016-04-28

    Any confirmation this one is picked up this sprint?
  2. Kota Iguchi 2016-04-28

    Yes, we started working on this in this sprint.
  3. Kota Iguchi 2016-05-02

    https://github.com/appcelerator/titanium_mobile_windows/pull/654
  4. Christopher Williams 2016-05-02

    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?
  5. Rene Pot 2016-05-02

    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.
  6. Christopher Williams 2016-05-09

    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.
  7. Harry Bryant 2016-06-30

    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

JSON Source