Using TCameraComponent crashes program

  

I’m trying to use TCameraComponent, but when I try to use CameraComponent1->Active = true; it crashes my program.

To use the camera, I added the following to AndroidManifest.xml, but it did not help.

<uses-permission android:name=”android.permission.CAMERA” />
<uses-feature
android:name=”android.hardware.camera”
android:required=”false” />
<uses-feature
android:name=”android.hardware.camera.autofocus”
android:required=”false” />

Do I need to add another permission?

Comments are closed.