Re: [Interest] Select front/rear camera on Android

2014-01-08 Thread Cornelius Hald
Thank you Yoann, this seems to work pretty well. I'll have to do some more testing on other devices, but so far it works great on the two devices I've tested it on. Cheers, Conny On Tue, 2014-01-07 at 13:19 +, Lopes Yoann wrote: > On Jan 7, 2014, at 12:28 PM, Cornelius Hald wrote: > > > > T

Re: [Interest] Select front/rear camera on Android

2014-01-07 Thread Lopes Yoann
On Jan 7, 2014, at 12:28 PM, Cornelius Hald wrote: The only workaround is to create a custom QML item in C++... That's fine with me. However I'm not really sure how to do that as it looks like QDeclarativeCamera has only private headers. Could you give me a hint please. I meant to basically rewr

Re: [Interest] Select front/rear camera on Android

2014-01-07 Thread Cornelius Hald
Hi Yoann! On Mon, 2014-01-06 at 13:15 +, Lopes Yoann wrote: > On Dec 30, 2013, at 11:48 AM, Cornelius Hald wrote: > > > So there seems to be no way to select the camera when using > > QtQuick/QML. > > This is not Android specific, but a general issue. > > > Indeed the QML API for selecting

Re: [Interest] Select front/rear camera on Android

2014-01-06 Thread Lopes Yoann
On Dec 30, 2013, at 11:48 AM, Cornelius Hald wrote: So there seems to be no way to select the camera when using QtQuick/QML. This is not Android specific, but a general issue. Indeed the QML API for selecting the camera is currently missing. We plan to add this in 5.3. If anyone knows of a work

Re: [Interest] Select front/rear camera on Android

2013-12-30 Thread Cornelius Hald
So there seems to be no way to select the camera when using QtQuick/QML. This is not Android specific, but a general issue. Bug is here: https://bugreports.qt-project.org/browse/QTBUG-23770 If anyone knows of a workaround, please let me know. Cheers, Conny On Sat, 2013-12-28 at 13:06 +0100, Cor

[Interest] Select front/rear camera on Android

2013-12-28 Thread Cornelius Hald
Hi, I'm displaying live video using QML Camera and VideoOutput and all works fine, except I cannot find out how to select the camera that should be used. I'd always like to take the front camera, but if the devices have front and rear cameras it looks like the rear camera is used by default. Any