[Android-development] QCamera don't capture video in android

Petar Koretić petar.koretic at gmail.com
Thu Oct 23 13:05:31 CEST 2014


Hi.

Until somebody more competent replies,  can you check if you have
permissions for using camera?

Depending on your use case you may want these:

<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

Regards,
Petar

On Thu, Oct 23, 2014 at 12:56 PM, kl222 <kl222 at 126.com> wrote:

>
>
> *Description*
>
> QCamera don't capture video in android. Run the attached example.
>
> But it can work in windows and linux.
>
> Is it bug or code is wrong? If code is wrong, tall me how to write.
>
> ·         *Environment:*
>
> operating system:android
> qt version:
> qt 5.3.1
> qt 5.3.2
> qt 5.4.0-beta1
>
>
>
>
>
> _______________________________________________
> Android-development mailing list
> Android-development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/android-development
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20141023/55b875e0/attachment.html>


More information about the Android-development mailing list